Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.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.00131/0.00131, allocations: 119.5 kB / 18.41 MB, free: 4.648 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.001293/0.001294, allocations: 184.3 kB / 21.34 MB, free: 1.723 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.503/1.503, allocations: 222.9 MB / 247 MB, free: 4.199 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.297/0.297, allocations: 38.01 MB / 337.2 MB, free: 12.92 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.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.00193, allocations: 71.39 kB / 467.5 MB, free: 27.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1047, allocations: 58.07 MB / 0.5133 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.006409/0.1112, allocations: 4.42 MB / 0.5176 GB, free: 5.297 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.1137, allocations: 1.426 MB / 0.519 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.1139, allocations: 15.88 kB / 0.519 GB, free: 3.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.115, allocations: 385.7 kB / 0.5193 GB, free: 3.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005783/0.1156, allocations: 250.8 kB / 0.5196 GB, free: 3.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000637/0.1162, allocations: 235.4 kB / 0.5198 GB, free: 3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006667/0.1169, allocations: 0.5573 MB / 0.5204 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004688/0.1174, allocations: 285 kB / 0.5206 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003558/0.1177, allocations: 255 kB / 0.5209 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005251/0.1183, allocations: 358.9 kB / 0.5212 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.89e-05/0.1184, allocations: 40 kB / 0.5212 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004495/0.1188, allocations: 223.6 kB / 0.5215 GB, free: 1.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002712/0.1191, allocations: 247.4 kB / 0.5217 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000292/0.1194, allocations: 258.8 kB / 0.5219 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008167/0.1202, allocations: 0.6655 MB / 0.5226 GB, free: 140 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1202, allocations: 0 / 0.5226 GB, free: 140 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1202, allocations: 0 / 0.5226 GB, free: 140 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1203, allocations: 0 / 0.5226 GB, free: 140 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001496/0.1218, allocations: 0.7927 MB / 0.5234 GB, free: 15.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1218, allocations: 11.89 kB / 0.5234 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005743/0.1224, allocations: 92.55 kB / 0.5235 GB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006997/0.1231, allocations: 435.4 kB / 0.5239 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.1231, allocations: 25.38 kB / 0.5239 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.1233, allocations: 48.12 kB / 0.524 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.1243, allocations: 0.6765 MB / 0.5246 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.1243, allocations: 4 kB / 0.5246 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.964e-05/0.1244, allocations: 19.98 kB / 0.5246 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001749/0.1246, allocations: 48.91 kB / 0.5247 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.1256, allocations: 0.6752 MB / 0.5253 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003543/0.1292, allocations: 2.505 MB / 0.5278 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005626/0.1297, allocations: 349.2 kB / 0.5281 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003256/0.1301, allocations: 229.7 kB / 0.5283 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.1301, allocations: 4 kB / 0.5283 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.1302, allocations: 42.44 kB / 0.5284 GB, free: 9.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.094e-06/0.1302, allocations: 0 / 0.5284 GB, free: 9.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.002201/0.1324, allocations: 1.37 MB / 0.5297 GB, free: 8.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.1324, allocations: 81.11 kB / 0.5298 GB, free: 8.387 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.1328, allocations: 300.5 kB / 0.5301 GB, free: 8.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.1328, allocations: 29.7 kB / 0.5301 GB, free: 8.055 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.133, allocations: 260.2 kB / 0.5304 GB, free: 7.793 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.1332, allocations: 158.7 kB / 0.5305 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.1333, allocations: 90.25 kB / 0.5306 GB, free: 7.543 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.1335, allocations: 358.8 kB / 0.5309 GB, free: 7.184 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/0.1338, allocations: 197 kB / 0.5311 GB, free: 6.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/0.1342, allocations: 369 kB / 0.5315 GB, free: 6.559 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008078/0.1351, allocations: 0.6096 MB / 0.5321 GB, free: 5.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1351, allocations: 4 kB / 0.5321 GB, free: 5.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009553/0.136, allocations: 0.6232 MB / 0.5327 GB, free: 5.246 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.1361, allocations: 13.97 kB / 0.5327 GB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.1361, allocations: 4 kB / 0.5327 GB, free: 5.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.1361, allocations: 11.98 kB / 0.5327 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004256/0.1365, allocations: 107.9 kB / 0.5328 GB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.1366, allocations: 11.94 kB / 0.5328 GB, free: 5.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.1368, allocations: 20.39 kB / 0.5329 GB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.991e-05/0.1368, allocations: 35.92 kB / 0.5329 GB, free: 5.047 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 55 * Array equations: 2 * 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 prepare postOptimizeDAE: time 0.0002467/0.1371, allocations: 213.6 kB / 0.5331 GB, free: 4.828 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.594e-05/0.1372, allocations: 39.7 kB / 0.5331 GB, free: 4.789 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008015/0.138, allocations: 496.4 kB / 0.5336 GB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.109e-05/0.138, allocations: 11.94 kB / 0.5336 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.138, allocations: 4 kB / 0.5336 GB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.138, allocations: 3.984 kB / 0.5336 GB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.1398, allocations: 1.105 MB / 0.5347 GB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.1398, allocations: 4 kB / 0.5347 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000355/0.1402, allocations: 71.89 kB / 0.5348 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.1402, allocations: 4 kB / 0.5348 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/0.1402, allocations: 8 kB / 0.5348 GB, free: 3.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.1402, allocations: 4.094 kB / 0.5348 GB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1403, allocations: 4 kB / 0.5348 GB, free: 3.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.1414, allocations: 0.8281 MB / 0.5356 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.986e-05/0.1415, allocations: 108.9 kB / 0.5357 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.469e-05/0.1416, allocations: 19.97 kB / 0.5357 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.1418, allocations: 15.98 kB / 0.5357 GB, free: 1.996 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.1418, allocations: 23.91 kB / 0.5358 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/0.1419, allocations: 11.98 kB / 0.5358 GB, free: 1.961 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002235/0.1421, allocations: 215.1 kB / 0.536 GB, free: 1.75 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1421, allocations: 3.938 kB / 0.536 GB, free: 1.746 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004682/0.1426, allocations: 108 kB / 0.5361 GB, free: 1.641 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (33): * Single equations (assignments): 30 * 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.0002328/0.1428, allocations: 135.1 kB / 0.5362 GB, free: 1.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007828/0.1436, allocations: 497.8 kB / 0.5367 GB, free: 1.016 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/0.1436, allocations: 4 kB / 0.5367 GB, free: 1.012 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.1439, allocations: 232.1 kB / 0.5369 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005088/0.1445, allocations: 72 kB / 0.537 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.1463, allocations: 1.178 MB / 0.5381 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005575/0.1468, allocations: 0.8743 MB / 0.539 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.147, allocations: 39.44 kB / 0.539 GB, free: 14.55 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.147, allocations: 0 / 0.539 GB, free: 14.55 MB / 414.1 MB Notification: Performance of Templates: time 0.009038/0.156, allocations: 5.607 MB / 0.5445 GB, free: 8.949 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.57615276495926] Failed to read output from testmodel.py, exit status != 0: 0.16237029200419784 0.17589427900000001 0.05309587700000001 Calling exit ...