Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.000883/0.000883, allocations: 73.98 kB / 22.21 MB, free: 2.297 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.0009011/0.0009011, allocations: 165.2 kB / 25.61 MB, free: 8.902 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.8404/0.8404, allocations: 158.6 MB / 187.5 MB, free: 2.824 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.1712/0.1712, allocations: 36.34 MB / 276.2 MB, free: 14.39 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.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 355 MB, free: 62.58 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.357e-05/1.473e-05, allocations: 4.141 kB / 355 MB, free: 62.57 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.002355/0.002369, allocations: 2.284 MB / 357.3 MB, free: 61.48 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009618/0.003331, allocations: 0.6382 MB / 358 MB, free: 61.04 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.003462, allocations: 6.875 kB / 358 MB, free: 61.04 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.003582, allocations: 29.56 kB / 358 MB, free: 61.02 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.003788, allocations: 91.47 kB / 358.1 MB, free: 60.95 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.003937, allocations: 64.77 kB / 358.1 MB, free: 60.92 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.004175, allocations: 293.4 kB / 358.4 MB, free: 60.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.004293, allocations: 45.58 kB / 358.5 MB, free: 60.75 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.00448, allocations: 173.8 kB / 358.6 MB, free: 60.68 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.004614, allocations: 87.98 kB / 358.7 MB, free: 60.65 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/0.004652, allocations: 18.44 kB / 358.7 MB, free: 60.65 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.239e-05/0.004704, allocations: 20.56 kB / 358.8 MB, free: 60.65 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.424e-05/0.004738, allocations: 51.44 kB / 358.8 MB, free: 60.61 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.048e-05/0.004799, allocations: 82.91 kB / 358.9 MB, free: 60.58 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.004999, allocations: 176.5 kB / 359.1 MB, free: 60.49 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.005002, allocations: 0.6562 kB / 359.1 MB, free: 60.49 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005002, allocations: 0 / 359.1 MB, free: 60.49 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.005007, allocations: 1.25 kB / 359.1 MB, free: 60.49 MB / 330.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.000537/0.005544, allocations: 0.5953 MB / 359.7 MB, free: 59.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.005577, allocations: 9.906 kB / 359.7 MB, free: 59.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.005684, allocations: 47.52 kB / 359.7 MB, free: 59.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.00588, allocations: 205.9 kB / 359.9 MB, free: 59.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.77e-05/0.005927, allocations: 69.86 kB / 360 MB, free: 59.72 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.005956, allocations: 20.78 kB / 360 MB, free: 59.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.006146, allocations: 161.1 kB / 360.2 MB, free: 59.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.006157, allocations: 2.188 kB / 360.2 MB, free: 59.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.006168, allocations: 7.938 kB / 360.2 MB, free: 59.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.006173, allocations: 8.969 kB / 360.2 MB, free: 59.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.386e-05/0.006267, allocations: 53.48 kB / 360.2 MB, free: 59.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.00677, allocations: 0.5768 MB / 360.8 MB, free: 59.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.006933, allocations: 103.9 kB / 360.9 MB, free: 59.08 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.8e-05/0.006981, allocations: 45 kB / 361 MB, free: 59.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.006992, allocations: 7.656 kB / 361 MB, free: 59.06 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/0.007005, allocations: 38.22 kB / 361 MB, free: 59.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.402e-06/0.007007, allocations: 0 / 361 MB, free: 59.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004233/0.00743, allocations: 376.2 kB / 361.4 MB, free: 58.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.805e-05/0.007448, allocations: 54.23 kB / 361.4 MB, free: 58.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.007584, allocations: 273.7 kB / 361.7 MB, free: 58.51 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.007593, allocations: 26.77 kB / 361.7 MB, free: 58.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.007651, allocations: 199.1 kB / 361.9 MB, free: 58.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.007681, allocations: 76.58 kB / 362 MB, free: 58.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/0.007727, allocations: 45.41 kB / 362 MB, free: 58.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.054e-05/0.007778, allocations: 0.504 MB / 362.5 MB, free: 57.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.289e-05/0.007811, allocations: 20.98 kB / 362.6 MB, free: 57.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.529e-05/0.007856, allocations: 48.62 kB / 362.6 MB, free: 57.67 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.153e-05/0.007937, allocations: 85.62 kB / 362.7 MB, free: 57.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.007939, allocations: 1.062 kB / 362.7 MB, free: 57.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001451/0.008084, allocations: 145 kB / 362.8 MB, free: 57.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.008095, allocations: 5.406 kB / 362.8 MB, free: 57.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.008099, allocations: 2.031 kB / 362.8 MB, free: 57.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.008108, allocations: 1.031 kB / 362.8 MB, free: 57.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.008336, allocations: 79.03 kB / 362.9 MB, free: 57.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.00834, allocations: 6 kB / 362.9 MB, free: 57.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.551e-05/0.008406, allocations: 9.672 kB / 362.9 MB, free: 57.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.008413, allocations: 4.953 kB / 362.9 MB, free: 57.54 MB / 330.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 5.57e-05/0.008469, allocations: 168.7 kB / 363.1 MB, free: 57.37 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.233e-05/0.008511, allocations: 33.97 kB / 363.1 MB, free: 57.35 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.664e-05/0.008548, allocations: 30.81 kB / 363.2 MB, free: 57.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.008551, allocations: 2.688 kB / 363.2 MB, free: 57.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.008554, allocations: 0.7031 kB / 363.2 MB, free: 57.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.008558, allocations: 0.7031 kB / 363.2 MB, free: 57.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/0.008891, allocations: 424.5 kB / 363.6 MB, free: 57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.008893, allocations: 4.812 kB / 363.6 MB, free: 57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.009087, allocations: 60.95 kB / 363.7 MB, free: 56.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.00909, allocations: 1.281 kB / 363.7 MB, free: 56.99 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.0091, allocations: 5.344 kB / 363.7 MB, free: 56.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.009102, allocations: 1.562 kB / 363.7 MB, free: 56.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.009103, allocations: 4.5 kB / 363.7 MB, free: 56.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.009303, allocations: 306.5 kB / 364 MB, free: 56.76 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.689e-05/0.00935, allocations: 36.59 kB / 364 MB, free: 56.74 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.00937, allocations: 10.36 kB / 364 MB, free: 56.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.248e-05/0.009442, allocations: 9.094 kB / 364 MB, free: 56.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.009483, allocations: 11.38 kB / 364 MB, free: 56.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.00949, allocations: 6.812 kB / 364 MB, free: 56.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.251e-05/0.009563, allocations: 189 kB / 364.2 MB, free: 56.6 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009563, allocations: 0 / 364.2 MB, free: 56.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001829/0.009746, allocations: 46.84 kB / 364.3 MB, free: 56.59 MB / 330.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 5.5e-05/0.009801, allocations: 97.81 kB / 364.4 MB, free: 56.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.009933, allocations: 103.7 kB / 364.5 MB, free: 56.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.009935, allocations: 1 kB / 364.5 MB, free: 56.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.447e-05/0.009989, allocations: 48.84 kB / 364.5 MB, free: 56.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.01024, allocations: 47.25 kB / 364.6 MB, free: 56.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008061/0.01104, allocations: 0.5678 MB / 365.1 MB, free: 56.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.423e-05/0.01109, allocations: 86.02 kB / 365.2 MB, free: 55.96 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.623e-05/0.01115, allocations: 21.83 kB / 365.2 MB, free: 55.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.956e-05/0.01124, allocations: 101.7 kB / 365.3 MB, free: 55.89 MB / 330.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01124, allocations: 0 / 365.3 MB, free: 55.89 MB / 330.7 MB Notification: Performance of Templates: time 0.004734/0.01598, allocations: 2.288 MB / 367.6 MB, free: 55.37 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.013880517333746]