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.0009608/0.0009608, 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.001232/0.001232, allocations: 170.7 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.8882/0.8882, allocations: 158.6 MB / 186.8 MB, free: 2.32 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.1628/0.1628, 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.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.503e-06/1.503e-06, allocations: 0 / 305.2 MB, free: 14.01 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.57e-05/1.72e-05, allocations: 3.734 kB / 305.2 MB, free: 14 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.002917/0.002935, allocations: 2.327 MB / 307.5 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.004183, allocations: 0.6588 MB / 308.2 MB, free: 12.03 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.004312, allocations: 7.438 kB / 308.2 MB, free: 12.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.004447, allocations: 30.09 kB / 308.2 MB, free: 12 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.00466, allocations: 90.58 kB / 308.3 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.004803, allocations: 61.97 kB / 308.4 MB, free: 11.9 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002533/0.005056, allocations: 288.3 kB / 308.7 MB, free: 11.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.005177, allocations: 45.3 kB / 308.7 MB, free: 11.73 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.005406, allocations: 162 kB / 308.9 MB, free: 11.66 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.005546, allocations: 84.3 kB / 309 MB, free: 11.64 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.005574, allocations: 17.66 kB / 309 MB, free: 11.64 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.317e-05/0.005648, allocations: 20.52 kB / 309 MB, free: 11.64 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.403e-05/0.005682, allocations: 51.03 kB / 309 MB, free: 11.6 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.284e-05/0.005745, allocations: 81.41 kB / 309.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.005957, allocations: 165.7 kB / 309.3 MB, free: 11.49 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005959, allocations: 0 / 309.3 MB, free: 11.49 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.00596, allocations: 1.094 kB / 309.3 MB, free: 11.49 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.005965, allocations: 0 / 309.3 MB, free: 11.49 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.0005693/0.006534, allocations: 468.6 kB / 309.7 MB, free: 11.12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.006569, allocations: 13.22 kB / 309.8 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.458e-05/0.006664, allocations: 31.48 kB / 309.8 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.006846, allocations: 181.9 kB / 310 MB, free: 10.96 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.006858, allocations: 15.16 kB / 310 MB, free: 10.95 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.006887, allocations: 16.77 kB / 310 MB, free: 10.95 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.00711, allocations: 162.9 kB / 310.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.007121, allocations: 5.047 kB / 310.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.007134, allocations: 5.531 kB / 310.2 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.007144, allocations: 12.09 kB / 310.2 MB, free: 10.83 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.007253, allocations: 55.72 kB / 310.2 MB, free: 10.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.007759, allocations: 403 kB / 310.6 MB, free: 10.53 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.00788, allocations: 87.34 kB / 310.7 MB, free: 10.49 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.354e-05/0.007924, allocations: 37.42 kB / 310.7 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.007939, allocations: 7.094 kB / 310.7 MB, free: 10.47 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.007954, allocations: 32.58 kB / 310.8 MB, free: 10.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.102e-06/0.007955, allocations: 0.9375 kB / 310.8 MB, free: 10.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004718/0.008427, allocations: 334.7 kB / 311.1 MB, free: 10.23 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.786e-05/0.008445, allocations: 53.5 kB / 311.2 MB, free: 10.16 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.008569, allocations: 214.4 kB / 311.4 MB, free: 10.03 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.724e-06/0.008577, allocations: 25.7 kB / 311.4 MB, free: 9.996 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.45e-05/0.008621, allocations: 130.6 kB / 311.5 MB, free: 9.887 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.008651, allocations: 76.14 kB / 311.6 MB, free: 9.824 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.008694, allocations: 43.09 kB / 311.6 MB, free: 9.793 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.03e-05/0.008735, allocations: 335.7 kB / 312 MB, free: 9.469 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.722e-05/0.008762, allocations: 21.62 kB / 312 MB, free: 9.465 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.781e-05/0.0088, allocations: 45.75 kB / 312 MB, free: 9.438 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.188e-05/0.008882, allocations: 73.75 kB / 312.1 MB, free: 9.414 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.008883, allocations: 0 / 312.1 MB, free: 9.414 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001155/0.008998, allocations: 116.1 kB / 312.2 MB, free: 9.367 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.009009, allocations: 5.344 kB / 312.2 MB, free: 9.367 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.009015, allocations: 4.438 kB / 312.2 MB, free: 9.363 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.009026, allocations: 3.031 kB / 312.2 MB, free: 9.363 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.009323, allocations: 91.55 kB / 312.3 MB, free: 9.355 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004592/0.009782, allocations: 1.237 MB / 313.6 MB, free: 8.109 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.487e-05/0.009847, allocations: 8.594 kB / 313.6 MB, free: 8.105 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.009855, allocations: 3.562 kB / 313.6 MB, free: 8.105 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 5.589e-05/0.009911, allocations: 125.9 kB / 313.7 MB, free: 7.977 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.009941, allocations: 15.3 kB / 313.7 MB, free: 7.977 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.01005, allocations: 119.9 kB / 313.8 MB, free: 7.914 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.01006, allocations: 1.375 kB / 313.8 MB, free: 7.914 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.01006, allocations: 0 / 313.8 MB, free: 7.914 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01006, allocations: 2.641 kB / 313.8 MB, free: 7.914 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.01035, allocations: 309.8 kB / 314.1 MB, free: 7.695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.01036, allocations: 0 / 314.1 MB, free: 7.695 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.01051, allocations: 54.56 kB / 314.2 MB, free: 7.688 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.01051, allocations: 2.594 kB / 314.2 MB, free: 7.688 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.01052, allocations: 1.375 kB / 314.2 MB, free: 7.688 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01052, allocations: 1.062 kB / 314.2 MB, free: 7.688 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01052, allocations: 0 / 314.2 MB, free: 7.688 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.01068, allocations: 245 kB / 314.4 MB, free: 7.527 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/0.01072, allocations: 20.72 kB / 314.4 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.01073, allocations: 6.703 kB / 314.5 MB, free: 7.512 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.095e-05/0.0108, allocations: 4.203 kB / 314.5 MB, free: 7.512 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.01083, allocations: 15.02 kB / 314.5 MB, free: 7.508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.01084, allocations: 6.484 kB / 314.5 MB, free: 7.504 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.916e-05/0.01091, allocations: 75.53 kB / 314.6 MB, free: 7.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01091, allocations: 0 / 314.6 MB, free: 7.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001688/0.01107, allocations: 42.78 kB / 314.6 MB, free: 7.477 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 6e-05/0.01113, allocations: 76 kB / 314.7 MB, free: 7.402 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002063/0.01134, allocations: 117.8 kB / 314.8 MB, free: 7.371 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.01135, allocations: 5.438 kB / 314.8 MB, free: 7.367 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.508e-05/0.01139, allocations: 43.59 kB / 314.8 MB, free: 7.355 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.01159, allocations: 52.48 kB / 314.9 MB, free: 7.332 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008585/0.01244, allocations: 0.5105 MB / 315.4 MB, free: 7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.765e-05/0.01249, allocations: 84.23 kB / 315.5 MB, free: 6.926 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.925e-05/0.01257, allocations: 29.27 kB / 315.5 MB, free: 6.918 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.01268, allocations: 85.83 kB / 315.6 MB, free: 6.871 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01268, allocations: 0 / 315.6 MB, free: 6.871 MB / 282.7 MB Notification: Performance of Templates: time 0.004437/0.01712, allocations: 2.718 MB / 318.3 MB, free: 5.836 MB / 282.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6742276926524937]