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.000899/0.000899, allocations: 80.8 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.0009487/0.0009487, allocations: 172.7 kB / 24.91 MB, free: 9.148 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.8551/0.8551, allocations: 158.6 MB / 186.8 MB, free: 2.742 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.1908/0.1908, allocations: 36.34 MB / 275.4 MB, free: 10.54 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 4.128e-06/4.128e-06, allocations: 0 / 305.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.359e-05, allocations: 2.312 kB / 305.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.003209/0.003233, allocations: 3.07 MB / 308.3 MB, free: 12.06 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.004847, allocations: 0.8468 MB / 309.1 MB, free: 11.47 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002638/0.005111, allocations: 14.75 kB / 309.1 MB, free: 11.46 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.005288, allocations: 60.41 kB / 309.2 MB, free: 11.42 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003522/0.00564, allocations: 158 kB / 309.3 MB, free: 11.31 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.005956, allocations: 129.7 kB / 309.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005545/0.006511, allocations: 0.5379 MB / 310 MB, free: 10.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.006715, allocations: 103 kB / 310.1 MB, free: 10.9 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004456/0.007161, allocations: 300.5 kB / 310.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.007406, allocations: 166.2 kB / 310.6 MB, free: 10.72 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.709e-05/0.007463, allocations: 34.81 kB / 310.6 MB, free: 10.72 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-05/0.00755, allocations: 46.72 kB / 310.6 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.921e-05/0.007609, allocations: 93.22 kB / 310.7 MB, free: 10.65 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.007729, allocations: 157.4 kB / 310.9 MB, free: 10.58 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000398/0.008127, allocations: 319.5 kB / 311.2 MB, free: 10.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.008131, allocations: 4 kB / 311.2 MB, free: 10.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.008132, allocations: 0 / 311.2 MB, free: 10.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.008142, allocations: 1.125 kB / 311.2 MB, free: 10.43 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.0009389/0.009081, allocations: 0.7032 MB / 311.9 MB, free: 9.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.009114, allocations: 9.75 kB / 311.9 MB, free: 9.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.009259, allocations: 59.78 kB / 312 MB, free: 9.922 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.009547, allocations: 273.4 kB / 312.2 MB, free: 9.707 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.009566, allocations: 23.12 kB / 312.3 MB, free: 9.699 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.009615, allocations: 43.19 kB / 312.3 MB, free: 9.684 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.00989, allocations: 259.7 kB / 312.5 MB, free: 9.559 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.009905, allocations: 5.984 kB / 312.6 MB, free: 9.555 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.009922, allocations: 12.09 kB / 312.6 MB, free: 9.547 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.009932, allocations: 11.16 kB / 312.6 MB, free: 9.543 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.01007, allocations: 102.7 kB / 312.7 MB, free: 9.527 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.01111, allocations: 0.7481 MB / 313.4 MB, free: 9.035 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.01134, allocations: 159.2 kB / 313.6 MB, free: 8.984 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.351e-05/0.01142, allocations: 64.7 kB / 313.6 MB, free: 8.965 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.01144, allocations: 5.875 kB / 313.6 MB, free: 8.965 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.01146, allocations: 36.64 kB / 313.7 MB, free: 8.922 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 1.923e-06/0.01146, allocations: 1.062 kB / 313.7 MB, free: 8.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009737/0.01243, allocations: 0.5923 MB / 314.3 MB, free: 8.668 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.01246, allocations: 64.14 kB / 314.3 MB, free: 8.598 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.01267, allocations: 330.2 kB / 314.7 MB, free: 8.422 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.01268, allocations: 32.36 kB / 314.7 MB, free: 8.387 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.123e-05/0.01275, allocations: 189.8 kB / 314.9 MB, free: 8.234 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.385e-05/0.01282, allocations: 136.4 kB / 315 MB, free: 8.125 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.458e-05/0.01288, allocations: 73.66 kB / 315.1 MB, free: 8.082 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.758e-05/0.01293, allocations: 358.2 kB / 315.4 MB, free: 7.746 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.618e-05/0.01297, allocations: 32.73 kB / 315.5 MB, free: 7.746 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.041e-05/0.01304, allocations: 89.8 kB / 315.6 MB, free: 7.695 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.01318, allocations: 155 kB / 315.7 MB, free: 7.633 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.01318, allocations: 0 / 315.7 MB, free: 7.633 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000211/0.01339, allocations: 202.8 kB / 315.9 MB, free: 7.574 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.01341, allocations: 5.406 kB / 315.9 MB, free: 7.574 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.01341, allocations: 1.5 kB / 315.9 MB, free: 7.574 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.01343, allocations: 7.656 kB / 315.9 MB, free: 7.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/0.01379, allocations: 140 kB / 316.1 MB, free: 7.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004669/0.01426, allocations: 1.254 MB / 317.3 MB, free: 6.305 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.01439, allocations: 21.27 kB / 317.3 MB, free: 6.289 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.0144, allocations: 7 kB / 317.3 MB, free: 6.289 MB / 282.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 7.636e-05/0.01447, allocations: 131.5 kB / 317.5 MB, free: 6.156 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.01452, allocations: 34.95 kB / 317.5 MB, free: 6.152 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.01472, allocations: 194.7 kB / 317.7 MB, free: 6.074 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01472, allocations: 3.5 kB / 317.7 MB, free: 6.074 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.01472, allocations: 1.781 kB / 317.7 MB, free: 6.074 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.01473, allocations: 1.875 kB / 317.7 MB, free: 6.074 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004551/0.01518, allocations: 444.8 kB / 318.1 MB, free: 5.785 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01518, allocations: 1.531 kB / 318.1 MB, free: 5.785 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.01539, allocations: 81.98 kB / 318.2 MB, free: 5.766 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.0154, allocations: 1.781 kB / 318.2 MB, free: 5.766 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.01541, allocations: 5.75 kB / 318.2 MB, free: 5.762 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.01541, allocations: 2.031 kB / 318.2 MB, free: 5.762 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.01541, allocations: 0 / 318.2 MB, free: 5.762 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.01565, allocations: 341.1 kB / 318.6 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.317e-05/0.01573, allocations: 43.7 kB / 318.6 MB, free: 5.523 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.01576, allocations: 6.719 kB / 318.6 MB, free: 5.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.422e-05/0.01585, allocations: 18.36 kB / 318.6 MB, free: 5.504 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.01588, allocations: 19.97 kB / 318.6 MB, free: 5.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.01589, allocations: 8.078 kB / 318.6 MB, free: 5.488 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.533e-05/0.01599, allocations: 143.8 kB / 318.8 MB, free: 5.422 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01599, allocations: 3.938 kB / 318.8 MB, free: 5.418 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002095/0.0162, allocations: 85.97 kB / 318.9 MB, free: 5.406 MB / 282.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 8.357e-05/0.01628, allocations: 80.67 kB / 319 MB, free: 5.332 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002942/0.01658, allocations: 190.4 kB / 319.1 MB, free: 5.27 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.01658, allocations: 2.969 kB / 319.1 MB, free: 5.27 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.352e-05/0.01667, allocations: 95.38 kB / 319.2 MB, free: 5.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.01695, allocations: 83.84 kB / 319.3 MB, free: 5.184 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.01813, allocations: 0.8692 MB / 320.2 MB, free: 4.602 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.284e-05/0.01818, allocations: 111.2 kB / 320.3 MB, free: 4.512 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.0183, allocations: 49.97 kB / 320.3 MB, free: 4.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.01845, allocations: 113.3 kB / 320.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01846, allocations: 0 / 320.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of Templates: time 0.006189/0.02464, allocations: 4.677 MB / 325.1 MB, free: 15.77 MB / 298.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: 3.054319430142641]