Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.0006811/0.0006811, allocations: 96.36 kB / 19.7 MB, free: 452 kB / 13.93 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.0006959/0.0006959, allocations: 216.7 kB / 23 MB, free: 2.977 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.8398/0.8398, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7191/0.7191, allocations: 203.8 MB / 0.5049 GB, free: 10.42 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008362/0.0008362, allocations: 66.69 kB / 0.7194 GB, free: 3.562 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4304/0.4313, allocations: 102 MB / 0.819 GB, free: 1.344 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003101/0.4344, allocations: 3.227 MB / 0.8222 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002281/0.4366, allocations: 1.994 MB / 0.8241 GB, free: 14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.4368, allocations: 7.906 kB / 0.8241 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000609/0.4374, allocations: 289.8 kB / 0.8244 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004143/0.4378, allocations: 244.7 kB / 0.8246 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005242/0.4383, allocations: 291 kB / 0.8249 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003789/0.4387, allocations: 415.3 kB / 0.8253 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002858/0.439, allocations: 169.2 kB / 0.8255 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.4392, allocations: 173 kB / 0.8256 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.4395, allocations: 201.9 kB / 0.8258 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.4395, allocations: 24.12 kB / 0.8258 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000334/0.4399, allocations: 239.6 kB / 0.8261 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.44, allocations: 129.4 kB / 0.8262 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.4401, allocations: 123.6 kB / 0.8263 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005158/0.4406, allocations: 498.3 kB / 0.8268 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4406, allocations: 0 / 0.8268 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4406, allocations: 0 / 0.8268 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.4406, allocations: 0 / 0.8268 GB, free: 12.82 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008115/0.4414, allocations: 0.5306 MB / 0.8273 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.4415, allocations: 9.719 kB / 0.8273 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000595/0.4421, allocations: 120.8 kB / 0.8274 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002959/0.4424, allocations: 221.3 kB / 0.8276 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.4424, allocations: 23.3 kB / 0.8277 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.624e-05/0.4425, allocations: 39.28 kB / 0.8277 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005502/0.443, allocations: 0.5208 MB / 0.8282 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.443, allocations: 5.25 kB / 0.8282 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.4431, allocations: 11.67 kB / 0.8282 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.853e-05/0.4431, allocations: 40.53 kB / 0.8283 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004492/0.4436, allocations: 363 kB / 0.8286 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.4452, allocations: 1.589 MB / 0.8302 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.4455, allocations: 239.7 kB / 0.8304 GB, free: 10.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.4457, allocations: 146.1 kB / 0.8305 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.4457, allocations: 2.594 kB / 0.8305 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.4457, allocations: 41.2 kB / 0.8306 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 2.404e-06/0.4457, allocations: 0 / 0.8306 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001392/0.4471, allocations: 0.9073 MB / 0.8315 GB, free: 9.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.4472, allocations: 58.61 kB / 0.8315 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.4474, allocations: 240.1 kB / 0.8317 GB, free: 9.695 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.4474, allocations: 30.83 kB / 0.8318 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.974e-05/0.4475, allocations: 200.2 kB / 0.832 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.561e-05/0.4476, allocations: 93.92 kB / 0.8321 GB, free: 9.414 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.579e-05/0.4477, allocations: 73.33 kB / 0.8321 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.284e-05/0.4478, allocations: 336.9 kB / 0.8324 GB, free: 9.051 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.448, allocations: 156.1 kB / 0.8326 GB, free: 9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.4482, allocations: 242 kB / 0.8328 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003968/0.4486, allocations: 416.1 kB / 0.8332 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4486, allocations: 1.281 kB / 0.8332 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007644/0.4494, allocations: 0.5997 MB / 0.8338 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.4494, allocations: 6.688 kB / 0.8338 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.4494, allocations: 2.219 kB / 0.8338 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004112/0.4498, allocations: 187.8 kB / 0.834 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.45, allocations: 71.19 kB / 0.8341 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/0.4519, allocations: 2.345 MB / 0.8364 GB, free: 6.668 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.4521, allocations: 26.92 kB / 0.8364 GB, free: 6.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.4521, allocations: 12.28 kB / 0.8364 GB, free: 6.66 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.4523, allocations: 163.2 kB / 0.8365 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.4523, allocations: 26.17 kB / 0.8366 GB, free: 6.504 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003892/0.4527, allocations: 352.7 kB / 0.8369 GB, free: 6.348 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4527, allocations: 2.156 kB / 0.8369 GB, free: 6.348 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.4527, allocations: 4.719 kB / 0.8369 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4527, allocations: 2.469 kB / 0.8369 GB, free: 6.344 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007418/0.4534, allocations: 0.7114 MB / 0.8376 GB, free: 5.922 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4534, allocations: 3.938 kB / 0.8376 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.4537, allocations: 69.66 kB / 0.8377 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.4537, allocations: 2.375 kB / 0.8377 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.4537, allocations: 7.562 kB / 0.8377 GB, free: 5.914 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4537, allocations: 1.781 kB / 0.8377 GB, free: 5.914 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4537, allocations: 2.109 kB / 0.8377 GB, free: 5.914 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000521/0.4542, allocations: 0.6209 MB / 0.8383 GB, free: 5.578 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.58e-05/0.4543, allocations: 51.84 kB / 0.8383 GB, free: 5.555 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.4543, allocations: 4.562 kB / 0.8384 GB, free: 5.555 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.4544, allocations: 15.41 kB / 0.8384 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.4545, allocations: 17.66 kB / 0.8384 GB, free: 5.547 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.4545, allocations: 5.391 kB / 0.8384 GB, free: 5.547 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001481/0.4546, allocations: 176.6 kB / 0.8386 GB, free: 5.441 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4546, allocations: 0 / 0.8386 GB, free: 5.441 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003215/0.4549, allocations: 89.78 kB / 0.8386 GB, free: 5.43 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001332/0.4551, allocations: 115.6 kB / 0.8388 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006996/0.4558, allocations: 0.5102 MB / 0.8393 GB, free: 5.078 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4558, allocations: 4.125 kB / 0.8393 GB, free: 5.074 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.4559, allocations: 134.6 kB / 0.8394 GB, free: 5.035 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.4562, allocations: 62.62 kB / 0.8394 GB, free: 5.008 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.4573, allocations: 0.8844 MB / 0.8403 GB, free: 4.453 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.4575, allocations: 184.2 kB / 0.8405 GB, free: 4.359 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.719e-05/0.4575, allocations: 30.69 kB / 0.8405 GB, free: 4.348 MB / 0.6198 GB Notification: Performance of SimCode: time 8.82e-07/0.4575, allocations: 4 kB / 0.8405 GB, free: 4.344 MB / 0.6198 GB Notification: Performance of Templates: time 0.004876/0.4624, allocations: 4.607 MB / 0.845 GB, free: 2.102 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6846051113680005] Failed to read output from testmodel.py, exit status != 0: 0.4673116081394255 0.47588346699999995 0.033466836 Calling exit ...