Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.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.001799/0.001799, allocations: 91.61 kB / 20.96 MB, free: 3.453 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.001918/0.001918, allocations: 165.3 kB / 24.27 MB, free: 144 kB / 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 1.346/1.346, allocations: 158.6 MB / 186.1 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] 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.274/0.274, allocations: 36.33 MB / 274.7 MB, free: 10.7 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.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 353 MB, free: 3.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/1.911e-05, allocations: 9.688 kB / 353 MB, free: 3.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.002489/0.002508, allocations: 2.153 MB / 355.2 MB, free: 1.613 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008537/0.003362, allocations: 0.6164 MB / 355.8 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.003469, allocations: 7.938 kB / 355.8 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.003595, allocations: 23.67 kB / 355.8 MB, free: 0.957 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.003797, allocations: 79.33 kB / 355.9 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000133/0.00393, allocations: 55.86 kB / 356 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.004147, allocations: 254.7 kB / 356.2 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.004293, allocations: 40.42 kB / 356.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.004459, allocations: 143.6 kB / 356.4 MB, free: 404 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.004582, allocations: 79.78 kB / 356.5 MB, free: 324 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.167e-05/0.004614, allocations: 15.94 kB / 356.5 MB, free: 308 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.785e-05/0.004692, allocations: 20 kB / 356.5 MB, free: 288 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.371e-05/0.004735, allocations: 39.83 kB / 356.6 MB, free: 248 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.981e-05/0.004805, allocations: 71.77 kB / 356.6 MB, free: 176 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.005045, allocations: 191.3 kB / 356.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.005047, allocations: 0 / 356.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005048, allocations: 4 kB / 356.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.005053, allocations: 3.938 kB / 356.8 MB, free: 15.97 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001014/0.006067, allocations: 0.577 MB / 357.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.006105, allocations: 8.031 kB / 357.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.006235, allocations: 36.8 kB / 357.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.00659, allocations: 207.7 kB / 357.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.006611, allocations: 8.375 kB / 357.7 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.00665, allocations: 24.33 kB / 357.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.006975, allocations: 157.5 kB / 357.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.006989, allocations: 192 / 357.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.007005, allocations: 4.375 kB / 357.8 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.007016, allocations: 11.92 kB / 357.8 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/0.007281, allocations: 95.88 kB / 357.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.008298, allocations: 0.6115 MB / 358.6 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.008574, allocations: 130.9 kB / 358.7 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.008723, allocations: 67.7 kB / 358.7 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.008742, allocations: 0 / 358.7 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.008778, allocations: 41.39 kB / 358.8 MB, free: 13.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 9.21e-07/0.008779, allocations: 0 / 358.8 MB, free: 13.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.00111/0.009889, allocations: 484.7 kB / 359.3 MB, free: 13.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.009949, allocations: 63.28 kB / 359.3 MB, free: 13.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003364/0.01029, allocations: 300.3 kB / 359.6 MB, free: 12.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.01031, allocations: 37.7 kB / 359.7 MB, free: 12.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.01046, allocations: 191.2 kB / 359.8 MB, free: 12.74 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.357e-05/0.01054, allocations: 71.38 kB / 359.9 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.63e-05/0.01062, allocations: 51.31 kB / 360 MB, free: 12.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002917/0.01092, allocations: 0.5118 MB / 360.5 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.01105, allocations: 47.97 kB / 360.5 MB, free: 12.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.0112, allocations: 79.84 kB / 360.6 MB, free: 11.95 MB / 298.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: grid.f = grid.fnom (0.15915494309189535 * generator.omega_e_nom = grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.01234, allocations: 346.7 kB / 360.9 MB, free: 11.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.01234, allocations: 0 / 360.9 MB, free: 11.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003762/0.01272, allocations: 193.5 kB / 361.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.01273, allocations: 6.812 kB / 361.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.01274, allocations: 3.984 kB / 361.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.01276, allocations: 4 kB / 361.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.01302, allocations: 59.84 kB / 361.2 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.01303, allocations: 0 / 361.2 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.01315, allocations: 8 kB / 361.2 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.01316, allocations: 4 kB / 361.2 MB, free: 11.32 MB / 298.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: grid.f = grid.fnom. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 0.000168/0.01333, allocations: 176.6 kB / 361.4 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.905e-05/0.01339, allocations: 35.84 kB / 361.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.406e-05/0.01346, allocations: 26.12 kB / 361.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.01347, allocations: 4 kB / 361.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.01347, allocations: 3.938 kB / 361.4 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.01348, allocations: 4.031 kB / 361.5 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000803/0.01428, allocations: 0.5167 MB / 362 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.01428, allocations: 0 / 362 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002738/0.01456, allocations: 51.91 kB / 362 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.01456, allocations: 7.938 kB / 362 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.01458, allocations: 4 kB / 362 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01458, allocations: 0 / 362 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.01458, allocations: 4 kB / 362 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005648/0.01514, allocations: 367.7 kB / 362.4 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.781e-05/0.01523, allocations: 39.77 kB / 362.4 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/0.01526, allocations: 4 kB / 362.4 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.0154, allocations: 4 kB / 362.4 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.01546, allocations: 19.91 kB / 362.5 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.01547, allocations: 8 kB / 362.5 MB, free: 9.984 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002153/0.01568, allocations: 217.1 kB / 362.7 MB, free: 9.777 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01568, allocations: 3.938 kB / 362.7 MB, free: 9.773 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002842/0.01597, allocations: 40 kB / 362.7 MB, free: 9.734 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (generator.phi,generator.omega_m,generator.omega_e_filt) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 0.0001203/0.01609, allocations: 91.25 kB / 362.8 MB, free: 9.637 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003528/0.01644, allocations: 141.9 kB / 363 MB, free: 9.496 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01644, allocations: 0 / 363 MB, free: 9.496 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001517/0.0166, allocations: 71.59 kB / 363 MB, free: 9.422 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.01701, allocations: 48.41 kB / 363.1 MB, free: 9.375 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.01811, allocations: 0.5055 MB / 363.6 MB, free: 8.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.01826, allocations: 129.9 kB / 363.7 MB, free: 8.691 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.239e-05/0.01834, allocations: 25.62 kB / 363.7 MB, free: 8.668 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.842e-05/0.01841, allocations: 20.5 kB / 363.7 MB, free: 8.648 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01841, allocations: 0 / 363.7 MB, free: 8.648 MB / 298.7 MB Notification: Performance of Templates: time 0.006151/0.02456, allocations: 2.072 MB / 365.8 MB, free: 6.594 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.511226600967348]