Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.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.001385/0.001385, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001473/0.001473, allocations: 165 kB / 24.56 MB, free: 16 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.9168/0.9168, allocations: 177.2 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.08649/0.08649, allocations: 19.73 MB / 281.2 MB, free: 9.125 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.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 357.9 MB, free: 6.617 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.003e-05, allocations: 2.312 kB / 357.9 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.002399/0.002419, allocations: 2.325 MB / 360.3 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007876/0.003206, allocations: 0.6349 MB / 360.9 MB, free: 3.629 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.003308, allocations: 7.938 kB / 360.9 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.003437, allocations: 27.66 kB / 360.9 MB, free: 3.594 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001953/0.003632, allocations: 83.22 kB / 361 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.00384, allocations: 63.91 kB / 361.1 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.004084, allocations: 302.5 kB / 361.4 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.004218, allocations: 45.58 kB / 361.4 MB, free: 3.109 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.004427, allocations: 175.5 kB / 361.6 MB, free: 2.938 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.004552, allocations: 87.7 kB / 361.7 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.004582, allocations: 16 kB / 361.7 MB, free: 2.836 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.985e-05/0.004631, allocations: 27.94 kB / 361.7 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.386e-05/0.004665, allocations: 51.75 kB / 361.8 MB, free: 2.758 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.375e-05/0.004729, allocations: 87.75 kB / 361.9 MB, free: 2.672 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.004932, allocations: 167.3 kB / 362 MB, free: 2.508 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004934, allocations: 0 / 362 MB, free: 2.508 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.004935, allocations: 0 / 362 MB, free: 2.508 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.004939, allocations: 4 kB / 362 MB, free: 2.504 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006361/0.005575, allocations: 0.589 MB / 362.6 MB, free: 1.879 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.00561, allocations: 12.03 kB / 362.6 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.27e-05/0.005703, allocations: 40.75 kB / 362.7 MB, free: 1.828 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.006058, allocations: 223.5 kB / 362.9 MB, free: 1.586 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.758e-05/0.006125, allocations: 63.97 kB / 363 MB, free: 1.512 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.006155, allocations: 20.38 kB / 363 MB, free: 1.492 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.006388, allocations: 173.7 kB / 363.1 MB, free: 1.305 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.0064, allocations: 192 / 363.1 MB, free: 1.305 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.006416, allocations: 7.938 kB / 363.1 MB, free: 1.297 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.006424, allocations: 4 kB / 363.2 MB, free: 1.293 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.006544, allocations: 67.94 kB / 363.2 MB, free: 1.227 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006084/0.007152, allocations: 0.6189 MB / 363.8 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.007368, allocations: 111.1 kB / 363.9 MB, free: 456 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.466e-05/0.007433, allocations: 51.61 kB / 364 MB, free: 400 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.007444, allocations: 4 kB / 364 MB, free: 396 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.007465, allocations: 41.33 kB / 364 MB, free: 344 kB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.283e-06/0.007466, allocations: 0 / 364 MB, free: 344 kB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005967/0.008063, allocations: 419 kB / 364.4 MB, free: 15.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.008089, allocations: 55.41 kB / 364.5 MB, free: 15.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.008257, allocations: 280.3 kB / 364.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.008271, allocations: 33.7 kB / 364.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.684e-05/0.008348, allocations: 195.3 kB / 365 MB, free: 15.3 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.725e-05/0.008385, allocations: 71.36 kB / 365.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.008437, allocations: 51.31 kB / 365.1 MB, free: 15.17 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.008544, allocations: 0.504 MB / 365.6 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-05/0.008591, allocations: 23.98 kB / 365.6 MB, free: 14.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.043e-05/0.008651, allocations: 63.28 kB / 365.7 MB, free: 14.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.008761, allocations: 89.73 kB / 365.8 MB, free: 14.47 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.008762, allocations: 0 / 365.8 MB, free: 14.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001717/0.008934, allocations: 167.9 kB / 366 MB, free: 14.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.008946, allocations: 6.344 kB / 366 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.008951, allocations: 4 kB / 366 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.008963, allocations: 0 / 366 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.009197, allocations: 71.95 kB / 366 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.009203, allocations: 0 / 366 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.631e-05/0.009269, allocations: 11.98 kB / 366.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.009279, allocations: 12 kB / 366.1 MB, free: 14.2 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 prepare postOptimizeDAE: time 7.575e-05/0.009355, allocations: 164.5 kB / 366.2 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.009389, allocations: 35.8 kB / 366.3 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.441e-05/0.009424, allocations: 26.11 kB / 366.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.009427, allocations: 4 kB / 366.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.00943, allocations: 0 / 366.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.009434, allocations: 3.984 kB / 366.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006276/0.01006, allocations: 469.2 kB / 366.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01006, allocations: 3.938 kB / 366.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.01026, allocations: 59.97 kB / 366.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.01026, allocations: 0 / 366.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.01028, allocations: 8 kB / 366.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01028, allocations: 0 / 366.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.01028, allocations: 0 / 366.8 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.01053, allocations: 331.5 kB / 367.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.421e-05/0.01057, allocations: 27.84 kB / 367.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.01059, allocations: 8 kB / 367.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.118e-05/0.01066, allocations: 7.984 kB / 367.2 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.01071, allocations: 15.97 kB / 367.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.01072, allocations: 12 kB / 367.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001003/0.01082, allocations: 201.1 kB / 367.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01082, allocations: 0 / 367.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001787/0.01099, allocations: 40 kB / 367.5 MB, free: 12.74 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.488e-05/0.01106, allocations: 99.19 kB / 367.5 MB, free: 12.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001698/0.01123, allocations: 96.44 kB / 367.6 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.01123, allocations: 0 / 367.6 MB, free: 12.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.187e-05/0.01129, allocations: 60.62 kB / 367.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.01155, allocations: 61.98 kB / 367.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009503/0.0125, allocations: 0.5606 MB / 368.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.528e-05/0.01254, allocations: 76.22 kB / 368.4 MB, free: 11.72 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.16e-05/0.01261, allocations: 29.92 kB / 368.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.749e-05/0.01265, allocations: 20.5 kB / 368.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01265, allocations: 0 / 368.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of Templates: time 0.003805/0.01646, allocations: 2.16 MB / 370.6 MB, free: 9.543 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4566569859161973]