Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 120.4 kB / 18.41 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 190.7 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 247.1 MB, free: 4.223 MB / 190.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.2882/0.2882, allocations: 38 MB / 337.2 MB, free: 12.93 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 65.89 kB / 467.5 MB, free: 27.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09958/0.1016, allocations: 58.07 MB / 0.5133 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.00482/0.1064, allocations: 3.438 MB / 0.5166 GB, free: 6.301 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.1085, allocations: 1.442 MB / 0.518 GB, free: 4.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.1087, allocations: 7.938 kB / 0.518 GB, free: 4.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007975/0.1095, allocations: 258.9 kB / 0.5183 GB, free: 4.586 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005665/0.1101, allocations: 275 kB / 0.5185 GB, free: 4.316 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.1103, allocations: 111.7 kB / 0.5187 GB, free: 4.207 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004175/0.1108, allocations: 346.9 kB / 0.519 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002747/0.1111, allocations: 133.9 kB / 0.5191 GB, free: 3.738 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.1113, allocations: 143.4 kB / 0.5192 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.1115, allocations: 147.5 kB / 0.5194 GB, free: 3.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.1116, allocations: 20 kB / 0.5194 GB, free: 3.434 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004829/0.112, allocations: 307.2 kB / 0.5197 GB, free: 3.133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.1122, allocations: 99.69 kB / 0.5198 GB, free: 3.035 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.1123, allocations: 107.5 kB / 0.5199 GB, free: 2.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004793/0.1128, allocations: 342.8 kB / 0.5202 GB, free: 2.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.1128, allocations: 3.984 kB / 0.5202 GB, free: 2.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1128, allocations: 7.875 kB / 0.5202 GB, free: 2.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.1128, allocations: 4 kB / 0.5202 GB, free: 2.578 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006818/0.1135, allocations: 0.506 MB / 0.5207 GB, free: 2.023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1136, allocations: 15.89 kB / 0.5207 GB, free: 2.008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008959/0.1145, allocations: 88.7 kB / 0.5208 GB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.1148, allocations: 264.6 kB / 0.5211 GB, free: 1.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.1148, allocations: 12.38 kB / 0.5211 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/0.1149, allocations: 20.12 kB / 0.5211 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005015/0.1154, allocations: 318.3 kB / 0.5214 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.1154, allocations: 0 / 0.5214 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.1155, allocations: 8 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.543e-05/0.1155, allocations: 19.98 kB / 0.5214 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004494/0.116, allocations: 291.6 kB / 0.5217 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.1177, allocations: 1.293 MB / 0.523 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000572/0.1182, allocations: 205.2 kB / 0.5232 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.1184, allocations: 61.75 kB / 0.5232 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.1184, allocations: 7.922 kB / 0.5233 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.1184, allocations: 42.56 kB / 0.5233 GB, free: 15.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.492e-06/0.1184, allocations: 0 / 0.5233 GB, free: 15.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009702/0.1194, allocations: 434.8 kB / 0.5237 GB, free: 14.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.1195, allocations: 77.11 kB / 0.5238 GB, free: 14.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.1197, allocations: 198.4 kB / 0.524 GB, free: 14.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.1197, allocations: 37.7 kB / 0.524 GB, free: 14.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.1198, allocations: 160.2 kB / 0.5242 GB, free: 14.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.972e-05/0.1199, allocations: 51.53 kB / 0.5242 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.585e-05/0.12, allocations: 37.72 kB / 0.5242 GB, free: 14.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1201, allocations: 342.7 kB / 0.5246 GB, free: 13.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.839e-05/0.1202, allocations: 51.97 kB / 0.5246 GB, free: 13.76 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.1204, allocations: 148.8 kB / 0.5248 GB, free: 13.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.1207, allocations: 228.7 kB / 0.525 GB, free: 13.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1207, allocations: 0 / 0.525 GB, free: 13.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004582/0.1212, allocations: 262.7 kB / 0.5252 GB, free: 13.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1212, allocations: 4 kB / 0.5252 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1212, allocations: 4 kB / 0.5252 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002244/0.1214, allocations: 36.83 kB / 0.5253 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.1216, allocations: 51.91 kB / 0.5253 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.1229, allocations: 1.446 MB / 0.5267 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.123, allocations: 8 kB / 0.5267 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.123, allocations: 11.98 kB / 0.5268 GB, free: 11.33 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (24): * Single equations (assignments): 23 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001564/0.1232, allocations: 153.7 kB / 0.5269 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.1232, allocations: 19.84 kB / 0.5269 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003931/0.1236, allocations: 195.9 kB / 0.5271 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.1237, allocations: 4.062 kB / 0.5271 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1237, allocations: 4 kB / 0.5271 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1237, allocations: 3.984 kB / 0.5271 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008491/0.1245, allocations: 0.5641 MB / 0.5277 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1245, allocations: 0 / 0.5277 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.286e-05/0.1246, allocations: 24.02 kB / 0.5277 GB, free: 10.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001542/0.1248, allocations: 36.83 kB / 0.5277 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.1248, allocations: 11.94 kB / 0.5277 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.126, allocations: 1.422 MB / 0.5291 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.126, allocations: 0 / 0.5291 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004039/0.1264, allocations: 301.8 kB / 0.5294 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.881e-05/0.1265, allocations: 97 kB / 0.5295 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.1265, allocations: 4 kB / 0.5295 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.1267, allocations: 4 kB / 0.5295 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.1267, allocations: 19.92 kB / 0.5295 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.1267, allocations: 4 kB / 0.5295 GB, free: 8.199 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.1269, allocations: 144.3 kB / 0.5297 GB, free: 8.059 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1269, allocations: 0 / 0.5297 GB, free: 8.059 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003591/0.1272, allocations: 52 kB / 0.5297 GB, free: 8.008 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000112/0.1274, allocations: 99.17 kB / 0.5298 GB, free: 7.898 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004927/0.1279, allocations: 266.4 kB / 0.5301 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.1279, allocations: 4 kB / 0.5301 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000244/0.1281, allocations: 182.5 kB / 0.5302 GB, free: 7.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.1285, allocations: 34.2 kB / 0.5303 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008072/0.1293, allocations: 0.4924 MB / 0.5308 GB, free: 6.867 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.1298, allocations: 0.7554 MB / 0.5315 GB, free: 6.086 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.279e-05/0.1298, allocations: 23.42 kB / 0.5315 GB, free: 6.062 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1298, allocations: 0 / 0.5315 GB, free: 6.062 MB / 398.1 MB Notification: Performance of Templates: time 0.005471/0.1353, allocations: 3.168 MB / 0.5346 GB, free: 2.887 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.477282192092389] Failed to read output from testmodel.py, exit status != 0: 0.14192767499480397 0.15554083500000002 0.040068259 Calling exit ...