Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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.00145/0.00145, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001542/0.001542, allocations: 209.2 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.567/1.567, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.191/0.191, allocations: 38.56 MB / 352.5 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.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(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") [Timeout 660] "Notification: PowerSystems 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.002221/0.002221, allocations: 79.88 kB / 493 MB, free: 4.199 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3795, allocations: 62.46 MB / 0.5424 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.008154/0.3877, allocations: 4.31 MB / 0.5466 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003037/0.3907, allocations: 1.473 MB / 0.5481 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000247/0.391, allocations: 19.62 kB / 0.5481 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.392, allocations: 286.8 kB / 0.5484 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007676/0.3928, allocations: 288.9 kB / 0.5486 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007824/0.3935, allocations: 251 kB / 0.5489 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007537/0.3943, allocations: 0.6101 MB / 0.5495 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000415/0.3947, allocations: 193.3 kB / 0.5497 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00061/0.3953, allocations: 289.6 kB / 0.5499 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006604/0.396, allocations: 379.7 kB / 0.5503 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.811e-05/0.3961, allocations: 38.97 kB / 0.5503 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006061/0.3967, allocations: 228.7 kB / 0.5506 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003182/0.397, allocations: 240.7 kB / 0.5508 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003096/0.3973, allocations: 206.7 kB / 0.551 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.3984, allocations: 0.692 MB / 0.5517 GB, free: 9.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3984, allocations: 4 kB / 0.5517 GB, free: 9.691 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.3984, allocations: 1.188 kB / 0.5517 GB, free: 9.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.3984, allocations: 0 / 0.5517 GB, free: 9.691 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001685/0.4001, allocations: 0.6975 MB / 0.5523 GB, free: 9.133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.4001, allocations: 13.98 kB / 0.5524 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000907/0.401, allocations: 129.1 kB / 0.5525 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008404/0.4019, allocations: 368 kB / 0.5528 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.4019, allocations: 32.72 kB / 0.5529 GB, free: 8.758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.4021, allocations: 48.97 kB / 0.5529 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.4033, allocations: 0.6884 MB / 0.5536 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.4033, allocations: 1.188 kB / 0.5536 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.573e-05/0.4033, allocations: 19.58 kB / 0.5536 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002296/0.4036, allocations: 68.31 kB / 0.5537 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.4047, allocations: 0.6686 MB / 0.5543 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003981/0.4087, allocations: 2.395 MB / 0.5567 GB, free: 5.426 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005113/0.4092, allocations: 297.3 kB / 0.5569 GB, free: 5.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/0.4095, allocations: 197.6 kB / 0.5571 GB, free: 4.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.761e-05/0.4096, allocations: 4 kB / 0.5571 GB, free: 4.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.4096, allocations: 38.55 kB / 0.5572 GB, free: 4.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=39): time 2.344e-06/0.4096, allocations: 0 / 0.5572 GB, free: 4.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002187/0.4118, allocations: 1.229 MB / 0.5584 GB, free: 3.605 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.4119, allocations: 81.11 kB / 0.5584 GB, free: 3.508 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003112/0.4122, allocations: 280.1 kB / 0.5587 GB, free: 3.227 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.4122, allocations: 29.83 kB / 0.5587 GB, free: 3.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.4124, allocations: 272.1 kB / 0.559 GB, free: 2.922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.4125, allocations: 138.8 kB / 0.5591 GB, free: 2.785 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.4127, allocations: 90.06 kB / 0.5592 GB, free: 2.691 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.4129, allocations: 338.8 kB / 0.5595 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003055/0.4132, allocations: 192.8 kB / 0.5597 GB, free: 2.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004461/0.4136, allocations: 334.9 kB / 0.56 GB, free: 1.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007871/0.4144, allocations: 0.5468 MB / 0.5606 GB, free: 1.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.4144, allocations: 7.938 kB / 0.5606 GB, free: 1.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001321/0.4157, allocations: 0.6822 MB / 0.5613 GB, free: 480 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.4157, allocations: 8 kB / 0.5613 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009113/0.4167, allocations: 479.5 kB / 0.5617 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004792/0.4171, allocations: 117.6 kB / 0.5618 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.4175, allocations: 79.83 kB / 0.5619 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003168/0.4206, allocations: 3.013 MB / 0.5649 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002802/0.4209, allocations: 31.95 kB / 0.5649 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.445e-05/0.421, allocations: 16 kB / 0.5649 GB, free: 12.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003082/0.4213, allocations: 209.7 kB / 0.5651 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.4214, allocations: 47.62 kB / 0.5651 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000766/0.4221, allocations: 464.6 kB / 0.5656 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.4222, allocations: 12 kB / 0.5656 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.4222, allocations: 0 / 0.5656 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4222, allocations: 0 / 0.5656 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.4237, allocations: 0.8902 MB / 0.5665 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4237, allocations: 0 / 0.5665 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003364/0.424, allocations: 75.95 kB / 0.5665 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.424, allocations: 0 / 0.5665 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.941e-05/0.424, allocations: 8 kB / 0.5665 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.424, allocations: 7.984 kB / 0.5666 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.424, allocations: 0 / 0.5666 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.4251, allocations: 0.744 MB / 0.5673 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.4252, allocations: 59.78 kB / 0.5673 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.501e-05/0.4253, allocations: 8 kB / 0.5673 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.4255, allocations: 19.97 kB / 0.5674 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.4255, allocations: 23.91 kB / 0.5674 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.4255, allocations: 16 kB / 0.5674 GB, free: 9.867 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002038/0.4257, allocations: 195.1 kB / 0.5676 GB, free: 9.676 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4257, allocations: 0 / 0.5676 GB, free: 9.676 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005582/0.4263, allocations: 111.9 kB / 0.5677 GB, free: 9.566 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002612/0.4266, allocations: 139.2 kB / 0.5678 GB, free: 9.418 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.4277, allocations: 0.6783 MB / 0.5685 GB, free: 8.715 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.4277, allocations: 4 kB / 0.5685 GB, free: 8.711 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003127/0.428, allocations: 199.8 kB / 0.5687 GB, free: 8.516 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005335/0.4286, allocations: 68.03 kB / 0.5687 GB, free: 8.453 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.4306, allocations: 1.127 MB / 0.5698 GB, free: 7.289 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.4309, allocations: 273.8 kB / 0.5701 GB, free: 7.004 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002858/0.4312, allocations: 103.2 kB / 0.5702 GB, free: 6.898 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.963e-05/0.4313, allocations: 31.44 kB / 0.5702 GB, free: 6.867 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4313, allocations: 0 / 0.5702 GB, free: 6.867 MB / 414.1 MB Notification: Performance of Templates: time 0.01095/0.4422, allocations: 4.766 MB / 0.5749 GB, free: 2.156 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.414163984358311] Failed to read output from testmodel.py, exit status != 0: 0.45199164003133774 0.46777906700000005 0.066069373 Calling exit ...