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.00105/0.00105, allocations: 77.97 kB / 21.42 MB, free: 3.078 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.005568/0.005568, allocations: 170.9 kB / 24.82 MB, free: 8.93 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.9333/0.9333, allocations: 158.6 MB / 186.7 MB, free: 2.809 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.1963/0.1963, allocations: 36.34 MB / 275.4 MB, free: 14.39 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.864e-06/1.864e-06, allocations: 0 / 354.2 MB, free: 62.55 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.75e-05/1.937e-05, allocations: 6.047 kB / 354.3 MB, free: 62.54 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.002673/0.002692, allocations: 2.28 MB / 356.5 MB, free: 61.47 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.003787, allocations: 0.6379 MB / 357.2 MB, free: 61.04 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.003932, allocations: 7.375 kB / 357.2 MB, free: 61.03 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.004074, allocations: 30.45 kB / 357.2 MB, free: 61.01 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002327/0.004307, allocations: 89.91 kB / 357.3 MB, free: 60.95 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.004489, allocations: 67.78 kB / 357.4 MB, free: 60.91 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.004778, allocations: 290.5 kB / 357.6 MB, free: 60.76 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.004917, allocations: 46.81 kB / 357.7 MB, free: 60.74 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.005173, allocations: 167.8 kB / 357.9 MB, free: 60.67 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.005324, allocations: 91.86 kB / 357.9 MB, free: 60.64 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.005359, allocations: 19.59 kB / 358 MB, free: 60.64 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.457e-05/0.005423, allocations: 24.84 kB / 358 MB, free: 60.64 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.781e-05/0.005461, allocations: 51.7 kB / 358 MB, free: 60.6 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.498e-05/0.005526, allocations: 80.84 kB / 358.1 MB, free: 60.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.005764, allocations: 174.6 kB / 358.3 MB, free: 60.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.005767, allocations: 0 / 358.3 MB, free: 60.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005767, allocations: 0 / 358.3 MB, free: 60.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.005775, allocations: 0 / 358.3 MB, free: 60.48 MB / 330.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.0006095/0.006384, allocations: 0.5998 MB / 358.9 MB, free: 59.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.00642, allocations: 11.55 kB / 358.9 MB, free: 59.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.006521, allocations: 41.66 kB / 358.9 MB, free: 59.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.006722, allocations: 207.2 kB / 359.1 MB, free: 59.78 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.005e-05/0.006772, allocations: 68.06 kB / 359.2 MB, free: 59.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.006801, allocations: 20.3 kB / 359.2 MB, free: 59.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.007007, allocations: 161.7 kB / 359.4 MB, free: 59.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.007017, allocations: 192 / 359.4 MB, free: 59.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.00703, allocations: 14.84 kB / 359.4 MB, free: 59.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.007037, allocations: 2.938 kB / 359.4 MB, free: 59.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.998e-05/0.007137, allocations: 53.14 kB / 359.5 MB, free: 59.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.007702, allocations: 0.5841 MB / 360 MB, free: 59.12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.007882, allocations: 102.1 kB / 360.1 MB, free: 59.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.213e-05/0.007935, allocations: 44.66 kB / 360.2 MB, free: 59.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.00795, allocations: 8.234 kB / 360.2 MB, free: 59.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.007967, allocations: 38.67 kB / 360.2 MB, free: 59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.773e-06/0.007969, allocations: 0 / 360.2 MB, free: 59 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.000518/0.008487, allocations: 364.3 kB / 360.6 MB, free: 58.76 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.812e-05/0.008505, allocations: 53.62 kB / 360.6 MB, free: 58.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.008677, allocations: 276.9 kB / 360.9 MB, free: 58.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.008692, allocations: 28.27 kB / 360.9 MB, free: 58.47 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.264e-05/0.008765, allocations: 198.8 kB / 361.1 MB, free: 58.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.008802, allocations: 71.42 kB / 361.2 MB, free: 58.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/0.008854, allocations: 50.3 kB / 361.2 MB, free: 58.19 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.55e-05/0.008929, allocations: 0.5087 MB / 361.8 MB, free: 57.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.216e-05/0.008971, allocations: 20.47 kB / 361.8 MB, free: 57.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.239e-05/0.009034, allocations: 53.83 kB / 361.8 MB, free: 57.65 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.852e-05/0.009132, allocations: 82.52 kB / 361.9 MB, free: 57.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.009134, allocations: 0 / 361.9 MB, free: 57.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001654/0.009299, allocations: 149.7 kB / 362.1 MB, free: 57.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.009314, allocations: 5.5 kB / 362.1 MB, free: 57.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.009321, allocations: 4.516 kB / 362.1 MB, free: 57.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.009333, allocations: 1.094 kB / 362.1 MB, free: 57.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.009578, allocations: 76.23 kB / 362.1 MB, free: 57.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.009583, allocations: 1.281 kB / 362.1 MB, free: 57.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.652e-05/0.009649, allocations: 13.44 kB / 362.2 MB, free: 57.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.009658, allocations: 5.422 kB / 362.2 MB, free: 57.53 MB / 330.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 6.37e-05/0.009721, allocations: 164.6 kB / 362.3 MB, free: 57.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.009765, allocations: 33.09 kB / 362.4 MB, free: 57.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.00981, allocations: 30.92 kB / 362.4 MB, free: 57.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.009814, allocations: 2.156 kB / 362.4 MB, free: 57.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.00982, allocations: 5.828 kB / 362.4 MB, free: 57.31 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.009825, allocations: 1.125 kB / 362.4 MB, free: 57.31 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000409/0.01023, allocations: 427.9 kB / 362.8 MB, free: 56.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.01024, allocations: 7.875 kB / 362.8 MB, free: 56.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.01044, allocations: 56.36 kB / 362.9 MB, free: 56.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.01044, allocations: 5.125 kB / 362.9 MB, free: 56.97 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.01045, allocations: 5.062 kB / 362.9 MB, free: 56.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.01046, allocations: 1.812 kB / 362.9 MB, free: 56.97 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01046, allocations: 1.25 kB / 362.9 MB, free: 56.97 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.01072, allocations: 306.1 kB / 363.2 MB, free: 56.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.01077, allocations: 34.77 kB / 363.2 MB, free: 56.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.0108, allocations: 5.969 kB / 363.2 MB, free: 56.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.008e-05/0.01088, allocations: 12.06 kB / 363.2 MB, free: 56.72 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.01093, allocations: 11.83 kB / 363.2 MB, free: 56.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.01094, allocations: 6.953 kB / 363.3 MB, free: 56.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.341e-05/0.01103, allocations: 187.8 kB / 363.4 MB, free: 56.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01103, allocations: 1.25 kB / 363.4 MB, free: 56.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002005/0.01123, allocations: 45.97 kB / 363.5 MB, free: 56.58 MB / 330.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 8.303e-05/0.01131, allocations: 105.2 kB / 363.6 MB, free: 56.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001783/0.01149, allocations: 95.7 kB / 363.7 MB, free: 56.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01149, allocations: 1.219 kB / 363.7 MB, free: 56.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.883e-05/0.01155, allocations: 53.84 kB / 363.7 MB, free: 56.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.01182, allocations: 43.83 kB / 363.8 MB, free: 56.42 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009768/0.01279, allocations: 0.5682 MB / 364.3 MB, free: 56.03 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.128e-05/0.01285, allocations: 81.23 kB / 364.4 MB, free: 55.96 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.834e-05/0.01292, allocations: 22.38 kB / 364.4 MB, free: 55.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.01303, allocations: 100.7 kB / 364.5 MB, free: 55.89 MB / 330.7 MB Notification: Performance of SimCode: time 1.342e-06/0.01303, allocations: 4 kB / 364.5 MB, free: 55.88 MB / 330.7 MB Notification: Performance of Templates: time 0.004924/0.01795, allocations: 2.22 MB / 366.8 MB, free: 55.41 MB / 330.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.936850195750594]