Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.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.0009944/0.0009944, allocations: 80.92 kB / 21.5 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.001102/0.001102, allocations: 170.2 kB / 24.92 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.9281/0.9281, allocations: 158.6 MB / 186.8 MB, free: 2.801 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.1832/0.1832, 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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 305.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.389e-05, allocations: 5.406 kB / 305.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.002693/0.002717, allocations: 2.627 MB / 307.8 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.003941, allocations: 0.76 MB / 308.6 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.004108, allocations: 11.94 kB / 308.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.004249, allocations: 43.47 kB / 308.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.004505, allocations: 126.9 kB / 308.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.004692, allocations: 79.88 kB / 308.8 MB, free: 13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003478/0.00504, allocations: 425.9 kB / 309.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.005184, allocations: 59.55 kB / 309.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.005454, allocations: 227.4 kB / 309.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.005607, allocations: 127.5 kB / 309.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.265e-05/0.00564, allocations: 24 kB / 309.7 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.153e-05/0.005701, allocations: 28 kB / 309.7 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.492e-05/0.005746, allocations: 67.69 kB / 309.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.165e-05/0.005828, allocations: 115.7 kB / 309.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.006087, allocations: 235 kB / 310.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.00609, allocations: 0 / 310.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.006091, allocations: 0 / 310.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.006096, allocations: 4 kB / 310.1 MB, free: 11.71 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006317/0.006728, allocations: 0.5695 MB / 310.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.006759, allocations: 8.031 kB / 310.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.006862, allocations: 44.91 kB / 310.7 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.007122, allocations: 233.6 kB / 311 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.007137, allocations: 12.88 kB / 311 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.007176, allocations: 32.36 kB / 311 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.007397, allocations: 200.8 kB / 311.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.007416, allocations: 8.141 kB / 311.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.007427, allocations: 4.375 kB / 311.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.007436, allocations: 15.88 kB / 311.2 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.007545, allocations: 81.44 kB / 311.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006292/0.008174, allocations: 0.5455 MB / 311.9 MB, free: 9.879 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.008311, allocations: 114.4 kB / 312 MB, free: 9.758 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/0.008364, allocations: 52.83 kB / 312 MB, free: 9.703 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.008385, allocations: 4 kB / 312 MB, free: 9.699 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.008408, allocations: 38.56 kB / 312.1 MB, free: 9.652 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.543e-06/0.00841, allocations: 4 kB / 312.1 MB, free: 9.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006063/0.009016, allocations: 428.2 kB / 312.5 MB, free: 9.199 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.009049, allocations: 55.34 kB / 312.5 MB, free: 9.133 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.009219, allocations: 274.9 kB / 312.8 MB, free: 8.852 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.009233, allocations: 29.7 kB / 312.8 MB, free: 8.816 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.439e-05/0.009297, allocations: 153.4 kB / 313 MB, free: 8.664 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.118e-05/0.009348, allocations: 107.1 kB / 313.1 MB, free: 8.559 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/0.009399, allocations: 57.67 kB / 313.1 MB, free: 8.496 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.681e-05/0.009486, allocations: 350.7 kB / 313.5 MB, free: 8.145 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.38e-05/0.009519, allocations: 27.84 kB / 313.5 MB, free: 8.117 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.242e-05/0.009572, allocations: 58.67 kB / 313.6 MB, free: 8.051 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.716e-05/0.009669, allocations: 112 kB / 313.7 MB, free: 7.934 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.00967, allocations: 0 / 313.7 MB, free: 7.934 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000231/0.009901, allocations: 183.4 kB / 313.9 MB, free: 7.746 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.009915, allocations: 11.98 kB / 313.9 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.00992, allocations: 0 / 313.9 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/0.01012, allocations: 56.75 kB / 313.9 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.0103, allocations: 71.95 kB / 314 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.0116, allocations: 2.521 MB / 316.5 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.0117, allocations: 15.92 kB / 316.5 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.01171, allocations: 8 kB / 316.5 MB, free: 4.887 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.01181, allocations: 125.8 kB / 316.7 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.01185, allocations: 27.97 kB / 316.7 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.01201, allocations: 157.7 kB / 316.8 MB, free: 4.559 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01201, allocations: 8.031 kB / 316.9 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.01201, allocations: 0 / 316.9 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.01202, allocations: 7.922 kB / 316.9 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003702/0.01239, allocations: 367 kB / 317.2 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01239, allocations: 0 / 317.2 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.01255, allocations: 67.91 kB / 317.3 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01256, allocations: 0 / 317.3 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.01257, allocations: 8 kB / 317.3 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01257, allocations: 0 / 317.3 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.01257, allocations: 3.938 kB / 317.3 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.01277, allocations: 276.4 kB / 317.6 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.01283, allocations: 35.75 kB / 317.6 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.01285, allocations: 8 kB / 317.6 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.799e-05/0.01292, allocations: 8 kB / 317.6 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.01296, allocations: 27.88 kB / 317.6 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.01297, allocations: 7.938 kB / 317.7 MB, free: 3.707 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.933e-05/0.01305, allocations: 108.6 kB / 317.8 MB, free: 3.602 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01305, allocations: 0 / 317.8 MB, free: 3.602 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000208/0.01326, allocations: 72 kB / 317.8 MB, free: 3.531 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt) * 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 (28): * Single equations (assignments): 28 * 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 9.013e-05/0.01335, allocations: 84.41 kB / 317.9 MB, free: 3.441 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003875/0.01374, allocations: 275.8 kB / 318.2 MB, free: 3.156 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.01374, allocations: 4 kB / 318.2 MB, free: 3.152 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.685e-05/0.01381, allocations: 68.75 kB / 318.3 MB, free: 3.082 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.01405, allocations: 77.25 kB / 318.3 MB, free: 3.008 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.01513, allocations: 0.6836 MB / 319 MB, free: 2.293 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.623e-05/0.0152, allocations: 104.9 kB / 319.1 MB, free: 2.168 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.697e-05/0.0153, allocations: 30.95 kB / 319.1 MB, free: 2.141 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.01542, allocations: 103.3 kB / 319.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01543, allocations: 4 kB / 319.3 MB, free: 2.035 MB / 298.7 MB Notification: Performance of Templates: time 0.006685/0.02211, allocations: 3.802 MB / 323.1 MB, free: 14.27 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9714150689542294]