Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.0008522/0.0008522, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.0008644/0.0008644, allocations: 165.4 kB / 24.56 MB, free: 8 kB / 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.8611/0.8611, allocations: 177.1 MB / 205 MB, free: 5.285 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.09472/0.09472, allocations: 19.74 MB / 281.2 MB, free: 9.105 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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 357.9 MB, free: 6.617 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.455e-05, allocations: 9.344 kB / 358 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.00301/0.003035, allocations: 2.667 MB / 360.6 MB, free: 3.922 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008941/0.003929, allocations: 0.7322 MB / 361.4 MB, free: 3.184 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.004048, allocations: 7.938 kB / 361.4 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.004191, allocations: 47.45 kB / 361.4 MB, free: 3.129 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.004427, allocations: 130.9 kB / 361.5 MB, free: 3 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.004583, allocations: 79.88 kB / 361.6 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.004879, allocations: 414 kB / 362 MB, free: 2.516 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.005018, allocations: 65.62 kB / 362.1 MB, free: 2.453 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.005267, allocations: 231.3 kB / 362.3 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.005419, allocations: 123.5 kB / 362.4 MB, free: 2.105 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.522e-05/0.005454, allocations: 24 kB / 362.5 MB, free: 2.082 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.24e-05/0.005517, allocations: 28 kB / 362.5 MB, free: 2.055 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.87e-05/0.005555, allocations: 71.67 kB / 362.6 MB, free: 1.984 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.446e-05/0.00564, allocations: 119.6 kB / 362.7 MB, free: 1.867 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.005884, allocations: 227 kB / 362.9 MB, free: 1.645 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.005886, allocations: 0 / 362.9 MB, free: 1.645 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005887, allocations: 4 kB / 362.9 MB, free: 1.641 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.005891, allocations: 3.938 kB / 362.9 MB, free: 1.637 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007069/0.006598, allocations: 0.6903 MB / 363.6 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.006632, allocations: 12.03 kB / 363.6 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.006737, allocations: 60.69 kB / 363.7 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.006997, allocations: 264.4 kB / 363.9 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.007012, allocations: 16.88 kB / 363.9 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/0.007054, allocations: 28.36 kB / 364 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.007313, allocations: 221.4 kB / 364.2 MB, free: 284 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.007326, allocations: 192 / 364.2 MB, free: 284 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.007344, allocations: 12.38 kB / 364.2 MB, free: 272 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.007353, allocations: 7.938 kB / 364.2 MB, free: 264 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.007512, allocations: 98.84 kB / 364.3 MB, free: 164 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007573/0.008269, allocations: 0.8392 MB / 365.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.008446, allocations: 139.1 kB / 365.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.051e-05/0.008527, allocations: 71.66 kB / 365.3 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.008544, allocations: 4 kB / 365.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.008563, allocations: 41.33 kB / 365.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.523e-06/0.008565, allocations: 0 / 365.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007106/0.009275, allocations: 0.5281 MB / 365.9 MB, free: 14.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.0093, allocations: 59.39 kB / 366 MB, free: 14.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.009508, allocations: 338.3 kB / 366.3 MB, free: 14.01 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.009522, allocations: 29.7 kB / 366.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.543e-05/0.009618, allocations: 227.5 kB / 366.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.193e-05/0.00967, allocations: 111 kB / 366.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-05/0.009725, allocations: 59.36 kB / 366.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.009839, allocations: 0.5157 MB / 367.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.713e-05/0.009896, allocations: 35.97 kB / 367.3 MB, free: 13.01 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.385e-05/0.00998, allocations: 88.5 kB / 367.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.01012, allocations: 132.6 kB / 367.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.01013, allocations: 3.984 kB / 367.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003227/0.01045, allocations: 258.8 kB / 367.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.01046, allocations: 8 kB / 367.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.01047, allocations: 0 / 367.7 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002302/0.0107, allocations: 63.69 kB / 367.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.01091, allocations: 71.89 kB / 367.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/0.01248, allocations: 3.731 MB / 371.6 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.496e-05/0.01256, allocations: 11.95 kB / 371.6 MB, free: 8.371 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.01257, allocations: 12 kB / 371.6 MB, free: 8.359 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 8.792e-05/0.01266, allocations: 168.5 kB / 371.8 MB, free: 8.184 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.0127, allocations: 43.75 kB / 371.8 MB, free: 8.141 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.0129, allocations: 205.7 kB / 372 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.0129, allocations: 0 / 372 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.52e-07/0.0129, allocations: 0 / 372 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.01291, allocations: 0 / 372 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004715/0.01338, allocations: 0.5523 MB / 372.6 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.01338, allocations: 4 kB / 372.6 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.01356, allocations: 63.91 kB / 372.7 MB, free: 7.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.01356, allocations: 4 kB / 372.7 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.01357, allocations: 11.92 kB / 372.7 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.01357, allocations: 7.984 kB / 372.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01357, allocations: 4 kB / 372.7 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.01386, allocations: 392.6 kB / 373.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.296e-05/0.01392, allocations: 43.78 kB / 373.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.01394, allocations: 4 kB / 373.1 MB, free: 6.789 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.679e-05/0.01403, allocations: 12 kB / 373.1 MB, free: 6.777 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.01407, allocations: 24.02 kB / 373.2 MB, free: 6.754 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.01408, allocations: 8 kB / 373.2 MB, free: 6.746 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001298/0.01421, allocations: 235 kB / 373.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01421, allocations: 0 / 373.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002093/0.01442, allocations: 76 kB / 373.5 MB, free: 6.445 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 7.473e-05/0.0145, allocations: 99.25 kB / 373.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004642/0.01496, allocations: 370 kB / 373.9 MB, free: 5.953 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.01496, allocations: 0 / 373.9 MB, free: 5.953 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.287e-05/0.01504, allocations: 83.7 kB / 374 MB, free: 5.867 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.01533, allocations: 75.3 kB / 374.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.01649, allocations: 0.7721 MB / 374.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.449e-05/0.01654, allocations: 104.9 kB / 375 MB, free: 4.871 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.507e-05/0.01662, allocations: 34.94 kB / 375 MB, free: 4.836 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.08e-05/0.01668, allocations: 28.5 kB / 375 MB, free: 4.809 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01668, allocations: 4 kB / 375 MB, free: 4.805 MB / 298.7 MB Notification: Performance of Templates: time 0.005469/0.02215, allocations: 3.811 MB / 378.8 MB, free: 1.039 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.605761648155749]