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.001399/0.001399, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001794/0.001794, allocations: 164.8 kB / 25.61 MB, free: 8.898 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 0.9092/0.9092, allocations: 177.1 MB / 206 MB, free: 4.492 MB / 186.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.09244/0.09244, allocations: 19.74 MB / 282.3 MB, free: 12.25 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.283e-06/1.283e-06, allocations: 0 / 359.2 MB, free: 44.17 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.264e-05, allocations: 5.812 kB / 359.2 MB, free: 44.16 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.002204/0.002227, allocations: 2.088 MB / 361.3 MB, free: 42.55 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007436/0.002971, allocations: 0.5824 MB / 361.8 MB, free: 42.05 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.187e-05/0.003063, allocations: 4 kB / 361.9 MB, free: 42.04 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.00317, allocations: 22.95 kB / 361.9 MB, free: 42.03 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.003335, allocations: 71.83 kB / 361.9 MB, free: 41.97 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.003461, allocations: 44.5 kB / 362 MB, free: 41.94 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.003632, allocations: 225.9 kB / 362.2 MB, free: 41.74 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.716e-05/0.003729, allocations: 23.77 kB / 362.2 MB, free: 41.73 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.003903, allocations: 124.9 kB / 362.4 MB, free: 41.63 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.004005, allocations: 64.25 kB / 362.4 MB, free: 41.58 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.004025, allocations: 13.19 kB / 362.4 MB, free: 41.57 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.074e-05/0.004066, allocations: 19.94 kB / 362.4 MB, free: 41.55 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.004089, allocations: 30.16 kB / 362.5 MB, free: 41.53 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.921e-05/0.004128, allocations: 61.48 kB / 362.5 MB, free: 41.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.004285, allocations: 121.9 kB / 362.7 MB, free: 41.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.004288, allocations: 0.6562 kB / 362.7 MB, free: 41.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004289, allocations: 4 kB / 362.7 MB, free: 41.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.004293, allocations: 0 / 362.7 MB, free: 41.38 MB / 314.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.0004251/0.004718, allocations: 0.5213 MB / 363.2 MB, free: 40.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.777e-05/0.004746, allocations: 8.031 kB / 363.2 MB, free: 40.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.173e-05/0.004817, allocations: 33.55 kB / 363.2 MB, free: 40.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.004965, allocations: 185.6 kB / 363.4 MB, free: 40.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.378e-06/0.004975, allocations: 12.38 kB / 363.4 MB, free: 40.6 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.004995, allocations: 16.33 kB / 363.4 MB, free: 40.58 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.005112, allocations: 120.5 kB / 363.6 MB, free: 40.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.005122, allocations: 4.172 kB / 363.6 MB, free: 40.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.005131, allocations: 6.562 kB / 363.6 MB, free: 40.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.005136, allocations: 7.938 kB / 363.6 MB, free: 40.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.774e-05/0.005194, allocations: 50.23 kB / 363.6 MB, free: 40.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.005549, allocations: 0.4911 MB / 364.1 MB, free: 39.87 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.005677, allocations: 75.53 kB / 364.2 MB, free: 39.79 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.635e-05/0.005703, allocations: 39.59 kB / 364.2 MB, free: 39.74 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.00571, allocations: 0 / 364.2 MB, free: 39.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.203e-05/0.005722, allocations: 37.39 kB / 364.3 MB, free: 39.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.005723, allocations: 4 kB / 364.3 MB, free: 39.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003201/0.006044, allocations: 278.4 kB / 364.5 MB, free: 39.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.618e-05/0.00606, allocations: 55.41 kB / 364.6 MB, free: 39.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.089e-05/0.006141, allocations: 254.7 kB / 364.8 MB, free: 39.06 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.232e-06/0.006147, allocations: 30.61 kB / 364.9 MB, free: 39.02 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.006191, allocations: 175 kB / 365 MB, free: 38.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.006212, allocations: 51.56 kB / 365.1 MB, free: 38.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.006243, allocations: 41 kB / 365.1 MB, free: 38.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.716e-05/0.00628, allocations: 0.5001 MB / 365.6 MB, free: 38.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.762e-05/0.006298, allocations: 15.98 kB / 365.6 MB, free: 38.22 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.954e-05/0.006327, allocations: 39.05 kB / 365.7 MB, free: 38.17 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.963e-05/0.006377, allocations: 73.44 kB / 365.8 MB, free: 38.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.006378, allocations: 0 / 365.8 MB, free: 38.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.363e-05/0.006471, allocations: 104.7 kB / 365.9 MB, free: 37.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.006483, allocations: 11.98 kB / 365.9 MB, free: 37.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.006487, allocations: 0 / 365.9 MB, free: 37.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/0.006495, allocations: 1.75 kB / 365.9 MB, free: 37.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.343e-05/0.006578, allocations: 35.92 kB / 365.9 MB, free: 37.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.006582, allocations: 6.188 kB / 365.9 MB, free: 37.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.953e-05/0.006632, allocations: 7.938 kB / 365.9 MB, free: 37.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.006637, allocations: 4.625 kB / 365.9 MB, free: 37.92 MB / 314.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 4.379e-05/0.006681, allocations: 161.4 kB / 366.1 MB, free: 37.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.006707, allocations: 17.5 kB / 366.1 MB, free: 37.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.006735, allocations: 26.05 kB / 366.1 MB, free: 37.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.006737, allocations: 4.844 kB / 366.1 MB, free: 37.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.006739, allocations: 0 / 366.1 MB, free: 37.7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.006743, allocations: 3.938 kB / 366.1 MB, free: 37.7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.006959, allocations: 369.4 kB / 366.5 MB, free: 37.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.00696, allocations: 0 / 366.5 MB, free: 37.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.228e-05/0.007042, allocations: 31.48 kB / 366.5 MB, free: 37.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.007044, allocations: 0 / 366.5 MB, free: 37.28 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.007051, allocations: 0 / 366.5 MB, free: 37.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.007052, allocations: 3.938 kB / 366.5 MB, free: 37.28 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.007053, allocations: 3.938 kB / 366.5 MB, free: 37.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.007174, allocations: 262.6 kB / 366.8 MB, free: 37 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.007205, allocations: 27.88 kB / 366.8 MB, free: 36.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.007221, allocations: 0 / 366.8 MB, free: 36.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.153e-05/0.007282, allocations: 11.94 kB / 366.8 MB, free: 36.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.288e-05/0.007305, allocations: 5.703 kB / 366.8 MB, free: 36.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.00731, allocations: 8 kB / 366.8 MB, free: 36.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.395e-05/0.007354, allocations: 175.2 kB / 367 MB, free: 36.78 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007354, allocations: 0 / 367 MB, free: 36.78 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001607/0.007514, allocations: 32 kB / 367 MB, free: 36.75 MB / 314.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 5.977e-05/0.007574, allocations: 101.3 kB / 367.1 MB, free: 36.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.228e-05/0.007656, allocations: 71.56 kB / 367.2 MB, free: 36.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.007658, allocations: 0 / 367.2 MB, free: 36.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.628e-05/0.007684, allocations: 31.67 kB / 367.2 MB, free: 36.53 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.007927, allocations: 35.12 kB / 367.3 MB, free: 36.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006961/0.008623, allocations: 466.3 kB / 367.7 MB, free: 36.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.625e-05/0.008649, allocations: 71.83 kB / 367.8 MB, free: 35.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.682e-05/0.008696, allocations: 21.98 kB / 367.8 MB, free: 35.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.598e-05/0.008762, allocations: 94.19 kB / 367.9 MB, free: 35.82 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.008763, allocations: 0 / 367.9 MB, free: 35.82 MB / 314.7 MB Notification: Performance of Templates: time 0.003064/0.01183, allocations: 1.749 MB / 369.7 MB, free: 34.14 MB / 314.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.732606580015272]