Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.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.001791/0.001791, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002086/0.002086, allocations: 210.4 kB / 23.73 MB, free: 4.41 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.561/1.561, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.1958/0.1958, allocations: 38.55 MB / 352.5 MB, free: 12.28 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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") [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.002094/0.002094, allocations: 75.89 kB / 493 MB, free: 4.172 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3972, allocations: 62.47 MB / 0.5424 GB, free: 408 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.008792/0.406, allocations: 5.007 MB / 0.5473 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00384/0.4098, allocations: 1.669 MB / 0.5489 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002856/0.4101, allocations: 22.78 kB / 0.549 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001359/0.4115, allocations: 432.6 kB / 0.5494 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006905/0.4122, allocations: 310.5 kB / 0.5497 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.4132, allocations: 366.5 kB / 0.55 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009362/0.4141, allocations: 0.7717 MB / 0.5508 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005344/0.4147, allocations: 304.8 kB / 0.5511 GB, free: 9.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005508/0.4152, allocations: 359.7 kB / 0.5514 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007285/0.416, allocations: 478 kB / 0.5519 GB, free: 9.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.985e-05/0.4161, allocations: 50.34 kB / 0.5519 GB, free: 9.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004208/0.4165, allocations: 179 kB / 0.5521 GB, free: 9.273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003138/0.4168, allocations: 298.3 kB / 0.5524 GB, free: 9.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003551/0.4171, allocations: 279.5 kB / 0.5526 GB, free: 8.918 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009684/0.4181, allocations: 0.8333 MB / 0.5535 GB, free: 8.387 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4181, allocations: 0 / 0.5535 GB, free: 8.387 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4181, allocations: 1.219 kB / 0.5535 GB, free: 8.387 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.4181, allocations: 0 / 0.5535 GB, free: 8.387 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001833/0.42, allocations: 0.8522 MB / 0.5543 GB, free: 7.727 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.42, allocations: 21.86 kB / 0.5543 GB, free: 7.715 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.4212, allocations: 170.2 kB / 0.5545 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.4224, allocations: 480.5 kB / 0.5549 GB, free: 7.289 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/0.4224, allocations: 38.72 kB / 0.555 GB, free: 7.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003979/0.4228, allocations: 135.8 kB / 0.5551 GB, free: 7.133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.4242, allocations: 0.8606 MB / 0.5559 GB, free: 6.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.4242, allocations: 4 kB / 0.5559 GB, free: 6.203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.869e-05/0.4243, allocations: 23.98 kB / 0.556 GB, free: 6.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000453/0.4248, allocations: 72.94 kB / 0.556 GB, free: 6.109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.426, allocations: 0.6165 MB / 0.5566 GB, free: 5.492 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005741/0.4317, allocations: 3.502 MB / 0.5601 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.4329, allocations: 0.5226 MB / 0.5606 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000478/0.4334, allocations: 307 kB / 0.5609 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.273e-05/0.4334, allocations: 16.38 kB / 0.5609 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.4335, allocations: 35 kB / 0.5609 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.595e-06/0.4335, allocations: 0 / 0.5609 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.003659/0.4371, allocations: 1.774 MB / 0.5626 GB, free: 15.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/0.4372, allocations: 85.55 kB / 0.5627 GB, free: 15.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00048/0.4377, allocations: 429.6 kB / 0.5631 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.501e-05/0.4377, allocations: 29.7 kB / 0.5632 GB, free: 14.58 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/0.438, allocations: 336.7 kB / 0.5635 GB, free: 14.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.4382, allocations: 214.3 kB / 0.5637 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002481/0.4385, allocations: 142.3 kB / 0.5638 GB, free: 13.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.4387, allocations: 366.8 kB / 0.5642 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006083/0.4393, allocations: 381.5 kB / 0.5645 GB, free: 13.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008825/0.4402, allocations: 0.5979 MB / 0.5651 GB, free: 12.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.4417, allocations: 1.066 MB / 0.5662 GB, free: 11.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.4417, allocations: 8 kB / 0.5662 GB, free: 11.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004779/0.4465, allocations: 1.966 MB / 0.5681 GB, free: 9.297 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.4465, allocations: 10.97 kB / 0.5681 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.4465, allocations: 11.98 kB / 0.5681 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002536/0.4491, allocations: 0.9529 MB / 0.569 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004627/0.4495, allocations: 123.8 kB / 0.5692 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01261/0.4621, allocations: 7.851 MB / 0.5768 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007463/0.4629, allocations: 35.97 kB / 0.5769 GB, free: 108 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.96e-05/0.463, allocations: 35.98 kB / 0.5769 GB, free: 72 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * Array equations: 0 * 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,6,100.0%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005016/0.4635, allocations: 253.6 kB / 0.5771 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.4636, allocations: 51.67 kB / 0.5772 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.4651, allocations: 0.7216 MB / 0.5779 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.4651, allocations: 4 kB / 0.5779 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4651, allocations: 4 kB / 0.5779 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.4651, allocations: 3.984 kB / 0.5779 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002926/0.468, allocations: 1.356 MB / 0.5792 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.468, allocations: 4 kB / 0.5792 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.4691, allocations: 183.8 kB / 0.5794 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.4691, allocations: 8.094 kB / 0.5794 GB, free: 13.42 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.756e-05/0.4692, allocations: 23.98 kB / 0.5794 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.4692, allocations: 4 kB / 0.5794 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.4692, allocations: 4 kB / 0.5794 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.4708, allocations: 1 MB / 0.5804 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.4709, allocations: 47.67 kB / 0.5805 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.471, allocations: 31.92 kB / 0.5805 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003472/0.4714, allocations: 28.16 kB / 0.5805 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.411e-05/0.4715, allocations: 36.31 kB / 0.5806 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.833e-05/0.4715, allocations: 24.05 kB / 0.5806 GB, free: 12.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000343/0.4719, allocations: 275.1 kB / 0.5808 GB, free: 11.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4719, allocations: 0 / 0.5808 GB, free: 11.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001065/0.4729, allocations: 212 kB / 0.581 GB, free: 11.73 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * 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.0002061/0.4732, allocations: 123.1 kB / 0.5812 GB, free: 11.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003043/0.4762, allocations: 1.422 MB / 0.5825 GB, free: 10.15 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.4762, allocations: 0 / 0.5825 GB, free: 10.15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005172/0.4767, allocations: 299.1 kB / 0.5828 GB, free: 9.859 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000778/0.4775, allocations: 121.2 kB / 0.583 GB, free: 9.746 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005359/0.4829, allocations: 2.731 MB / 0.5856 GB, free: 6.973 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005432/0.4834, allocations: 386.5 kB / 0.586 GB, free: 6.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006304/0.484, allocations: 200.6 kB / 0.5862 GB, free: 6.375 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.4842, allocations: 43.44 kB / 0.5862 GB, free: 6.332 MB / 430.1 MB Notification: Performance of SimCode: time 1.362e-06/0.4842, allocations: 7.938 kB / 0.5862 GB, free: 6.324 MB / 430.1 MB Notification: Performance of Templates: time 0.02195/0.5062, allocations: 11.93 MB / 0.5979 GB, free: 10.5 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.914188714697957] Failed to read output from testmodel.py, exit status != 0: 0.5154705736786127 0.530260359 0.10884531500000001 Calling exit ...