Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.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.00183/0.00183, allocations: 83.69 kB / 20.96 MB, free: 3.441 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.001908/0.001908, allocations: 161.3 kB / 24.27 MB, free: 140 kB / 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 1.291/1.291, allocations: 158.6 MB / 186.1 MB, free: 2.906 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.2687/0.2687, allocations: 36.34 MB / 274.7 MB, free: 10.71 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.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 353 MB, free: 3.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.413e-05, allocations: 13.62 kB / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.003139/0.003163, allocations: 3.058 MB / 356.1 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.004455, allocations: 0.8226 MB / 356.9 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.004633, allocations: 7.938 kB / 356.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001979/0.004831, allocations: 67.25 kB / 357 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004064/0.005238, allocations: 158.7 kB / 357.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.005521, allocations: 115.8 kB / 357.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006697/0.00619, allocations: 0.5448 MB / 357.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002377/0.006428, allocations: 94.03 kB / 357.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004417/0.00687, allocations: 311.1 kB / 358.2 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.007161, allocations: 163.4 kB / 358.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.338e-05/0.007234, allocations: 36 kB / 358.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.007341, allocations: 39.94 kB / 358.5 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.007447, allocations: 99.58 kB / 358.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.007638, allocations: 147.5 kB / 358.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006047/0.008243, allocations: 442.4 kB / 359.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.008245, allocations: 0 / 359.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.008246, allocations: 0 / 359.1 MB, free: 13.67 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.902e-06/0.008253, allocations: 4 kB / 359.1 MB, free: 13.67 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.00161/0.009863, allocations: 0.8456 MB / 360 MB, free: 12.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.009901, allocations: 12.03 kB / 360 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.01009, allocations: 88.55 kB / 360.1 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005306/0.01062, allocations: 314.7 kB / 360.4 MB, free: 12.35 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.01066, allocations: 25.03 kB / 360.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-05/0.01073, allocations: 44.27 kB / 360.4 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006003/0.01133, allocations: 334.9 kB / 360.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.01135, allocations: 192 / 360.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.01138, allocations: 12.38 kB / 360.8 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.0114, allocations: 11.94 kB / 360.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004632/0.01186, allocations: 206.4 kB / 361 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002096/0.01396, allocations: 1.192 MB / 362.2 MB, free: 10.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000553/0.01451, allocations: 264.3 kB / 362.5 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002439/0.01475, allocations: 116.2 kB / 362.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.01479, allocations: 4.281 kB / 362.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.01482, allocations: 37.67 kB / 362.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 1.362e-06/0.01482, allocations: 0 / 362.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.002278/0.0171, allocations: 0.8847 MB / 363.5 MB, free: 9.102 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.01715, allocations: 55.41 kB / 363.5 MB, free: 9.035 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005794/0.01773, allocations: 478.7 kB / 364 MB, free: 8.551 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.01776, allocations: 33.64 kB / 364 MB, free: 8.512 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.018, allocations: 283.6 kB / 364.3 MB, free: 8.227 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.01815, allocations: 146.8 kB / 364.5 MB, free: 8.082 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.01828, allocations: 83.84 kB / 364.5 MB, free: 7.992 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003197/0.0186, allocations: 0.5352 MB / 365.1 MB, free: 7.445 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.01881, allocations: 88.95 kB / 365.2 MB, free: 7.359 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.01907, allocations: 163.4 kB / 365.3 MB, free: 7.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004837/0.01955, allocations: 282.2 kB / 365.6 MB, free: 6.883 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01955, allocations: 0 / 365.6 MB, free: 6.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006397/0.02019, allocations: 353.1 kB / 366 MB, free: 6.531 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.02021, allocations: 8 kB / 366 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.882e-06/0.02022, allocations: 0 / 366 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.02024, allocations: 4 kB / 366 MB, free: 6.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007577/0.02099, allocations: 152 kB / 366.1 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/0.02269, allocations: 1.878 MB / 368 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.02293, allocations: 15.94 kB / 368 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.02296, allocations: 15.98 kB / 368 MB, free: 4.332 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (48): * Single equations (assignments): 47 * 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 0.0002174/0.02318, allocations: 204.7 kB / 368.2 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.47e-05/0.02327, allocations: 51.72 kB / 368.3 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006158/0.02389, allocations: 305.8 kB / 368.6 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.0239, allocations: 4 kB / 368.6 MB, free: 3.762 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.0239, allocations: 3.938 kB / 368.6 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.02391, allocations: 3.984 kB / 368.6 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.02516, allocations: 0.7636 MB / 369.3 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.02516, allocations: 0 / 369.3 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004404/0.02561, allocations: 79.91 kB / 369.4 MB, free: 2.867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.02561, allocations: 7.984 kB / 369.4 MB, free: 2.859 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.02564, allocations: 7.938 kB / 369.4 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.02564, allocations: 4 kB / 369.4 MB, free: 2.848 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.02564, allocations: 0 / 369.4 MB, free: 2.848 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000867/0.02651, allocations: 0.5676 MB / 370 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.02665, allocations: 55.73 kB / 370.1 MB, free: 2.203 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.325e-05/0.02671, allocations: 11.94 kB / 370.1 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.02693, allocations: 15.94 kB / 370.1 MB, free: 2.176 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.027, allocations: 23.95 kB / 370.1 MB, free: 2.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.02702, allocations: 12 kB / 370.1 MB, free: 2.141 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000358/0.02738, allocations: 315.1 kB / 370.4 MB, free: 1.836 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02738, allocations: 0 / 370.4 MB, free: 1.836 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003734/0.02775, allocations: 88 kB / 370.5 MB, free: 1.75 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y,secondaryController.powerOffset) * 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 (36): * Single equations (assignments): 36 * 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 0.0001397/0.02789, allocations: 99.19 kB / 370.6 MB, free: 1.645 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007296/0.02862, allocations: 293.1 kB / 370.9 MB, free: 1.355 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.02862, allocations: 0 / 370.9 MB, free: 1.355 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.02887, allocations: 143.4 kB / 371 MB, free: 1.211 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005499/0.02942, allocations: 91.91 kB / 371.1 MB, free: 1.125 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.03136, allocations: 0.9994 MB / 372.1 MB, free: 96 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.03163, allocations: 227.8 kB / 372.4 MB, free: 15.85 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001715/0.0318, allocations: 43.25 kB / 372.4 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.03192, allocations: 36.48 kB / 372.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.03192, allocations: 0 / 372.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of Templates: time 0.01047/0.04239, allocations: 4.438 MB / 376.9 MB, free: 11.36 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.602331350091845]