Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.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.001373/0.001373, allocations: 80.8 kB / 21.5 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.001166/0.001166, allocations: 170.8 kB / 24.91 MB, free: 8.73 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8541/0.8541, allocations: 158.6 MB / 186.8 MB, free: 2.328 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.174/0.174, allocations: 36.34 MB / 275.4 MB, free: 10.52 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.634e-06/1.634e-06, allocations: 0 / 305.2 MB, free: 14.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.676e-05, allocations: 3.438 kB / 305.2 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.002597/0.002614, allocations: 2.28 MB / 307.5 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.003727, allocations: 0.6655 MB / 308.1 MB, free: 12.08 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.003867, allocations: 6.844 kB / 308.1 MB, free: 12.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.003996, allocations: 33.62 kB / 308.2 MB, free: 12.05 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.004225, allocations: 87.94 kB / 308.3 MB, free: 11.99 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.004395, allocations: 55.22 kB / 308.3 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002802/0.004675, allocations: 301.4 kB / 308.6 MB, free: 11.8 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.004816, allocations: 56.94 kB / 308.7 MB, free: 11.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002327/0.005049, allocations: 160.3 kB / 308.8 MB, free: 11.71 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.005194, allocations: 87.66 kB / 308.9 MB, free: 11.68 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.546e-05/0.00523, allocations: 19.16 kB / 308.9 MB, free: 11.68 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.815e-05/0.005288, allocations: 24.5 kB / 308.9 MB, free: 11.68 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.988e-05/0.005328, allocations: 48.61 kB / 309 MB, free: 11.65 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.016e-05/0.005398, allocations: 80.97 kB / 309.1 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.005626, allocations: 173.9 kB / 309.2 MB, free: 11.53 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.005627, allocations: 0 / 309.2 MB, free: 11.53 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005628, allocations: 0 / 309.2 MB, free: 11.53 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.005633, allocations: 5.531 kB / 309.2 MB, free: 11.53 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005449/0.006178, allocations: 481.3 kB / 309.7 MB, free: 11.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.006209, allocations: 9.906 kB / 309.7 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.006313, allocations: 32.22 kB / 309.8 MB, free: 11.15 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.006493, allocations: 200.8 kB / 310 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.862e-05/0.006541, allocations: 65.42 kB / 310 MB, free: 10.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.00657, allocations: 21.23 kB / 310 MB, free: 10.9 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.006764, allocations: 155.5 kB / 310.2 MB, free: 10.81 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.006775, allocations: 5.125 kB / 310.2 MB, free: 10.81 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.006787, allocations: 9.312 kB / 310.2 MB, free: 10.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.006793, allocations: 3.812 kB / 310.2 MB, free: 10.8 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.701e-05/0.00688, allocations: 48.42 kB / 310.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.007335, allocations: 426.1 kB / 310.7 MB, free: 10.49 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.00749, allocations: 88.53 kB / 310.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.211e-05/0.007532, allocations: 39.92 kB / 310.8 MB, free: 10.44 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.007544, allocations: 3.812 kB / 310.8 MB, free: 10.44 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.007559, allocations: 40.78 kB / 310.8 MB, free: 10.39 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.122e-06/0.00756, allocations: 0 / 310.8 MB, free: 10.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004674/0.008027, allocations: 322.8 kB / 311.2 MB, free: 10.2 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/0.008047, allocations: 53.88 kB / 311.2 MB, free: 10.14 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.008166, allocations: 219.5 kB / 311.4 MB, free: 9.996 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.008176, allocations: 30.86 kB / 311.5 MB, free: 9.961 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.435e-05/0.008221, allocations: 134.3 kB / 311.6 MB, free: 9.844 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.008249, allocations: 68.59 kB / 311.7 MB, free: 9.789 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.008294, allocations: 48.38 kB / 311.7 MB, free: 9.754 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.099e-05/0.008335, allocations: 336.1 kB / 312 MB, free: 9.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.907e-05/0.008364, allocations: 18.69 kB / 312 MB, free: 9.43 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.901e-05/0.008403, allocations: 40.11 kB / 312.1 MB, free: 9.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.398e-05/0.008487, allocations: 81.12 kB / 312.2 MB, free: 9.379 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.008488, allocations: 0 / 312.2 MB, free: 9.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001226/0.008611, allocations: 107.1 kB / 312.3 MB, free: 9.344 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.008626, allocations: 12.94 kB / 312.3 MB, free: 9.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.008631, allocations: 0 / 312.3 MB, free: 9.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.008641, allocations: 1.594 kB / 312.3 MB, free: 9.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.008842, allocations: 79.16 kB / 312.4 MB, free: 9.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.008846, allocations: 3.641 kB / 312.4 MB, free: 9.336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.901e-05/0.008905, allocations: 14.94 kB / 312.4 MB, free: 9.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.008912, allocations: 5.812 kB / 312.4 MB, free: 9.324 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.374e-05/0.008965, allocations: 118.8 kB / 312.5 MB, free: 9.203 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.745e-05/0.008993, allocations: 24.66 kB / 312.5 MB, free: 9.195 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.061e-05/0.009023, allocations: 30.41 kB / 312.6 MB, free: 9.176 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.009025, allocations: 1.781 kB / 312.6 MB, free: 9.176 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.009028, allocations: 3.938 kB / 312.6 MB, free: 9.172 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.009032, allocations: 3.266 kB / 312.6 MB, free: 9.172 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.009309, allocations: 312.5 kB / 312.9 MB, free: 8.953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.009311, allocations: 0.9375 kB / 312.9 MB, free: 8.953 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.00948, allocations: 63.12 kB / 312.9 MB, free: 8.945 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.009482, allocations: 1.375 kB / 312.9 MB, free: 8.945 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.009492, allocations: 6.266 kB / 312.9 MB, free: 8.941 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.009494, allocations: 1.375 kB / 312.9 MB, free: 8.941 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.009494, allocations: 0 / 312.9 MB, free: 8.941 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.009673, allocations: 231.8 kB / 313.2 MB, free: 8.793 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.973e-05/0.009712, allocations: 25.92 kB / 313.2 MB, free: 8.777 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.009731, allocations: 7.781 kB / 313.2 MB, free: 8.773 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.023e-05/0.009792, allocations: 7.594 kB / 313.2 MB, free: 8.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.009829, allocations: 16.05 kB / 313.2 MB, free: 8.766 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.009834, allocations: 2.25 kB / 313.2 MB, free: 8.766 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.102e-05/0.009895, allocations: 76.72 kB / 313.3 MB, free: 8.742 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009895, allocations: 0 / 313.3 MB, free: 8.742 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001535/0.01005, allocations: 42.56 kB / 313.3 MB, free: 8.738 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.078e-05/0.01011, allocations: 83.86 kB / 313.4 MB, free: 8.66 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.01023, allocations: 94.97 kB / 313.5 MB, free: 8.629 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.01024, allocations: 1.281 kB / 313.5 MB, free: 8.629 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.843e-05/0.01028, allocations: 47.72 kB / 313.6 MB, free: 8.613 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.01048, allocations: 39.53 kB / 313.6 MB, free: 8.602 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007677/0.01125, allocations: 0.5103 MB / 314.1 MB, free: 8.266 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.512e-05/0.0113, allocations: 82.27 kB / 314.2 MB, free: 8.195 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.373e-05/0.01136, allocations: 22.91 kB / 314.2 MB, free: 8.191 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.282e-05/0.01144, allocations: 78.48 kB / 314.3 MB, free: 8.145 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01144, allocations: 1.594 kB / 314.3 MB, free: 8.145 MB / 282.7 MB Notification: Performance of Templates: time 0.003723/0.01517, allocations: 2.146 MB / 316.4 MB, free: 7.469 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8672068510204554]