Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.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.001307/0.001307, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001576/0.001576, allocations: 164.4 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9089/0.9089, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.08442/0.08442, allocations: 19.74 MB / 281.5 MB, free: 9.078 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.143e-06/1.143e-06, allocations: 0 / 358.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.221e-05/1.336e-05, allocations: 6.25 kB / 358.4 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.00251/0.002524, allocations: 2.928 MB / 361.3 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.003593, allocations: 0.7908 MB / 362.1 MB, free: 2.586 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.003738, allocations: 7.938 kB / 362.1 MB, free: 2.578 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.003869, allocations: 55.38 kB / 362.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002492/0.004118, allocations: 154.7 kB / 362.3 MB, free: 2.371 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.00431, allocations: 111.8 kB / 362.5 MB, free: 2.262 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003431/0.004653, allocations: 0.4981 MB / 363 MB, free: 1.762 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.004804, allocations: 100.6 kB / 363.1 MB, free: 1.66 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002935/0.005097, allocations: 283.3 kB / 363.3 MB, free: 1.383 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.005292, allocations: 151.4 kB / 363.5 MB, free: 1.234 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.005331, allocations: 39.94 kB / 363.5 MB, free: 1.195 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.421e-05/0.005396, allocations: 36 kB / 363.6 MB, free: 1.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/0.005442, allocations: 87.59 kB / 363.6 MB, free: 1.074 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.641e-05/0.005528, allocations: 147.5 kB / 363.8 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.005796, allocations: 294.7 kB / 364.1 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.005798, allocations: 0 / 364.1 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005799, allocations: 0 / 364.1 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.005803, allocations: 0 / 364.1 MB, free: 0.6406 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0007532/0.006556, allocations: 0.7876 MB / 364.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.006586, allocations: 12.62 kB / 364.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.006687, allocations: 72.61 kB / 364.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.006929, allocations: 298.6 kB / 365.2 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.006946, allocations: 25.02 kB / 365.3 MB, free: 15.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.006984, allocations: 36.33 kB / 365.3 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.007296, allocations: 251.6 kB / 365.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.007308, allocations: 192 / 365.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.007325, allocations: 15.94 kB / 365.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.007331, allocations: 7.938 kB / 365.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.007458, allocations: 115 kB / 365.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008763/0.008334, allocations: 0.9812 MB / 366.7 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.008504, allocations: 169.3 kB / 366.8 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.634e-05/0.00857, allocations: 71.62 kB / 366.9 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.008592, allocations: 4 kB / 366.9 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.008613, allocations: 49.33 kB / 366.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.362e-06/0.008614, allocations: 0 / 366.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008608/0.009475, allocations: 0.5667 MB / 367.5 MB, free: 13.01 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.009499, allocations: 59.39 kB / 367.6 MB, free: 12.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.009694, allocations: 374.5 kB / 367.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.009709, allocations: 33.7 kB / 368 MB, free: 12.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.009813, allocations: 271.2 kB / 368.2 MB, free: 12.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.857e-05/0.009871, allocations: 126.9 kB / 368.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.385e-05/0.009935, allocations: 71.66 kB / 368.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.01006, allocations: 0.5234 MB / 368.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.643e-05/0.01011, allocations: 36.7 kB / 369 MB, free: 11.47 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.274e-05/0.01018, allocations: 103.6 kB / 369.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.01031, allocations: 158.3 kB / 369.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01031, allocations: 4 kB / 369.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004028/0.01072, allocations: 328 kB / 369.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.01073, allocations: 8 kB / 369.6 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.01073, allocations: 4.125 kB / 369.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003626/0.0111, allocations: 135.5 kB / 369.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.01131, allocations: 87.89 kB / 369.8 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.01336, allocations: 3.886 MB / 373.7 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.01347, allocations: 8 kB / 373.7 MB, free: 6.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.01348, allocations: 8 kB / 373.7 MB, free: 6.473 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 (36): * Single equations (assignments): 34 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 9.41e-05/0.01358, allocations: 184.5 kB / 373.9 MB, free: 6.277 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/0.01362, allocations: 51.75 kB / 373.9 MB, free: 6.227 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.01382, allocations: 221.7 kB / 374.1 MB, free: 6 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.01383, allocations: 4 kB / 374.1 MB, free: 5.996 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.01383, allocations: 0 / 374.1 MB, free: 5.996 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.01383, allocations: 3.984 kB / 374.2 MB, free: 5.992 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000481/0.01431, allocations: 0.5496 MB / 374.7 MB, free: 5.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01431, allocations: 3.938 kB / 374.7 MB, free: 5.406 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.01451, allocations: 75.89 kB / 374.8 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.01451, allocations: 4 kB / 374.8 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.01453, allocations: 12 kB / 374.8 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01453, allocations: 4 kB / 374.8 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01453, allocations: 0 / 374.8 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.0148, allocations: 424.9 kB / 375.2 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.837e-05/0.01487, allocations: 55.69 kB / 375.3 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.0149, allocations: 8 kB / 375.3 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.734e-05/0.01499, allocations: 11.98 kB / 375.3 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.01502, allocations: 15.97 kB / 375.3 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.01503, allocations: 11.98 kB / 375.3 MB, free: 4.777 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001115/0.01514, allocations: 251 kB / 375.6 MB, free: 4.535 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01514, allocations: 4 kB / 375.6 MB, free: 4.531 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002307/0.01537, allocations: 88 kB / 375.6 MB, free: 4.445 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (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) * 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 (34): * Single equations (assignments): 34 * 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 6.435e-05/0.01544, allocations: 106.1 kB / 375.8 MB, free: 4.332 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004159/0.01585, allocations: 416.6 kB / 376.2 MB, free: 3.906 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.01585, allocations: 0 / 376.2 MB, free: 3.906 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.519e-05/0.01594, allocations: 91.5 kB / 376.2 MB, free: 3.812 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.01622, allocations: 82.44 kB / 376.3 MB, free: 3.734 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.01735, allocations: 0.9174 MB / 377.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.903e-05/0.0174, allocations: 109.3 kB / 377.4 MB, free: 2.656 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.488e-05/0.0175, allocations: 38.95 kB / 377.4 MB, free: 2.617 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.01764, allocations: 134.1 kB / 377.5 MB, free: 2.484 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01764, allocations: 0 / 377.5 MB, free: 2.484 MB / 298.7 MB Notification: Performance of Templates: time 0.006348/0.02399, allocations: 4.873 MB / 382.4 MB, free: 13.68 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5892291609197855]