Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.0009491/0.0009491, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.00115/0.00115, allocations: 174.3 kB / 24.92 MB, free: 8.766 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.867/0.867, allocations: 158.6 MB / 186.8 MB, free: 2.789 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.1576/0.1576, allocations: 36.34 MB / 275.5 MB, free: 14.44 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.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 305.2 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.19e-05/1.315e-05, allocations: 2.312 kB / 305.2 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.002298/0.002312, allocations: 2.288 MB / 307.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008848/0.003196, allocations: 0.6628 MB / 308.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.003297, allocations: 7.938 kB / 308.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.003415, allocations: 35.59 kB / 308.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.003596, allocations: 83.27 kB / 308.3 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001378/0.003734, allocations: 59.86 kB / 308.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.003957, allocations: 290.6 kB / 308.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.004065, allocations: 46.86 kB / 308.6 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.004223, allocations: 151.6 kB / 308.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.004338, allocations: 91.69 kB / 308.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.004363, allocations: 20 kB / 308.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.814e-05/0.004411, allocations: 23.94 kB / 308.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.437e-05/0.004445, allocations: 47.77 kB / 309 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.443e-05/0.0045, allocations: 79.77 kB / 309 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.004678, allocations: 171.3 kB / 309.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.00468, allocations: 4 kB / 309.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.00468, allocations: 0 / 309.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.004688, allocations: 0 / 309.2 MB, free: 12.61 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000498/0.005186, allocations: 471.4 kB / 309.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.743e-05/0.005213, allocations: 8.031 kB / 309.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.71e-05/0.00529, allocations: 28.92 kB / 309.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.005466, allocations: 188.8 kB / 309.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.005478, allocations: 12.38 kB / 309.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.005505, allocations: 16.38 kB / 309.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.005662, allocations: 160 kB / 310.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.005676, allocations: 8.125 kB / 310.1 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.005686, allocations: 4.375 kB / 310.1 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.005693, allocations: 7.938 kB / 310.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.396e-05/0.005767, allocations: 51.69 kB / 310.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.006201, allocations: 407.9 kB / 310.6 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.846e-05/0.006299, allocations: 78.52 kB / 310.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.591e-05/0.006335, allocations: 36.84 kB / 310.7 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.006349, allocations: 7.922 kB / 310.7 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.006367, allocations: 34.56 kB / 310.7 MB, free: 11.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.243e-06/0.006368, allocations: 3.938 kB / 310.7 MB, free: 11.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004353/0.006804, allocations: 324.6 kB / 311 MB, free: 10.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.006829, allocations: 51.41 kB / 311.1 MB, free: 10.6 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.006945, allocations: 221 kB / 311.3 MB, free: 10.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.006957, allocations: 25.7 kB / 311.3 MB, free: 10.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.933e-05/0.007006, allocations: 129 kB / 311.4 MB, free: 10.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.007038, allocations: 71.41 kB / 311.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.007079, allocations: 41.66 kB / 311.6 MB, free: 10.1 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.512e-05/0.007154, allocations: 334.8 kB / 311.9 MB, free: 9.762 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.302e-05/0.007177, allocations: 19.98 kB / 311.9 MB, free: 9.742 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.936e-05/0.007216, allocations: 41.55 kB / 311.9 MB, free: 9.695 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.699e-05/0.007283, allocations: 77.58 kB / 312 MB, free: 9.613 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.007284, allocations: 0 / 312 MB, free: 9.613 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001024/0.007387, allocations: 109.8 kB / 312.1 MB, free: 9.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.007397, allocations: 4 kB / 312.1 MB, free: 9.496 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.007402, allocations: 7.922 kB / 312.1 MB, free: 9.488 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.007414, allocations: 4 kB / 312.1 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.007597, allocations: 67.89 kB / 312.2 MB, free: 9.418 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006039/0.008201, allocations: 1.244 MB / 313.5 MB, free: 8.082 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.901e-05/0.00826, allocations: 8 kB / 313.5 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.008268, allocations: 7.938 kB / 313.5 MB, free: 8.066 MB / 298.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.005e-05/0.008338, allocations: 117.8 kB / 313.6 MB, free: 7.941 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.008363, allocations: 15.92 kB / 313.6 MB, free: 7.926 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.008493, allocations: 127.8 kB / 313.7 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.008496, allocations: 4 kB / 313.7 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.008497, allocations: 0 / 313.7 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.008503, allocations: 3.984 kB / 313.7 MB, free: 7.785 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.008801, allocations: 310.7 kB / 314 MB, free: 7.457 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.008802, allocations: 0 / 314 MB, free: 7.457 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.008918, allocations: 43.92 kB / 314.1 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.00892, allocations: 0 / 314.1 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.00893, allocations: 4 kB / 314.1 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.008931, allocations: 0 / 314.1 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.008932, allocations: 0 / 314.1 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.009107, allocations: 247.2 kB / 314.3 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.009144, allocations: 19.86 kB / 314.3 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.009161, allocations: 7.984 kB / 314.4 MB, free: 7.125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.01e-05/0.009221, allocations: 4 kB / 314.4 MB, free: 7.121 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.009251, allocations: 15.97 kB / 314.4 MB, free: 7.105 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.009256, allocations: 4 kB / 314.4 MB, free: 7.102 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.981e-05/0.009305, allocations: 70.78 kB / 314.4 MB, free: 7.035 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009305, allocations: 0 / 314.4 MB, free: 7.035 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001477/0.009453, allocations: 44 kB / 314.5 MB, free: 6.992 MB / 298.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 7.2e-05/0.009525, allocations: 80.42 kB / 314.6 MB, free: 6.902 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002079/0.009733, allocations: 106.7 kB / 314.7 MB, free: 6.797 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.009737, allocations: 0 / 314.7 MB, free: 6.797 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.196e-05/0.009778, allocations: 52.7 kB / 314.7 MB, free: 6.742 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.009956, allocations: 49.09 kB / 314.8 MB, free: 6.695 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008125/0.01077, allocations: 0.5134 MB / 315.3 MB, free: 6.156 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.728e-05/0.01083, allocations: 84.55 kB / 315.4 MB, free: 6.051 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.493e-05/0.01089, allocations: 21.62 kB / 315.4 MB, free: 6.031 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.622e-05/0.01099, allocations: 83.36 kB / 315.5 MB, free: 5.949 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01099, allocations: 0 / 315.5 MB, free: 5.949 MB / 298.7 MB Notification: Performance of Templates: time 0.003952/0.01494, allocations: 2.563 MB / 318 MB, free: 3.406 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7215781756676733]