Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.0009933/0.0009933, allocations: 80.92 kB / 21.49 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.001134/0.001134, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.9027/0.9027, allocations: 158.6 MB / 186.8 MB, free: 2.316 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.1767/0.1767, allocations: 36.35 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.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 305.2 MB, free: 14.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.59e-05/1.736e-05, allocations: 4.125 kB / 305.2 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.003383/0.0034, allocations: 2.079 MB / 307.2 MB, free: 12.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.004519, allocations: 0.6039 MB / 307.8 MB, free: 12.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.004649, allocations: 9.562 kB / 307.9 MB, free: 12.26 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.004783, allocations: 23.52 kB / 307.9 MB, free: 12.24 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002531/0.005036, allocations: 67.45 kB / 307.9 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.005207, allocations: 50.84 kB / 308 MB, free: 12.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.005472, allocations: 211.5 kB / 308.2 MB, free: 12.06 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.005593, allocations: 29.64 kB / 308.2 MB, free: 12.04 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.005833, allocations: 127 kB / 308.4 MB, free: 11.99 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.005984, allocations: 67.23 kB / 308.4 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.006015, allocations: 12.62 kB / 308.4 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.796e-05/0.006073, allocations: 13.81 kB / 308.4 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.822e-05/0.006112, allocations: 35.78 kB / 308.5 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.043e-05/0.006182, allocations: 61.44 kB / 308.5 MB, free: 11.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.006406, allocations: 119.9 kB / 308.7 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.006409, allocations: 0.75 kB / 308.7 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.00641, allocations: 0 / 308.7 MB, free: 11.86 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.006414, allocations: 0 / 308.7 MB, free: 11.86 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005379/0.006952, allocations: 405 kB / 309.1 MB, free: 11.53 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.006989, allocations: 10.25 kB / 309.1 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.007092, allocations: 20.92 kB / 309.1 MB, free: 11.53 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.00729, allocations: 173.5 kB / 309.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.007305, allocations: 8.312 kB / 309.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.007337, allocations: 13.59 kB / 309.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.007513, allocations: 116.9 kB / 309.4 MB, free: 11.28 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.007526, allocations: 5.031 kB / 309.4 MB, free: 11.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.007537, allocations: 5.5 kB / 309.4 MB, free: 11.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.007546, allocations: 11.19 kB / 309.4 MB, free: 11.26 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.552e-05/0.007641, allocations: 40.67 kB / 309.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.008121, allocations: 340.3 kB / 309.8 MB, free: 10.99 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.008296, allocations: 75.09 kB / 309.9 MB, free: 10.95 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.749e-05/0.008333, allocations: 23.73 kB / 309.9 MB, free: 10.94 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.008344, allocations: 7 kB / 309.9 MB, free: 10.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.008362, allocations: 33 kB / 309.9 MB, free: 10.89 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.944e-06/0.008364, allocations: 224 / 309.9 MB, free: 10.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005131/0.008877, allocations: 264.3 kB / 310.2 MB, free: 10.71 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.008904, allocations: 52.41 kB / 310.2 MB, free: 10.65 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.009051, allocations: 199.7 kB / 310.4 MB, free: 10.51 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.00906, allocations: 25.7 kB / 310.4 MB, free: 10.48 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.009111, allocations: 128.5 kB / 310.6 MB, free: 10.36 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.009139, allocations: 45.25 kB / 310.6 MB, free: 10.33 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.009182, allocations: 33.22 kB / 310.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.516e-05/0.009228, allocations: 336.9 kB / 311 MB, free: 9.973 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.512e-05/0.009253, allocations: 11.92 kB / 311 MB, free: 9.973 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-05/0.009296, allocations: 43.8 kB / 311 MB, free: 9.941 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.748e-05/0.009373, allocations: 54.53 kB / 311.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.009375, allocations: 0 / 311.1 MB, free: 9.914 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001358/0.00951, allocations: 87.44 kB / 311.2 MB, free: 9.875 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.009523, allocations: 4.562 kB / 311.2 MB, free: 9.875 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.009529, allocations: 5.281 kB / 311.2 MB, free: 9.871 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.009541, allocations: 1.656 kB / 311.2 MB, free: 9.871 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.009669, allocations: 35.88 kB / 311.2 MB, free: 9.867 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.009674, allocations: 3.469 kB / 311.2 MB, free: 9.867 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.956e-05/0.009744, allocations: 6.938 kB / 311.2 MB, free: 9.863 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.009752, allocations: 6.875 kB / 311.2 MB, free: 9.859 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 5.7e-05/0.009809, allocations: 117.1 kB / 311.4 MB, free: 9.738 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.009847, allocations: 13.11 kB / 311.4 MB, free: 9.738 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.636e-05/0.009883, allocations: 19.39 kB / 311.4 MB, free: 9.727 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.009886, allocations: 5.406 kB / 311.4 MB, free: 9.723 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.00989, allocations: 5.766 kB / 311.4 MB, free: 9.723 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.009894, allocations: 0.75 kB / 311.4 MB, free: 9.723 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.01021, allocations: 266.6 kB / 311.7 MB, free: 9.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01021, allocations: 0.8438 kB / 311.7 MB, free: 9.512 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001304/0.01034, allocations: 38.19 kB / 311.7 MB, free: 9.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.01034, allocations: 1 kB / 311.7 MB, free: 9.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.01035, allocations: 1.344 kB / 311.7 MB, free: 9.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01035, allocations: 0.8438 kB / 311.7 MB, free: 9.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.01036, allocations: 4.906 kB / 311.7 MB, free: 9.496 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.01053, allocations: 191.4 kB / 311.9 MB, free: 9.355 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.01058, allocations: 20.59 kB / 311.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.01059, allocations: 4.938 kB / 311.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.322e-05/0.01065, allocations: 7.234 kB / 311.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-05/0.01067, allocations: 6.734 kB / 311.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.01068, allocations: 6.25 kB / 311.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.216e-05/0.01073, allocations: 52.05 kB / 312 MB, free: 9.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01073, allocations: 5.281 kB / 312 MB, free: 9.316 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001393/0.01087, allocations: 30.56 kB / 312 MB, free: 9.312 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 6.519e-05/0.01093, allocations: 83.83 kB / 312.1 MB, free: 9.234 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.463e-05/0.01102, allocations: 56.23 kB / 312.2 MB, free: 9.219 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.01102, allocations: 1.375 kB / 312.2 MB, free: 9.219 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.812e-05/0.01105, allocations: 30.53 kB / 312.2 MB, free: 9.211 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.01123, allocations: 41.39 kB / 312.2 MB, free: 9.195 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007205/0.01195, allocations: 420.7 kB / 312.6 MB, free: 8.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.539e-05/0.01199, allocations: 73.44 kB / 312.7 MB, free: 8.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.615e-05/0.01203, allocations: 18.44 kB / 312.7 MB, free: 8.836 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.785e-05/0.0121, allocations: 72.47 kB / 312.8 MB, free: 8.789 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.0121, allocations: 4 kB / 312.8 MB, free: 8.785 MB / 282.7 MB Notification: Performance of Templates: time 0.004028/0.01613, allocations: 1.682 MB / 314.5 MB, free: 8.543 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.915928272996098]