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.0009679/0.0009679, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001081/0.001081, allocations: 169.1 kB / 24.91 MB, free: 9.184 MB / 18.57 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.035/1.035, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.2237/0.2237, allocations: 29.42 MB / 291.2 MB, free: 2.473 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 316.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266e-05/1.407e-05, allocations: 4.422 kB / 316.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.004148/0.004162, allocations: 4.854 MB / 321.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.006175, allocations: 2.006 MB / 323.7 MB, free: 9.098 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.006341, allocations: 19.88 kB / 323.8 MB, free: 9.078 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005702/0.006911, allocations: 330.4 kB / 324.1 MB, free: 8.754 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005762/0.007487, allocations: 0.5052 MB / 324.6 MB, free: 8.246 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.007815, allocations: 286.9 kB / 324.9 MB, free: 7.965 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000542/0.008357, allocations: 0.7476 MB / 325.6 MB, free: 7.215 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003115/0.008668, allocations: 304.3 kB / 325.9 MB, free: 6.918 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003955/0.009064, allocations: 430.8 kB / 326.3 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003017/0.009365, allocations: 295.1 kB / 326.6 MB, free: 6.207 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.935e-05/0.009405, allocations: 36 kB / 326.6 MB, free: 6.172 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005057/0.00991, allocations: 0.5335 MB / 327.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.01006, allocations: 223.4 kB / 327.4 MB, free: 5.418 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.01018, allocations: 171.6 kB / 327.6 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005875/0.01077, allocations: 0.6541 MB / 328.2 MB, free: 4.594 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.01077, allocations: 0 / 328.2 MB, free: 4.594 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.01077, allocations: 3.938 kB / 328.2 MB, free: 4.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.01078, allocations: 0 / 328.2 MB, free: 4.59 MB / 298.7 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.0006834/0.01146, allocations: 0.6748 MB / 328.9 MB, free: 3.887 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.0115, allocations: 11.98 kB / 328.9 MB, free: 3.875 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009816/0.01248, allocations: 280.5 kB / 329.2 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.01279, allocations: 280.4 kB / 329.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.01282, allocations: 37.3 kB / 329.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.028e-05/0.01287, allocations: 40.38 kB / 329.5 MB, free: 3.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.01327, allocations: 384.7 kB / 329.9 MB, free: 2.828 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.01329, allocations: 12.14 kB / 329.9 MB, free: 2.816 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.926e-05/0.01332, allocations: 20.36 kB / 329.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-05/0.01336, allocations: 40.91 kB / 330 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002637/0.01363, allocations: 201.5 kB / 330.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.01514, allocations: 1.527 MB / 331.7 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.01539, allocations: 258.3 kB / 332 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.294e-05/0.01549, allocations: 85.73 kB / 332 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.01551, allocations: 12 kB / 332.1 MB, free: 0.582 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.01554, allocations: 42.34 kB / 332.1 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 1.953e-06/0.01554, allocations: 0 / 332.1 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.001383/0.01692, allocations: 0.8318 MB / 332.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.01697, allocations: 81.11 kB / 333 MB, free: 15.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.0171, allocations: 228.9 kB / 333.2 MB, free: 15.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.01712, allocations: 37.7 kB / 333.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.664e-05/0.01721, allocations: 212.9 kB / 333.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.049e-05/0.01729, allocations: 158.6 kB / 333.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-05/0.01737, allocations: 90.22 kB / 333.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.606e-05/0.01746, allocations: 342.8 kB / 334.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.928e-05/0.01753, allocations: 55.8 kB / 334.1 MB, free: 14.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.01765, allocations: 174.4 kB / 334.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.01788, allocations: 270.1 kB / 334.5 MB, free: 13.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.01788, allocations: 0 / 334.5 MB, free: 13.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004253/0.01831, allocations: 367.3 kB / 334.9 MB, free: 13.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.01832, allocations: 8 kB / 334.9 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.01833, allocations: 4 kB / 334.9 MB, free: 13.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003306/0.01866, allocations: 143.9 kB / 335.1 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.01889, allocations: 100.6 kB / 335.2 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/0.02052, allocations: 1.936 MB / 337.1 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.02063, allocations: 12 kB / 337.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.02065, allocations: 23.92 kB / 337.1 MB, free: 11.21 MB / 314.7 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.0001046/0.02075, allocations: 136.5 kB / 337.3 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.506e-05/0.0208, allocations: 35.97 kB / 337.3 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004159/0.02121, allocations: 338.7 kB / 337.6 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.02122, allocations: 8 kB / 337.6 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.02122, allocations: 112 / 337.6 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.02122, allocations: 7.922 kB / 337.6 MB, free: 10.67 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008481/0.02207, allocations: 0.7727 MB / 338.4 MB, free: 9.863 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.02207, allocations: 0 / 338.4 MB, free: 9.863 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.02228, allocations: 83.92 kB / 338.5 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000248/0.02253, allocations: 142.3 kB / 338.6 MB, free: 9.637 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.02254, allocations: 4 kB / 338.6 MB, free: 9.633 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001238/0.02378, allocations: 1.808 MB / 340.4 MB, free: 7.734 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.02378, allocations: 3.938 kB / 340.4 MB, free: 7.73 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000498/0.02428, allocations: 0.5347 MB / 341 MB, free: 7.168 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.924e-05/0.02431, allocations: 35.7 kB / 341 MB, free: 7.133 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.02434, allocations: 11.98 kB / 341 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.094e-05/0.02443, allocations: 12 kB / 341 MB, free: 7.109 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.02448, allocations: 35.88 kB / 341.1 MB, free: 7.074 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.0245, allocations: 12 kB / 341.1 MB, free: 7.062 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.541e-05/0.02455, allocations: 74.77 kB / 341.2 MB, free: 6.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02455, allocations: 4 kB / 341.2 MB, free: 6.977 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003243/0.02488, allocations: 136 kB / 341.3 MB, free: 6.844 MB / 314.7 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 9.635e-05/0.02497, allocations: 90.98 kB / 341.4 MB, free: 6.746 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005134/0.02549, allocations: 435.2 kB / 341.8 MB, free: 6.309 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.02549, allocations: 4 kB / 341.8 MB, free: 6.305 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002821/0.02578, allocations: 313.9 kB / 342.1 MB, free: 5.984 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.02605, allocations: 69.17 kB / 342.2 MB, free: 5.914 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.02726, allocations: 0.8816 MB / 343.1 MB, free: 4.992 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.822e-05/0.02736, allocations: 150.2 kB / 343.2 MB, free: 4.824 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.316e-05/0.02745, allocations: 39.27 kB / 343.3 MB, free: 4.789 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.02759, allocations: 103.3 kB / 343.4 MB, free: 4.688 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02759, allocations: 0 / 343.4 MB, free: 4.688 MB / 314.7 MB Notification: Performance of Templates: time 0.007416/0.03501, allocations: 5.833 MB / 349.2 MB, free: 14.92 MB / 330.7 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9322052407078445]