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.001506/0.001506, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001077/0.001077, allocations: 171.9 kB / 24.92 MB, free: 8.723 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.069/1.069, allocations: 177.1 MB / 205.3 MB, free: 5.113 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.253/0.253, allocations: 29.42 MB / 291.2 MB, free: 2.434 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.944e-06/1.944e-06, allocations: 3.938 kB / 316.8 MB, free: 28 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.238e-05/3.433e-05, allocations: 3.781 kB / 316.8 MB, free: 24 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.006368/0.006403, allocations: 4.812 MB / 321.6 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003374/0.009777, allocations: 2.002 MB / 323.6 MB, free: 9.176 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004335/0.01021, allocations: 19.88 kB / 323.7 MB, free: 9.156 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009192/0.01113, allocations: 338.4 kB / 324 MB, free: 8.824 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.01235, allocations: 0.513 MB / 324.5 MB, free: 8.309 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007242/0.01307, allocations: 286.9 kB / 324.8 MB, free: 8.027 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009689/0.01404, allocations: 0.7477 MB / 325.5 MB, free: 7.277 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005588/0.0146, allocations: 308.3 kB / 325.8 MB, free: 6.977 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008651/0.01547, allocations: 430.7 kB / 326.3 MB, free: 6.555 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005192/0.01598, allocations: 295.1 kB / 326.5 MB, free: 6.266 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.963e-05/0.01604, allocations: 36 kB / 326.6 MB, free: 6.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009836/0.01703, allocations: 0.5179 MB / 327.1 MB, free: 5.711 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002351/0.01726, allocations: 219.4 kB / 327.3 MB, free: 5.496 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.01748, allocations: 179.6 kB / 327.5 MB, free: 5.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.01864, allocations: 0.6464 MB / 328.1 MB, free: 4.672 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.01864, allocations: 0 / 328.1 MB, free: 4.672 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.01864, allocations: 0 / 328.1 MB, free: 4.672 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.01865, allocations: 0 / 328.1 MB, free: 4.672 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.004218/0.02287, allocations: 0.6864 MB / 328.8 MB, free: 3.957 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.02291, allocations: 11.98 kB / 328.8 MB, free: 3.945 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.02426, allocations: 272.5 kB / 329.1 MB, free: 3.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004492/0.02471, allocations: 288.4 kB / 329.4 MB, free: 3.375 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.02474, allocations: 29.38 kB / 329.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.972e-05/0.02481, allocations: 44.36 kB / 329.5 MB, free: 3.305 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003485/0.0283, allocations: 380.7 kB / 329.8 MB, free: 2.906 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/0.02833, allocations: 12.12 kB / 329.8 MB, free: 2.895 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.144e-05/0.02837, allocations: 24.36 kB / 329.9 MB, free: 2.871 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.833e-05/0.02842, allocations: 36.92 kB / 329.9 MB, free: 2.832 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003551/0.02878, allocations: 201.6 kB / 330.1 MB, free: 2.637 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.03076, allocations: 1.53 MB / 331.6 MB, free: 1.027 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000325/0.03109, allocations: 258.3 kB / 331.9 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.0312, allocations: 91.16 kB / 332 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003046/0.03425, allocations: 8 kB / 332 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.03428, allocations: 42.56 kB / 332 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of pre-optimization done (n=42): time 3.476e-06/0.03429, allocations: 0 / 332 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.001846/0.03613, allocations: 0.828 MB / 332.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.03618, allocations: 85.05 kB / 332.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.03635, allocations: 232.9 kB / 333.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.03637, allocations: 29.7 kB / 333.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.776e-05/0.03647, allocations: 212.9 kB / 333.4 MB, free: 15.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.03657, allocations: 162.6 kB / 333.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.03668, allocations: 82.11 kB / 333.6 MB, free: 14.9 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.03678, allocations: 350.8 kB / 334 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-05/0.03687, allocations: 51.81 kB / 334 MB, free: 14.49 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.03702, allocations: 170.5 kB / 334.2 MB, free: 14.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003304/0.04032, allocations: 278 kB / 334.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.04032, allocations: 4 kB / 334.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005595/0.04088, allocations: 355.6 kB / 334.8 MB, free: 13.6 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.0409, allocations: 8 kB / 334.8 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.04091, allocations: 4 kB / 334.8 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004289/0.04134, allocations: 152.7 kB / 335 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.0416, allocations: 87.89 kB / 335.1 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005162/0.04676, allocations: 1.922 MB / 337 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.04692, allocations: 16 kB / 337 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.04695, allocations: 16 kB / 337 MB, free: 11.31 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.0001442/0.0471, allocations: 144.5 kB / 337.2 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.997e-05/0.04717, allocations: 31.97 kB / 337.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005333/0.0477, allocations: 339.4 kB / 337.5 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.04771, allocations: 8 kB / 337.5 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.04771, allocations: 0 / 337.5 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.04771, allocations: 0 / 337.5 MB, free: 10.77 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.001094/0.04881, allocations: 0.7766 MB / 338.3 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.04881, allocations: 0 / 338.3 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.04904, allocations: 75.89 kB / 338.4 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003338/0.05238, allocations: 124.1 kB / 338.5 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.05241, allocations: 12.03 kB / 338.5 MB, free: 9.746 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001621/0.05403, allocations: 1.814 MB / 340.3 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.05403, allocations: 112 / 340.3 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006539/0.05468, allocations: 0.5385 MB / 340.9 MB, free: 7.277 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.05472, allocations: 31.77 kB / 340.9 MB, free: 7.246 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.05476, allocations: 8 kB / 340.9 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.05489, allocations: 12 kB / 340.9 MB, free: 7.227 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.05495, allocations: 35.86 kB / 340.9 MB, free: 7.191 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.05497, allocations: 12 kB / 341 MB, free: 7.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00309/0.05806, allocations: 78.77 kB / 341 MB, free: 7.094 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.05806, allocations: 3.938 kB / 341 MB, free: 7.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005468/0.05861, allocations: 136 kB / 341.2 MB, free: 6.957 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 0.0001274/0.05874, allocations: 92.34 kB / 341.3 MB, free: 6.855 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006563/0.05939, allocations: 427.7 kB / 341.7 MB, free: 6.426 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.0594, allocations: 8.312 kB / 341.7 MB, free: 6.418 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003746/0.05978, allocations: 313.1 kB / 342 MB, free: 6.098 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.06014, allocations: 59.98 kB / 342 MB, free: 6.035 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004897/0.06503, allocations: 0.878 MB / 342.9 MB, free: 5.117 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.06516, allocations: 150.2 kB / 343.1 MB, free: 4.949 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000124/0.06529, allocations: 42.94 kB / 343.1 MB, free: 4.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001446/0.06543, allocations: 99.36 kB / 343.2 MB, free: 4.812 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.06543, allocations: 0 / 343.2 MB, free: 4.812 MB / 314.7 MB Notification: Performance of Templates: time 0.01838/0.08381, allocations: 5.766 MB / 349 MB, free: 15.11 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2719697901047766]