Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.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.0008615/0.0008615, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0008513/0.0008513, allocations: 172.2 kB / 24.92 MB, free: 9.113 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.8951/0.8951, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.08437/0.08437, allocations: 19.74 MB / 281.6 MB, free: 9.16 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.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 1.219 kB / 305.2 MB, free: 13.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.212e-05/1.376e-05, allocations: 3.953 kB / 305.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.002322/0.002336, allocations: 2.3 MB / 307.5 MB, free: 11.6 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009606/0.003296, allocations: 0.6458 MB / 308.1 MB, free: 11.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.003403, allocations: 7.938 kB / 308.1 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.003519, allocations: 35.59 kB / 308.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.003735, allocations: 98.11 kB / 308.2 MB, free: 10.97 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001527/0.003887, allocations: 55.06 kB / 308.3 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.00411, allocations: 289.2 kB / 308.6 MB, free: 10.68 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.004219, allocations: 56.59 kB / 308.6 MB, free: 10.62 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.004417, allocations: 161.2 kB / 308.8 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.004538, allocations: 85.69 kB / 308.9 MB, free: 10.44 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.004564, allocations: 20 kB / 308.9 MB, free: 10.42 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.39e-05/0.004608, allocations: 23.94 kB / 308.9 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.556e-05/0.004644, allocations: 48.84 kB / 309 MB, free: 10.36 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.651e-05/0.0047, allocations: 75.95 kB / 309 MB, free: 10.29 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.004894, allocations: 170.4 kB / 309.2 MB, free: 10.15 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.004895, allocations: 0 / 309.2 MB, free: 10.15 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.004895, allocations: 0 / 309.2 MB, free: 10.15 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.004899, allocations: 0 / 309.2 MB, free: 10.15 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004736/0.005372, allocations: 472 kB / 309.7 MB, free: 9.699 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.598e-05/0.005398, allocations: 8.031 kB / 309.7 MB, free: 9.691 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.457e-05/0.005473, allocations: 32.16 kB / 309.7 MB, free: 9.668 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.005655, allocations: 190.8 kB / 309.9 MB, free: 9.465 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.005665, allocations: 16.38 kB / 309.9 MB, free: 9.449 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.005691, allocations: 16.36 kB / 309.9 MB, free: 9.434 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.005852, allocations: 154 kB / 310.1 MB, free: 9.297 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.005861, allocations: 0.75 kB / 310.1 MB, free: 9.297 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.00587, allocations: 4.375 kB / 310.1 MB, free: 9.293 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.005877, allocations: 7.938 kB / 310.1 MB, free: 9.285 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.849e-05/0.005955, allocations: 55.72 kB / 310.1 MB, free: 9.242 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.006387, allocations: 410.1 kB / 310.5 MB, free: 8.848 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.006488, allocations: 78.47 kB / 310.6 MB, free: 8.762 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.683e-05/0.006524, allocations: 44.78 kB / 310.7 MB, free: 8.715 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.006539, allocations: 4 kB / 310.7 MB, free: 8.711 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.006556, allocations: 34.56 kB / 310.7 MB, free: 8.668 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.092e-06/0.006557, allocations: 0 / 310.7 MB, free: 8.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004139/0.006971, allocations: 326.9 kB / 311 MB, free: 8.32 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.006996, allocations: 55.41 kB / 311.1 MB, free: 8.254 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.007113, allocations: 213 kB / 311.3 MB, free: 8.035 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.007125, allocations: 25.7 kB / 311.3 MB, free: 8.004 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.007173, allocations: 137 kB / 311.4 MB, free: 7.867 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.007206, allocations: 71.41 kB / 311.5 MB, free: 7.797 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.007246, allocations: 41.69 kB / 311.5 MB, free: 7.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.468e-05/0.00732, allocations: 334.8 kB / 311.9 MB, free: 7.414 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.371e-05/0.007344, allocations: 19.98 kB / 311.9 MB, free: 7.395 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.486e-05/0.007379, allocations: 39.92 kB / 311.9 MB, free: 7.352 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.126e-05/0.00745, allocations: 76.27 kB / 312 MB, free: 7.273 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.007451, allocations: 0 / 312 MB, free: 7.273 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001006/0.007552, allocations: 109.6 kB / 312.1 MB, free: 7.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.876e-06/0.00756, allocations: 8.031 kB / 312.1 MB, free: 7.152 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.007566, allocations: 7.938 kB / 312.1 MB, free: 7.145 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.007575, allocations: 0 / 312.1 MB, free: 7.145 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.007747, allocations: 67.89 kB / 312.2 MB, free: 7.078 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005501/0.008297, allocations: 1.236 MB / 313.4 MB, free: 5.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.906e-05/0.008356, allocations: 12.16 kB / 313.4 MB, free: 5.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.008363, allocations: 4 kB / 313.4 MB, free: 5.734 MB / 282.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.076e-05/0.008434, allocations: 121.8 kB / 313.6 MB, free: 5.605 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.00846, allocations: 19.92 kB / 313.6 MB, free: 5.586 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.932e-05/0.00856, allocations: 118.8 kB / 313.7 MB, free: 5.469 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.008561, allocations: 4 kB / 313.7 MB, free: 5.465 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.008562, allocations: 0 / 313.7 MB, free: 5.465 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.008565, allocations: 0 / 313.7 MB, free: 5.465 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.008834, allocations: 318.5 kB / 314 MB, free: 5.129 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.008836, allocations: 8 kB / 314 MB, free: 5.121 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.008944, allocations: 39.98 kB / 314.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.008946, allocations: 3.938 kB / 314.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.008953, allocations: 4 kB / 314.1 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.008954, allocations: 0 / 314.1 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.008954, allocations: 3.938 kB / 314.1 MB, free: 5.07 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.009102, allocations: 238.1 kB / 314.3 MB, free: 4.824 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.009138, allocations: 19.86 kB / 314.3 MB, free: 4.805 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.009153, allocations: 4 kB / 314.3 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.794e-05/0.009211, allocations: 7.984 kB / 314.3 MB, free: 4.793 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.009242, allocations: 15.98 kB / 314.4 MB, free: 4.777 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.009247, allocations: 4 kB / 314.4 MB, free: 4.773 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.954e-05/0.009296, allocations: 74.77 kB / 314.4 MB, free: 4.699 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-08/0.009296, allocations: 4 kB / 314.4 MB, free: 4.695 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001515/0.009448, allocations: 40 kB / 314.5 MB, free: 4.656 MB / 282.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: 0 () * 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 6.267e-05/0.009511, allocations: 80.36 kB / 314.6 MB, free: 4.566 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.009698, allocations: 114.6 kB / 314.7 MB, free: 4.449 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.009701, allocations: 0 / 314.7 MB, free: 4.449 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-05/0.009741, allocations: 44.78 kB / 314.7 MB, free: 4.402 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.009917, allocations: 49.02 kB / 314.8 MB, free: 4.355 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007794/0.0107, allocations: 0.5012 MB / 315.3 MB, free: 3.828 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.514e-05/0.01074, allocations: 92.48 kB / 315.4 MB, free: 3.711 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.399e-05/0.01081, allocations: 29.62 kB / 315.4 MB, free: 3.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.388e-05/0.0109, allocations: 87.34 kB / 315.5 MB, free: 3.594 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.0109, allocations: 0 / 315.5 MB, free: 3.594 MB / 282.7 MB Notification: Performance of Templates: time 0.003923/0.01482, allocations: 2.542 MB / 318 MB, free: 1.109 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6476660976186395]