Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0005779/0.0005779, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008574/0.001435, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006846/0.0006846, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000923/0.001608, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9638/0.9638, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09964/1.063, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo): time 0.02934/0.02934, allocations: 7.105 MB / 251.1 MB, free: 7.879 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005023/0.03436, allocations: 2.842 MB / 253.9 MB, free: 5.031 MB / 250.7 MB " [Timeout remaining time 180] Using package ChaoticCircuits with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ChaoticCircuits.RLD_Circuit.PhysicalModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel") translateModel(ChaoticCircuits.RLD_Circuit.PhysicalModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 255.2 MB, free: 3.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.378e-05/1.496e-05, allocations: 2.312 kB / 255.2 MB, free: 3.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.RLD_Circuit.PhysicalModel): time 0.002543/0.002558, allocations: 2.675 MB / 257.9 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000913/0.003471, allocations: 0.7554 MB / 258.6 MB, free: 316 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.603e-05/0.003557, allocations: 0 / 258.6 MB, free: 316 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.003708, allocations: 75.34 kB / 258.7 MB, free: 240 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.003831, allocations: 87.2 kB / 258.8 MB, free: 152 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.003984, allocations: 83.77 kB / 258.9 MB, free: 68 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.004278, allocations: 314.6 kB / 259.2 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.004397, allocations: 66.97 kB / 259.2 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002886/0.004686, allocations: 216 kB / 259.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.004805, allocations: 103.7 kB / 259.5 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.004834, allocations: 24 kB / 259.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.176e-05/0.004916, allocations: 28 kB / 259.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.456e-05/0.004951, allocations: 43.81 kB / 259.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.552e-05/0.005016, allocations: 75.88 kB / 259.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.005238, allocations: 191.2 kB / 259.9 MB, free: 15.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.328e-05/0.005252, allocations: 0 / 259.9 MB, free: 15.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.005253, allocations: 0 / 259.9 MB, free: 15.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.005264, allocations: 0 / 259.9 MB, free: 15.03 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0005814/0.005846, allocations: 0.5151 MB / 260.4 MB, free: 14.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.005874, allocations: 16.58 kB / 260.4 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.006019, allocations: 126 kB / 260.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.006193, allocations: 169.4 kB / 260.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.006206, allocations: 16.88 kB / 260.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.006234, allocations: 28.27 kB / 260.8 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.006421, allocations: 178.8 kB / 260.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.006431, allocations: 3.984 kB / 260.9 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.006445, allocations: 12 kB / 260.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.00645, allocations: 4 kB / 261 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.87e-05/0.006529, allocations: 59.47 kB / 261 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006243/0.007153, allocations: 0.4888 MB / 261.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.00729, allocations: 82.53 kB / 261.6 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.639e-05/0.007367, allocations: 64.75 kB / 261.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.007381, allocations: 4 kB / 261.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.007404, allocations: 34.56 kB / 261.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.007405, allocations: 0 / 261.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.001669/0.009074, allocations: 0.6868 MB / 262.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.009097, allocations: 55.39 kB / 262.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.009213, allocations: 215.4 kB / 262.6 MB, free: 12.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.009228, allocations: 33.7 kB / 262.7 MB, free: 12.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.608e-05/0.009284, allocations: 140.9 kB / 262.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.009322, allocations: 67.41 kB / 262.9 MB, free: 11.85 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.126e-05/0.009373, allocations: 41.69 kB / 262.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.178e-05/0.009455, allocations: 342.7 kB / 263.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.522e-05/0.00949, allocations: 19.98 kB / 263.3 MB, free: 11.44 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.406e-05/0.009534, allocations: 37.69 kB / 263.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.532e-05/0.00962, allocations: 72.67 kB / 263.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.009621, allocations: 3.984 kB / 263.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005055/0.01013, allocations: 226.1 kB / 263.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.01014, allocations: 4 kB / 263.6 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.01015, allocations: 0 / 263.6 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006086/0.01075, allocations: 192.6 kB / 263.8 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.01088, allocations: 43.97 kB / 263.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.01213, allocations: 1.572 MB / 265.4 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.0122, allocations: 15.98 kB / 265.4 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.01221, allocations: 3.938 kB / 265.4 MB, free: 9.16 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.446e-05/0.01229, allocations: 121.8 kB / 265.5 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.01232, allocations: 23.97 kB / 265.6 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004975/0.01282, allocations: 232 kB / 265.8 MB, free: 8.777 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01282, allocations: 3.984 kB / 265.8 MB, free: 8.773 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.01282, allocations: 4 kB / 265.8 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01283, allocations: 0 / 265.8 MB, free: 8.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000675/0.0135, allocations: 456.1 kB / 266.2 MB, free: 8.293 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.0135, allocations: 4 kB / 266.2 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.765e-05/0.0136, allocations: 31.92 kB / 266.3 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.998e-05/0.01362, allocations: 19.89 kB / 266.3 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005211/0.01414, allocations: 172.8 kB / 266.5 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.01415, allocations: 11.98 kB / 266.5 MB, free: 8.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.01518, allocations: 1.513 MB / 268 MB, free: 6.457 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.01518, allocations: 0 / 268 MB, free: 6.457 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005405/0.01573, allocations: 357.4 kB / 268.3 MB, free: 6.086 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.01574, allocations: 4 kB / 268.3 MB, free: 6.082 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.566e-05/0.01583, allocations: 8 kB / 268.4 MB, free: 6.074 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.01587, allocations: 31.92 kB / 268.4 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.01588, allocations: 192 / 268.4 MB, free: 6.043 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.162e-05/0.01593, allocations: 71.41 kB / 268.5 MB, free: 5.973 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01593, allocations: 0 / 268.5 MB, free: 5.973 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002264/0.01616, allocations: 68 kB / 268.5 MB, free: 5.906 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inductor.i,capacitor.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.358e-05/0.01624, allocations: 84.41 kB / 268.6 MB, free: 5.812 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002525/0.01649, allocations: 220.8 kB / 268.8 MB, free: 5.586 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/0.0165, allocations: 8.062 kB / 268.8 MB, free: 5.578 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.01663, allocations: 193.8 kB / 269 MB, free: 5.375 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.01683, allocations: 63.45 kB / 269.1 MB, free: 5.316 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.01877, allocations: 0.5331 MB / 269.6 MB, free: 4.754 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.266e-05/0.01882, allocations: 84.55 kB / 269.7 MB, free: 4.652 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.864e-05/0.01889, allocations: 25.94 kB / 269.7 MB, free: 4.625 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.019, allocations: 91.34 kB / 269.8 MB, free: 4.535 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.019, allocations: 0 / 269.8 MB, free: 4.535 MB / 266.7 MB Notification: Performance of Templates: time 0.1045/0.1235, allocations: 6.003 MB / 275.8 MB, free: 15.12 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.makefile [Timeout 660] (rm -f ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.sim & ./ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > ChaoticCircuits_ChaoticCircuits.RLD_Circuit.PhysicalModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2171223554760218]