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.001422/0.001422, 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.001252/0.001252, allocations: 170 kB / 24.91 MB, free: 8.695 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.041/1.041, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2735/0.2735, allocations: 29.41 MB / 291.2 MB, free: 2.492 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.773e-06/1.773e-06, allocations: 0 / 316.8 MB, free: 40 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.233e-05, allocations: 3.188 kB / 316.8 MB, free: 36 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.004366/0.004398, allocations: 3.466 MB / 320.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.005832, allocations: 1.056 MB / 321.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.005981, allocations: 11.88 kB / 321.4 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005217/0.006503, allocations: 155.2 kB / 321.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003672/0.00687, allocations: 182.9 kB / 321.7 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.007139, allocations: 131.5 kB / 321.8 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003007/0.00744, allocations: 283.2 kB / 322.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.007647, allocations: 126.9 kB / 322.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002485/0.007895, allocations: 175.5 kB / 322.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.008043, allocations: 91.69 kB / 322.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.008063, allocations: 16 kB / 322.5 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002456/0.008309, allocations: 187.4 kB / 322.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.789e-05/0.008377, allocations: 63.83 kB / 322.7 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.35e-05/0.00844, allocations: 67.77 kB / 322.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000286/0.008726, allocations: 247.1 kB / 323 MB, free: 9.773 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.008729, allocations: 4 kB / 323 MB, free: 9.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.008729, allocations: 0 / 323 MB, free: 9.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.008733, allocations: 0 / 323 MB, free: 9.77 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0004431/0.009176, allocations: 403.7 kB / 323.4 MB, free: 9.352 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.009211, allocations: 11.98 kB / 323.4 MB, free: 9.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004002/0.009612, allocations: 112.8 kB / 323.6 MB, free: 9.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.009841, allocations: 205.9 kB / 323.8 MB, free: 9.004 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.009854, allocations: 12.7 kB / 323.8 MB, free: 8.992 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.009887, allocations: 20.36 kB / 323.8 MB, free: 8.973 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.01009, allocations: 176.1 kB / 324 MB, free: 8.777 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.01011, allocations: 8.062 kB / 324 MB, free: 8.773 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.01012, allocations: 12.12 kB / 324 MB, free: 8.762 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/0.01015, allocations: 16.25 kB / 324 MB, free: 8.746 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.01027, allocations: 95.23 kB / 324.1 MB, free: 8.652 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008347/0.0111, allocations: 0.8938 MB / 325 MB, free: 7.699 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.01124, allocations: 126.6 kB / 325.1 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.17e-05/0.01127, allocations: 25.77 kB / 325.1 MB, free: 7.523 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.01128, allocations: 0 / 325.1 MB, free: 7.523 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.01131, allocations: 38.56 kB / 325.2 MB, free: 7.477 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 2.535e-06/0.01131, allocations: 0 / 325.2 MB, free: 7.477 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001589/0.01147, allocations: 87.45 kB / 325.3 MB, free: 7.387 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.01151, allocations: 85.11 kB / 325.3 MB, free: 7.285 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.01162, allocations: 179.2 kB / 325.5 MB, free: 7.094 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.01164, allocations: 37.64 kB / 325.6 MB, free: 7.051 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/0.0117, allocations: 144.1 kB / 325.7 MB, free: 6.906 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.01173, allocations: 47.56 kB / 325.7 MB, free: 6.859 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.01178, allocations: 37.69 kB / 325.8 MB, free: 6.816 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.01187, allocations: 330.7 kB / 326.1 MB, free: 6.484 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.693e-05/0.0119, allocations: 22.75 kB / 326.1 MB, free: 6.461 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.796e-05/0.01197, allocations: 96.72 kB / 326.2 MB, free: 6.332 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.01209, allocations: 142.1 kB / 326.4 MB, free: 6.156 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.01209, allocations: 0 / 326.4 MB, free: 6.156 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001298/0.01222, allocations: 132.2 kB / 326.5 MB, free: 6.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.01223, allocations: 8 kB / 326.5 MB, free: 6.012 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.01224, allocations: 4 kB / 326.5 MB, free: 6.008 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.01225, allocations: 4 kB / 326.5 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.0124, allocations: 51.91 kB / 326.6 MB, free: 5.953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006892/0.01309, allocations: 1.23 MB / 327.8 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.571e-05/0.01316, allocations: 23.84 kB / 327.8 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.01317, allocations: 4 kB / 327.8 MB, free: 4.602 MB / 298.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.471e-05/0.01325, allocations: 124.6 kB / 327.9 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.01327, allocations: 11.98 kB / 327.9 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.01338, allocations: 83.12 kB / 328 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.01338, allocations: 12.11 kB / 328 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.61e-07/0.01338, allocations: 0 / 328 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.01339, allocations: 7.922 kB / 328 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.01371, allocations: 341.8 kB / 328.4 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.01371, allocations: 4 kB / 328.4 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.103e-05/0.01379, allocations: 35.91 kB / 328.4 MB, free: 3.941 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.0138, allocations: 4 kB / 328.4 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.01381, allocations: 4 kB / 328.4 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005452/0.01435, allocations: 1.228 MB / 329.7 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01435, allocations: 0 / 329.7 MB, free: 2.609 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.01454, allocations: 271.6 kB / 329.9 MB, free: 2.316 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.01455, allocations: 19.84 kB / 329.9 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.01457, allocations: 4 kB / 329.9 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.691e-05/0.01461, allocations: 7.984 kB / 329.9 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.927e-05/0.01463, allocations: 15.86 kB / 330 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/0.01464, allocations: 4.156 kB / 330 MB, free: 2.266 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.842e-05/0.01468, allocations: 50.78 kB / 330 MB, free: 2.215 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01468, allocations: 0 / 330 MB, free: 2.215 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001879/0.01487, allocations: 51.89 kB / 330.1 MB, free: 2.164 MB / 298.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 9.094e-05/0.01496, allocations: 76.42 kB / 330.1 MB, free: 2.078 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.01511, allocations: 85.17 kB / 330.2 MB, free: 1.992 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.01511, allocations: 4 kB / 330.2 MB, free: 1.988 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.803e-05/0.01517, allocations: 44.89 kB / 330.3 MB, free: 1.941 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.01537, allocations: 41.17 kB / 330.3 MB, free: 1.902 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009024/0.01627, allocations: 469 kB / 330.8 MB, free: 1.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.88e-05/0.01633, allocations: 87.97 kB / 330.9 MB, free: 1.305 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.804e-05/0.01638, allocations: 13.48 kB / 330.9 MB, free: 1.289 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.837e-05/0.01645, allocations: 67.38 kB / 330.9 MB, free: 1.223 MB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01645, allocations: 0 / 330.9 MB, free: 1.223 MB / 298.7 MB Notification: Performance of Templates: time 0.003384/0.01983, allocations: 1.508 MB / 332.4 MB, free: 15.73 MB / 314.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: 2.951789224985987]