Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.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.001061/0.001061, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001188/0.001188, allocations: 161 kB / 24.56 MB, free: 16 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 0.9929/0.9929, allocations: 177.1 MB / 205 MB, free: 5.629 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.2351/0.2351, allocations: 29.41 MB / 290.9 MB, free: 2.477 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.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.266e-05, allocations: 2.312 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.004651/0.004683, allocations: 3.468 MB / 373.1 MB, free: 7.496 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.006328, allocations: 1.04 MB / 374.1 MB, free: 6.449 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.006506, allocations: 11.88 kB / 374.2 MB, free: 6.438 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006514/0.007157, allocations: 159.2 kB / 374.3 MB, free: 6.281 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000374/0.007531, allocations: 175 kB / 374.5 MB, free: 6.109 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.007807, allocations: 139.4 kB / 374.6 MB, free: 5.973 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000308/0.008115, allocations: 282.9 kB / 374.9 MB, free: 5.695 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000245/0.00836, allocations: 117.2 kB / 375 MB, free: 5.586 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.008632, allocations: 175.5 kB / 375.2 MB, free: 5.414 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.008799, allocations: 91.75 kB / 375.3 MB, free: 5.324 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.008823, allocations: 16 kB / 375.3 MB, free: 5.309 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.009066, allocations: 199.4 kB / 375.5 MB, free: 5.113 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.322e-05/0.009139, allocations: 67.81 kB / 375.5 MB, free: 5.047 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.238e-05/0.009212, allocations: 59.84 kB / 375.6 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004116/0.009623, allocations: 255.1 kB / 375.9 MB, free: 4.738 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.009628, allocations: 0 / 375.9 MB, free: 4.738 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.009629, allocations: 3.938 kB / 375.9 MB, free: 4.734 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.009635, allocations: 0 / 375.9 MB, free: 4.734 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000558/0.01019, allocations: 0.5154 MB / 376.4 MB, free: 4.184 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.01024, allocations: 11.98 kB / 376.4 MB, free: 4.172 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004848/0.01072, allocations: 116.6 kB / 376.5 MB, free: 4.059 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.011, allocations: 212.2 kB / 376.7 MB, free: 3.824 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.01101, allocations: 12.7 kB / 376.7 MB, free: 3.812 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.01105, allocations: 20.36 kB / 376.7 MB, free: 3.793 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.01131, allocations: 205.4 kB / 376.9 MB, free: 3.562 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.01132, allocations: 4.188 kB / 376.9 MB, free: 3.559 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.01134, allocations: 12.12 kB / 377 MB, free: 3.547 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.475e-05/0.01138, allocations: 20.31 kB / 377 MB, free: 3.527 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.01161, allocations: 116.3 kB / 377.1 MB, free: 3.414 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.01287, allocations: 1.229 MB / 378.3 MB, free: 2.102 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.01302, allocations: 106 kB / 378.4 MB, free: 1.973 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.332e-05/0.01307, allocations: 35.61 kB / 378.5 MB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.01308, allocations: 8 kB / 378.5 MB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.01311, allocations: 37.39 kB / 378.5 MB, free: 1.875 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.814e-06/0.01311, allocations: 0 / 378.5 MB, free: 1.875 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002199/0.01333, allocations: 124.9 kB / 378.6 MB, free: 1.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.01336, allocations: 77.11 kB / 378.7 MB, free: 1.656 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.01349, allocations: 234.6 kB / 378.9 MB, free: 1.406 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.0135, allocations: 29.7 kB / 379 MB, free: 1.371 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.94e-05/0.01358, allocations: 206.8 kB / 379.2 MB, free: 1.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.01362, allocations: 47.64 kB / 379.2 MB, free: 1.113 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.01367, allocations: 43.48 kB / 379.2 MB, free: 1.062 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.01378, allocations: 0.5078 MB / 379.8 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.631e-05/0.01381, allocations: 19.98 kB / 379.8 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.575e-05/0.0139, allocations: 136 kB / 379.9 MB, free: 348 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.01403, allocations: 168.1 kB / 380.1 MB, free: 128 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01403, allocations: 0 / 380.1 MB, free: 128 kB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001877/0.01422, allocations: 177.1 kB / 380.2 MB, free: 15.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.01423, allocations: 4.344 kB / 380.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.01424, allocations: 8 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.01425, allocations: 4 kB / 380.3 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.01442, allocations: 55.91 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007715/0.01519, allocations: 1.805 MB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.593e-05/0.01525, allocations: 15.89 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.01527, allocations: 12 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.635e-05/0.01535, allocations: 176.6 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.01538, allocations: 23.91 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.01551, allocations: 103 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.01551, allocations: 0 / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.01551, allocations: 0 / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01552, allocations: 4 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004179/0.01593, allocations: 436.5 kB / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01594, allocations: 0 / 382.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.592e-05/0.01603, allocations: 31.92 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.01604, allocations: 8.062 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.01605, allocations: 7.984 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006132/0.01666, allocations: 1.813 MB / 384.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01666, allocations: 0 / 384.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003434/0.01701, allocations: 302.8 kB / 385 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.565e-05/0.01702, allocations: 15.91 kB / 385 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.01704, allocations: 12.14 kB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.038e-05/0.01709, allocations: 0 / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.01712, allocations: 19.86 kB / 385.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-06/0.01713, allocations: 4 kB / 385.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.801e-05/0.0172, allocations: 161.1 kB / 385.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0172, allocations: 0 / 385.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002284/0.01742, allocations: 51.89 kB / 385.3 MB, free: 10.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (inertia.w,constantTorque.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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.84e-05/0.01751, allocations: 103.2 kB / 385.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.01771, allocations: 110.2 kB / 385.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01771, allocations: 4 kB / 385.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.226e-05/0.01778, allocations: 51.59 kB / 385.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.01804, allocations: 35.47 kB / 385.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009893/0.01903, allocations: 468.6 kB / 386 MB, free: 9.758 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.186e-05/0.01908, allocations: 87.97 kB / 386.1 MB, free: 9.652 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.946e-05/0.01914, allocations: 21.47 kB / 386.1 MB, free: 9.629 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.01918, allocations: 20.5 kB / 386.2 MB, free: 9.609 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01918, allocations: 0 / 386.2 MB, free: 9.609 MB / 362.7 MB Notification: Performance of Templates: time 0.00331/0.02249, allocations: 1.377 MB / 387.5 MB, free: 8.258 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2407884192653]