Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.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.00134/0.00134, allocations: 119.5 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.001377/0.001378, allocations: 192.3 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.433/1.433, allocations: 222.9 MB / 247 MB, free: 4.207 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.3122/0.3122, allocations: 38.01 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.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") translateModel(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 64.95 kB / 467.5 MB, free: 27.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1114, allocations: 58.07 MB / 0.5133 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.LocalGeneration): time 0.01141/0.1229, allocations: 9.239 MB / 0.5223 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005847/0.1288, allocations: 3.253 MB / 0.5255 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008483/0.1296, allocations: 43.75 kB / 0.5255 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.1311, allocations: 409.3 kB / 0.5259 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002036/0.1331, allocations: 0.7888 MB / 0.5267 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.1342, allocations: 490.6 kB / 0.5272 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002353/0.1366, allocations: 1.863 MB / 0.529 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001461/0.138, allocations: 1.124 MB / 0.5301 GB, free: 8.453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.1392, allocations: 0.755 MB / 0.5308 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.1403, allocations: 0.8133 MB / 0.5316 GB, free: 6.879 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000204/0.1405, allocations: 140 kB / 0.5317 GB, free: 6.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006904/0.1412, allocations: 379.5 kB / 0.5321 GB, free: 6.371 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005043/0.1417, allocations: 0.4908 MB / 0.5326 GB, free: 5.879 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007126/0.1424, allocations: 0.7038 MB / 0.5333 GB, free: 5.172 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002274/0.1447, allocations: 2.001 MB / 0.5352 GB, free: 3.164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1447, allocations: 3.938 kB / 0.5352 GB, free: 3.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1447, allocations: 0 / 0.5352 GB, free: 3.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.152e-05/0.1448, allocations: 0 / 0.5352 GB, free: 3.16 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.003182/0.1479, allocations: 1.669 MB / 0.5369 GB, free: 1.434 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.148, allocations: 11.89 kB / 0.5369 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007263/0.1487, allocations: 191.9 kB / 0.537 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/0.1504, allocations: 0.9661 MB / 0.538 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.048e-05/0.1505, allocations: 82.06 kB / 0.5381 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002704/0.1508, allocations: 119.9 kB / 0.5382 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/0.1529, allocations: 1.345 MB / 0.5395 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/0.153, allocations: 3.938 kB / 0.5395 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.1531, allocations: 47.98 kB / 0.5395 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/0.1532, allocations: 65.97 kB / 0.5396 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.1551, allocations: 1.077 MB / 0.5407 GB, free: 13.41 MB / 414.1 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: 8.318498358936397e-4 * der(PMgen.generator.i_s[3]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007149/0.1622, allocations: 5.099 MB / 0.5456 GB, free: 8.066 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.1635, allocations: 0.763 MB / 0.5464 GB, free: 7.262 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005477/0.1641, allocations: 347.2 kB / 0.5467 GB, free: 6.918 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.969e-05/0.1641, allocations: 12.55 kB / 0.5467 GB, free: 6.906 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/0.1642, allocations: 43.12 kB / 0.5468 GB, free: 6.855 MB / 414.1 MB Notification: Performance of pre-optimization done (n=64): time 4.438e-06/0.1642, allocations: 0 / 0.5468 GB, free: 6.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=71): time 0.005783/0.17, allocations: 2.714 MB / 0.5494 GB, free: 4.051 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.179e-05/0.1701, allocations: 141.1 kB / 0.5496 GB, free: 3.883 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009839/0.1711, allocations: 0.7471 MB / 0.5503 GB, free: 3.129 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.423e-05/0.1712, allocations: 37.7 kB / 0.5503 GB, free: 3.086 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004381/0.1716, allocations: 0.5781 MB / 0.5509 GB, free: 2.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.1718, allocations: 265.8 kB / 0.5511 GB, free: 2.238 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000257/0.1721, allocations: 166.6 kB / 0.5513 GB, free: 2.066 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1723, allocations: 337.9 kB / 0.5516 GB, free: 1.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005439/0.1728, allocations: 300.6 kB / 0.5519 GB, free: 1.434 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007333/0.1736, allocations: 0.5566 MB / 0.5525 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.1749, allocations: 0.8897 MB / 0.5533 GB, free: 15.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.1749, allocations: 11.94 kB / 0.5533 GB, free: 15.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002972/0.1779, allocations: 1.34 MB / 0.5546 GB, free: 14.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.1779, allocations: 8.312 kB / 0.5546 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.178, allocations: 12 kB / 0.5547 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/0.1794, allocations: 420.4 kB / 0.5551 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/0.1801, allocations: 167.8 kB / 0.5552 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009247/0.1893, allocations: 5.292 MB / 0.5604 GB, free: 8.363 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007675/0.1901, allocations: 35.98 kB / 0.5604 GB, free: 8.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.1903, allocations: 47.94 kB / 0.5605 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001034/0.1913, allocations: 0.5565 MB / 0.561 GB, free: 7.723 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007169/0.192, allocations: 0.5295 MB / 0.5615 GB, free: 7.082 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001266/0.1933, allocations: 0.878 MB / 0.5624 GB, free: 6.098 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.745e-06/0.1933, allocations: 0 / 0.5624 GB, free: 6.098 MB / 430.1 MB Notification: Performance of matching and sorting (n=112) (initialization_lambda0): time 0.002764/0.1961, allocations: 1.27 MB / 0.5636 GB, free: 4.816 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1961, allocations: 10.66 kB / 0.5636 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.1962, allocations: 12 kB / 0.5636 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/0.1975, allocations: 409 kB / 0.564 GB, free: 4.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006375/0.1982, allocations: 163.8 kB / 0.5642 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007793/0.206, allocations: 5.052 MB / 0.5691 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007121/0.2067, allocations: 31.98 kB / 0.5692 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.863e-05/0.2068, allocations: 40 kB / 0.5692 GB, free: 14.96 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,PI_vDC.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0003078/0.2071, allocations: 228 kB / 0.5694 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/0.2074, allocations: 115.2 kB / 0.5695 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/0.209, allocations: 0.8674 MB / 0.5704 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.209, allocations: 8 kB / 0.5704 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.209, allocations: 3.938 kB / 0.5704 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.209, allocations: 3.984 kB / 0.5704 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003239/0.2123, allocations: 1.86 MB / 0.5722 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2123, allocations: 0 / 0.5722 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008502/0.2131, allocations: 159.8 kB / 0.5724 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/0.2132, allocations: 4 kB / 0.5724 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-05/0.2132, allocations: 27.97 kB / 0.5724 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.125e-05/0.2133, allocations: 11.98 kB / 0.5724 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2133, allocations: 3.938 kB / 0.5724 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.2152, allocations: 1.264 MB / 0.5736 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000388/0.2157, allocations: 240.4 kB / 0.5739 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.2158, allocations: 15.94 kB / 0.5739 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004908/0.2163, allocations: 27.98 kB / 0.5739 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.675e-05/0.2164, allocations: 40.59 kB / 0.5739 GB, free: 9.961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.297e-05/0.2165, allocations: 27.92 kB / 0.574 GB, free: 9.934 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007163/0.2172, allocations: 0.5068 MB / 0.5745 GB, free: 9.434 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2172, allocations: 0 / 0.5745 GB, free: 9.434 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001669/0.2189, allocations: 467.9 kB / 0.5749 GB, free: 8.977 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PMgen.rotor.phi,PMgen.rotor.w,PMgen.generator.i_s[1],PMgen.generator.i_s[2],capSym.capSym.cap1.v,capSym.capSym.cap2.v,zLoadDC.i,PI_vDC.I.y) * 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 (77): * Single equations (assignments): 76 * 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.0003546/0.2192, allocations: 147 kB / 0.5751 GB, free: 8.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003829/0.2231, allocations: 1.907 MB / 0.5769 GB, free: 6.887 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.2231, allocations: 0 / 0.5769 GB, free: 6.887 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005906/0.2237, allocations: 361 kB / 0.5773 GB, free: 6.535 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.225, allocations: 263.6 kB / 0.5775 GB, free: 6.289 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004565/0.2296, allocations: 2.587 MB / 0.58 GB, free: 3.652 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.2306, allocations: 1.197 MB / 0.5812 GB, free: 2.426 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/0.2309, allocations: 75.42 kB / 0.5813 GB, free: 2.352 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2309, allocations: 0 / 0.5813 GB, free: 2.352 MB / 446.1 MB Notification: Performance of Templates: time 0.2639/0.4948, allocations: 17.24 MB / 0.5981 GB, free: 58.55 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.200238625053316] Failed to read output from testmodel.py, exit status != 0: 0.5015238129999489 0.510559969 0.36389177100000003 Calling exit ...