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.001429/0.001429, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.00158/0.00158, allocations: 161.7 kB / 24.27 MB, free: 176 kB / 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.482/1.482, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.3151/0.3151, allocations: 29.41 MB / 290.5 MB, free: 2.426 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 2.194e-06/2.194e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.134e-05/3.353e-05, allocations: 10.31 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.01088/0.01091, allocations: 4.735 MB / 373.6 MB, free: 6.543 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006534/0.01745, allocations: 2.321 MB / 375.9 MB, free: 4.211 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004432/0.01789, allocations: 11.94 kB / 375.9 MB, free: 4.199 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001968/0.01986, allocations: 434 kB / 376.4 MB, free: 3.773 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001808/0.02167, allocations: 0.5285 MB / 376.9 MB, free: 3.242 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008526/0.02252, allocations: 282.9 kB / 377.2 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00108/0.0236, allocations: 0.763 MB / 377.9 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005739/0.02417, allocations: 289.6 kB / 378.2 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006987/0.02487, allocations: 438.6 kB / 378.7 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005385/0.02541, allocations: 311.1 kB / 379 MB, free: 1.18 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.879e-05/0.02548, allocations: 36 kB / 379 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.0265, allocations: 0.5451 MB / 379.5 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002487/0.02675, allocations: 207.4 kB / 379.7 MB, free: 404 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002464/0.027, allocations: 171.6 kB / 379.9 MB, free: 232 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.02821, allocations: 0.7906 MB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.02822, allocations: 0 / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.02822, allocations: 0 / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.02823, allocations: 0 / 380.7 MB, free: 15.43 MB / 362.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.001281/0.02951, allocations: 0.7155 MB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.02955, allocations: 11.98 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002087/0.03164, allocations: 304.2 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005926/0.03223, allocations: 320.3 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.425e-05/0.03227, allocations: 33.38 kB / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.996e-05/0.03236, allocations: 36.38 kB / 382.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.03347, allocations: 0.6385 MB / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.03349, allocations: 4.141 kB / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.435e-05/0.03355, allocations: 16.38 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.569e-05/0.03361, allocations: 40.92 kB / 382.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.03469, allocations: 0.605 MB / 383.4 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003603/0.0383, allocations: 1.999 MB / 385.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00071/0.03901, allocations: 369.6 kB / 385.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003632/0.03937, allocations: 221.5 kB / 386 MB, free: 9.953 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/0.03941, allocations: 11.78 kB / 386 MB, free: 9.941 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/0.03945, allocations: 38.56 kB / 386 MB, free: 9.895 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 4.157e-06/0.03945, allocations: 3.984 kB / 386 MB, free: 9.891 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.003887/0.04334, allocations: 1.566 MB / 387.6 MB, free: 8.285 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/0.04342, allocations: 81.11 kB / 387.7 MB, free: 8.188 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/0.04373, allocations: 249.8 kB / 387.9 MB, free: 7.934 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.04378, allocations: 33.7 kB / 388 MB, free: 7.895 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.04399, allocations: 236.6 kB / 388.2 MB, free: 7.656 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.04415, allocations: 150.7 kB / 388.3 MB, free: 7.508 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.04431, allocations: 90.14 kB / 388.4 MB, free: 7.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.04451, allocations: 342.8 kB / 388.8 MB, free: 7.066 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005697/0.04508, allocations: 184.8 kB / 388.9 MB, free: 6.887 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000424/0.0455, allocations: 293.7 kB / 389.2 MB, free: 6.559 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007991/0.0463, allocations: 0.5002 MB / 389.7 MB, free: 6.012 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.04631, allocations: 7.984 kB / 389.7 MB, free: 6.004 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001359/0.04767, allocations: 0.6888 MB / 390.4 MB, free: 5.305 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.04769, allocations: 8 kB / 390.4 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.0477, allocations: 4.438 kB / 390.4 MB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007811/0.04848, allocations: 215.7 kB / 390.6 MB, free: 5.082 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004111/0.04889, allocations: 95.77 kB / 390.7 MB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004102/0.05299, allocations: 2.648 MB / 393.4 MB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.05327, allocations: 27.92 kB / 393.4 MB, free: 2.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.621e-05/0.05332, allocations: 20 kB / 393.4 MB, free: 2.211 MB / 362.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.0002773/0.05359, allocations: 189.7 kB / 393.6 MB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.0537, allocations: 47.77 kB / 393.7 MB, free: 1.969 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.05506, allocations: 0.6333 MB / 394.3 MB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.05507, allocations: 4 kB / 394.3 MB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.05507, allocations: 4 kB / 394.3 MB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.05508, allocations: 3.984 kB / 394.3 MB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/0.05744, allocations: 1.161 MB / 395.5 MB, free: 108 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.05745, allocations: 0 / 395.5 MB, free: 108 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003973/0.05784, allocations: 83.83 kB / 395.6 MB, free: 24 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000603/0.05845, allocations: 168.7 kB / 395.7 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.563e-05/0.05848, allocations: 11.98 kB / 395.7 MB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003712/0.06219, allocations: 2.426 MB / 398.2 MB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.0622, allocations: 3.984 kB / 398.2 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.06391, allocations: 0.9636 MB / 399.1 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.059e-05/0.06398, allocations: 35.77 kB / 399.2 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/0.06403, allocations: 4 kB / 399.2 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.06425, allocations: 20.03 kB / 399.2 MB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.468e-05/0.06433, allocations: 35.94 kB / 399.2 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.779e-05/0.06437, allocations: 15.98 kB / 399.2 MB, free: 12.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002008/0.06457, allocations: 173.2 kB / 399.4 MB, free: 12.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06457, allocations: 0 / 399.4 MB, free: 12.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006561/0.06523, allocations: 136 kB / 399.5 MB, free: 11.9 MB / 378.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.000154/0.06538, allocations: 119.3 kB / 399.7 MB, free: 11.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.06674, allocations: 0.6501 MB / 400.3 MB, free: 11.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.06674, allocations: 0 / 400.3 MB, free: 11.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007548/0.0675, allocations: 407.2 kB / 400.7 MB, free: 10.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.06801, allocations: 63.62 kB / 400.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.06994, allocations: 1.047 MB / 401.8 MB, free: 9.559 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.0703, allocations: 262.7 kB / 402.1 MB, free: 9.281 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002025/0.0705, allocations: 70.91 kB / 402.1 MB, free: 9.215 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.07062, allocations: 36.48 kB / 402.2 MB, free: 9.18 MB / 378.7 MB Notification: Performance of SimCode: time 8.52e-07/0.07062, allocations: 0 / 402.2 MB, free: 9.18 MB / 378.7 MB Notification: Performance of Templates: time 0.01242/0.08303, allocations: 5.413 MB / 407.6 MB, free: 3.816 MB / 378.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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.884038382093422]