Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.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.001517/0.001517, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001553/0.001553, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.46/1.46, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.1906/0.1906, allocations: 38.56 MB / 353.2 MB, free: 12.3 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.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") [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.002333/0.002333, allocations: 66.55 kB / 493.7 MB, free: 4.184 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3135, allocations: 62.46 MB / 0.5432 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.006756/0.3202, allocations: 4.758 MB / 0.5478 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003936/0.3242, allocations: 2.343 MB / 0.5501 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003108/0.3245, allocations: 18.34 kB / 0.5501 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.3258, allocations: 429.1 kB / 0.5505 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001393/0.3272, allocations: 0.5045 MB / 0.551 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008132/0.328, allocations: 289 kB / 0.5513 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009819/0.329, allocations: 0.729 MB / 0.552 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005223/0.3295, allocations: 285.7 kB / 0.5523 GB, free: 9.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006539/0.3302, allocations: 341.8 kB / 0.5526 GB, free: 9.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004935/0.3307, allocations: 326.2 kB / 0.5529 GB, free: 9.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.43e-05/0.3307, allocations: 37.28 kB / 0.5529 GB, free: 9.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.3318, allocations: 0.5378 MB / 0.5535 GB, free: 8.746 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.3321, allocations: 193.4 kB / 0.5537 GB, free: 8.625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002606/0.3323, allocations: 210 kB / 0.5539 GB, free: 8.504 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.3336, allocations: 0.7699 MB / 0.5546 GB, free: 8.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3336, allocations: 4 kB / 0.5546 GB, free: 8.031 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3336, allocations: 0 / 0.5546 GB, free: 8.031 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.3336, allocations: 1.062 kB / 0.5546 GB, free: 8.031 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001228/0.3348, allocations: 0.7135 MB / 0.5553 GB, free: 7.449 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3349, allocations: 13.33 kB / 0.5553 GB, free: 7.445 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001684/0.3365, allocations: 203.3 kB / 0.5555 GB, free: 7.352 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006562/0.3372, allocations: 306.3 kB / 0.5558 GB, free: 7.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.081e-05/0.3372, allocations: 30.06 kB / 0.5558 GB, free: 7.082 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-05/0.3373, allocations: 47.73 kB / 0.5559 GB, free: 7.062 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.3384, allocations: 0.6247 MB / 0.5565 GB, free: 6.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.3385, allocations: 3.953 kB / 0.5565 GB, free: 6.453 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.117e-05/0.3385, allocations: 16 kB / 0.5565 GB, free: 6.438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.886e-05/0.3386, allocations: 40.91 kB / 0.5565 GB, free: 6.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.3396, allocations: 0.605 MB / 0.5571 GB, free: 5.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003656/0.3432, allocations: 2.017 MB / 0.5591 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006796/0.3439, allocations: 382.9 kB / 0.5595 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003414/0.3442, allocations: 205.7 kB / 0.5597 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.39e-05/0.3443, allocations: 8 kB / 0.5597 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.021e-05/0.3443, allocations: 34.56 kB / 0.5597 GB, free: 3.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 3.236e-06/0.3443, allocations: 0 / 0.5597 GB, free: 3.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.003719/0.3481, allocations: 1.55 MB / 0.5612 GB, free: 1.441 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/0.3481, allocations: 89.14 kB / 0.5613 GB, free: 1.336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.3484, allocations: 245.9 kB / 0.5615 GB, free: 1.086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.3485, allocations: 33.7 kB / 0.5616 GB, free: 1.047 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.3487, allocations: 244.3 kB / 0.5618 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/0.3488, allocations: 154.7 kB / 0.562 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.349, allocations: 86.19 kB / 0.562 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.3492, allocations: 346.7 kB / 0.5624 GB, free: 220 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/0.3495, allocations: 172.9 kB / 0.5625 GB, free: 48 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000412/0.3499, allocations: 289.8 kB / 0.5628 GB, free: 15.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000753/0.3506, allocations: 0.5121 MB / 0.5633 GB, free: 15.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3506, allocations: 0 / 0.5633 GB, free: 15.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001304/0.3519, allocations: 0.6658 MB / 0.564 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.352, allocations: 11.94 kB / 0.564 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.352, allocations: 7.938 kB / 0.564 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006093/0.3526, allocations: 176.7 kB / 0.5641 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/0.353, allocations: 91.88 kB / 0.5642 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003988/0.357, allocations: 2.629 MB / 0.5668 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.3574, allocations: 19.98 kB / 0.5668 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/0.3574, allocations: 20 kB / 0.5668 GB, free: 11.44 MB / 414.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 (47): * Single equations (assignments): 46 * 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 {(4,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0003256/0.3577, allocations: 197.8 kB / 0.567 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.63e-05/0.3578, allocations: 39.7 kB / 0.5671 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001314/0.3591, allocations: 0.6294 MB / 0.5677 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.3591, allocations: 8 kB / 0.5677 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3591, allocations: 4 kB / 0.5677 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.3591, allocations: 3.984 kB / 0.5677 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002333/0.3615, allocations: 1.153 MB / 0.5688 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.3615, allocations: 0 / 0.5688 GB, free: 9.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000361/0.3618, allocations: 83.98 kB / 0.5689 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004719/0.3623, allocations: 148.7 kB / 0.569 GB, free: 9.109 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.3624, allocations: 11.98 kB / 0.5691 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003317/0.3657, allocations: 2.422 MB / 0.5714 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3657, allocations: 0 / 0.5714 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.3673, allocations: 0.946 MB / 0.5723 GB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.3674, allocations: 35.78 kB / 0.5724 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.755e-05/0.3674, allocations: 8 kB / 0.5724 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.3677, allocations: 16 kB / 0.5724 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.3677, allocations: 39.86 kB / 0.5724 GB, free: 5.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.3678, allocations: 16 kB / 0.5725 GB, free: 5.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001963/0.368, allocations: 173.2 kB / 0.5726 GB, free: 5.312 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.368, allocations: 4 kB / 0.5726 GB, free: 5.309 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006603/0.3686, allocations: 136 kB / 0.5728 GB, free: 5.176 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia.w,constantTorque.phi,inertia1.w,constantTorque1.phi) * 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 (38): * Single equations (assignments): 36 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001331/0.3688, allocations: 103.3 kB / 0.5729 GB, free: 5.066 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.3701, allocations: 0.6457 MB / 0.5735 GB, free: 4.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3701, allocations: 3.938 kB / 0.5735 GB, free: 4.406 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007817/0.3709, allocations: 412.1 kB / 0.5739 GB, free: 3.992 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004939/0.3714, allocations: 65.8 kB / 0.5739 GB, free: 3.934 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.3735, allocations: 1.199 MB / 0.5751 GB, free: 2.688 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.3739, allocations: 266.7 kB / 0.5754 GB, free: 2.402 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.374, allocations: 35.42 kB / 0.5754 GB, free: 2.367 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.374, allocations: 0 / 0.5754 GB, free: 2.367 MB / 414.1 MB Notification: Performance of Templates: time 0.01147/0.3854, allocations: 7.104 MB / 0.5823 GB, free: 11.26 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.147637713700533] Failed to read output from testmodel.py, exit status != 0: 0.39530890388414264 0.41109495199999996 0.07407350600000001 Calling exit ...