Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.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.0006826/0.0006826, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009083/0.001591, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.000704/0.000704, allocations: 169.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001173/0.001877, allocations: 455.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9803/0.9803, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09536/1.076, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.09838/0.09838, allocations: 19.75 MB / 263.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01343/0.1118, allocations: 7.564 MB / 271.3 MB, free: 3.473 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 272.6 MB, free: 2.219 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.769e-05, allocations: 2.312 kB / 272.6 MB, free: 2.215 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.003999/0.004027, allocations: 2.156 MB / 274.7 MB, free: 44 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1486/0.1526, allocations: 0.5858 MB / 275.3 MB, free: 1.516 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.1528, allocations: 2.625 kB / 275.3 MB, free: 1.516 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.503e-05/0.1528, allocations: 24.66 kB / 275.3 MB, free: 1.516 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.153, allocations: 68.67 kB / 275.4 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.1531, allocations: 46.03 kB / 275.4 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002553/0.1534, allocations: 221.9 kB / 275.7 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.1536, allocations: 32.22 kB / 275.7 MB, free: 1.441 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/0.1539, allocations: 155.8 kB / 275.8 MB, free: 1.418 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.154, allocations: 66.16 kB / 275.9 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.154, allocations: 12.56 kB / 275.9 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.838e-05/0.1541, allocations: 15.45 kB / 275.9 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.895e-05/0.1542, allocations: 24.66 kB / 276 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.231e-05/0.1542, allocations: 45.16 kB / 276 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.1545, allocations: 118.8 kB / 276.1 MB, free: 1.375 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-05/0.1545, allocations: 0.8438 kB / 276.1 MB, free: 1.375 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1545, allocations: 0 / 276.1 MB, free: 1.375 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.1545, allocations: 3.375 kB / 276.1 MB, free: 1.375 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006207/0.1551, allocations: 436.1 kB / 276.5 MB, free: 1.074 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1551, allocations: 10.09 kB / 276.6 MB, free: 1.074 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.1553, allocations: 101.5 kB / 276.7 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.1554, allocations: 166.8 kB / 276.8 MB, free: 0.832 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1555, allocations: 14.31 kB / 276.8 MB, free: 0.832 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.1555, allocations: 17.2 kB / 276.8 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.1556, allocations: 124.5 kB / 277 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1556, allocations: 2.688 kB / 277 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.1556, allocations: 4.844 kB / 277 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.1557, allocations: 6.25 kB / 277 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.256e-05/0.1557, allocations: 38.5 kB / 277 MB, free: 0.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003882/0.1561, allocations: 344.2 kB / 277.4 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.1563, allocations: 66.12 kB / 277.4 MB, free: 492 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.911e-05/0.1563, allocations: 28.12 kB / 277.4 MB, free: 484 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.327e-06/0.1563, allocations: 2.531 kB / 277.4 MB, free: 484 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.1563, allocations: 33.19 kB / 277.5 MB, free: 444 kB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.894e-06/0.1563, allocations: 3.938 kB / 277.5 MB, free: 440 kB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004407/0.1568, allocations: 262.8 kB / 277.7 MB, free: 272 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.1568, allocations: 61.66 kB / 277.8 MB, free: 200 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.1569, allocations: 196.7 kB / 278 MB, free: 84 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.1569, allocations: 26.73 kB / 278 MB, free: 52 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/0.157, allocations: 119.2 kB / 278.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.157, allocations: 43.38 kB / 278.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.157, allocations: 33.8 kB / 278.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.881e-05/0.1571, allocations: 334.8 kB / 278.5 MB, free: 15.6 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.214e-05/0.1572, allocations: 13.97 kB / 278.6 MB, free: 15.59 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.763e-05/0.1572, allocations: 39.34 kB / 278.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.295e-05/0.1573, allocations: 63.03 kB / 278.7 MB, free: 15.54 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1573, allocations: 0 / 278.7 MB, free: 15.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001187/0.1574, allocations: 86.73 kB / 278.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1574, allocations: 6.062 kB / 278.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1574, allocations: 0 / 278.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.968e-06/0.1574, allocations: 5.312 kB / 278.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.1576, allocations: 41.05 kB / 278.8 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1576, allocations: 1.469 kB / 278.8 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.177e-05/0.1576, allocations: 16.34 kB / 278.8 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.1576, allocations: 2.281 kB / 278.8 MB, free: 15.5 MB / 282.7 MB 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 (16): * Single equations (assignments): 16 * 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.591e-05/0.1577, allocations: 116.5 kB / 278.9 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.1577, allocations: 15.67 kB / 278.9 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.626e-05/0.1578, allocations: 24.62 kB / 279 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1578, allocations: 1.281 kB / 279 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1578, allocations: 1.75 kB / 279 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1578, allocations: 0.75 kB / 279 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.158, allocations: 267.6 kB / 279.2 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.158, allocations: 4 kB / 279.2 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.1582, allocations: 35.78 kB / 279.3 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-05/0.1582, allocations: 15.8 kB / 279.3 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1582, allocations: 4.859 kB / 279.3 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.1582, allocations: 9.188 kB / 279.3 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1582, allocations: 1.375 kB / 279.3 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.1582, allocations: 0.75 kB / 279.3 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.1584, allocations: 190.8 kB / 279.5 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.1584, allocations: 4.203 kB / 279.5 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.426e-05/0.1585, allocations: 6.547 kB / 279.5 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.1585, allocations: 11.09 kB / 279.5 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.1585, allocations: 5.031 kB / 279.5 MB, free: 15.03 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.358e-05/0.1586, allocations: 64.44 kB / 279.6 MB, free: 15.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1586, allocations: 4 kB / 279.6 MB, free: 15.01 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001471/0.1587, allocations: 31.41 kB / 279.6 MB, free: 15.01 MB / 282.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 (12): * Single equations (assignments): 12 * 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.111e-05/0.1588, allocations: 74.34 kB / 279.7 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.645e-05/0.1589, allocations: 54.02 kB / 279.7 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.1589, allocations: 3.031 kB / 279.7 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.647e-05/0.1589, allocations: 33.27 kB / 279.8 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.1592, allocations: 50.5 kB / 279.8 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/0.1617, allocations: 403.3 kB / 280.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.076e-05/0.1617, allocations: 77.47 kB / 280.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.772e-05/0.1618, allocations: 16.5 kB / 280.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.696e-05/0.1619, allocations: 73.61 kB / 280.4 MB, free: 14.56 MB / 282.7 MB Notification: Performance of SimCode: time 8.81e-07/0.1619, allocations: 0 / 280.4 MB, free: 14.56 MB / 282.7 MB Notification: Performance of Templates: time 0.004084/0.166, allocations: 1.792 MB / 282.2 MB, free: 14.37 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.675793810747564]