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.0009102/0.0009102, 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.0008848/0.0008848, 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 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.7978/0.7978, allocations: 158.6 MB / 186.4 MB, free: 2.539 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.1645/0.1645, allocations: 36.34 MB / 275.1 MB, free: 10.63 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.052e-06/1.052e-06, allocations: 0 / 353.8 MB, free: 3.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.389e-05, allocations: 2.312 kB / 353.8 MB, free: 3.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.001952/0.001966, allocations: 2.297 MB / 356.1 MB, free: 1.125 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006957/0.002661, allocations: 0.6514 MB / 356.7 MB, free: 476 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.548e-05/0.002757, allocations: 7.938 kB / 356.7 MB, free: 468 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.002874, allocations: 27.66 kB / 356.8 MB, free: 440 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.003058, allocations: 87.22 kB / 356.9 MB, free: 352 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/0.003183, allocations: 63.91 kB / 356.9 MB, free: 288 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000194/0.003377, allocations: 294.6 kB / 357.2 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.003509, allocations: 45.59 kB / 357.3 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.003683, allocations: 167.5 kB / 357.4 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.003814, allocations: 87.7 kB / 357.5 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.003843, allocations: 20 kB / 357.5 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.339e-05/0.003897, allocations: 20 kB / 357.5 MB, free: 15.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.905e-05/0.003936, allocations: 51.77 kB / 357.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.276e-05/0.003999, allocations: 83.75 kB / 357.7 MB, free: 15.53 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.00421, allocations: 175.3 kB / 357.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.004211, allocations: 0 / 357.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.004212, allocations: 0 / 357.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.004216, allocations: 0 / 357.8 MB, free: 15.36 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006134/0.00483, allocations: 0.5928 MB / 358.4 MB, free: 14.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.004864, allocations: 12.02 kB / 358.5 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.467e-05/0.004959, allocations: 48.75 kB / 358.5 MB, free: 14.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.005179, allocations: 211.6 kB / 358.7 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.084e-05/0.00524, allocations: 63.97 kB / 358.8 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.005272, allocations: 24.33 kB / 358.8 MB, free: 14.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.005484, allocations: 162 kB / 358.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.005494, allocations: 4.188 kB / 359 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.005508, allocations: 7.938 kB / 359 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.005516, allocations: 4 kB / 359 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.005636, allocations: 75.62 kB / 359 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006165/0.006253, allocations: 0.6112 MB / 359.6 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.006466, allocations: 118.8 kB / 359.8 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.719e-05/0.006534, allocations: 51.7 kB / 359.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.006547, allocations: 4 kB / 359.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.006568, allocations: 45.33 kB / 359.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.006569, allocations: 0 / 359.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005824/0.007151, allocations: 416.1 kB / 360.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.007177, allocations: 59.33 kB / 360.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.007345, allocations: 276.3 kB / 360.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.007359, allocations: 29.7 kB / 360.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.804e-05/0.007437, allocations: 199.3 kB / 360.8 MB, free: 12.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.007473, allocations: 67.39 kB / 360.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.182e-05/0.007525, allocations: 51.36 kB / 360.9 MB, free: 12.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.007637, allocations: 0.5001 MB / 361.4 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.863e-05/0.007685, allocations: 27.98 kB / 361.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.643e-05/0.007752, allocations: 59.2 kB / 361.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/0.007859, allocations: 91.22 kB / 361.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.00786, allocations: 0 / 361.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001708/0.008031, allocations: 165.3 kB / 361.8 MB, free: 11.15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.008042, allocations: 4 kB / 361.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.008047, allocations: 0 / 361.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.008059, allocations: 0 / 361.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.008289, allocations: 75.89 kB / 361.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.008295, allocations: 8.031 kB / 361.9 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.607e-05/0.008361, allocations: 11.95 kB / 361.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.008369, allocations: 4 kB / 361.9 MB, free: 11.05 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.767e-05/0.008447, allocations: 172.5 kB / 362 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.008482, allocations: 35.78 kB / 362.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.008517, allocations: 26.12 kB / 362.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.008519, allocations: 0 / 362.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.008523, allocations: 0 / 362.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.008526, allocations: 3.984 kB / 362.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004088/0.008935, allocations: 477.3 kB / 362.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.008936, allocations: 4 kB / 362.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.009134, allocations: 63.91 kB / 362.6 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.009136, allocations: 3.938 kB / 362.6 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.009145, allocations: 0 / 362.6 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.009147, allocations: 4 kB / 362.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.009148, allocations: 0 / 362.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.009396, allocations: 327.6 kB / 363 MB, free: 9.875 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/0.009443, allocations: 31.84 kB / 363 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.009462, allocations: 4 kB / 363 MB, free: 9.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.211e-05/0.009534, allocations: 11.98 kB / 363 MB, free: 9.828 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.009573, allocations: 11.98 kB / 363 MB, free: 9.816 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.009579, allocations: 4 kB / 363 MB, free: 9.812 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.009684, allocations: 205.1 kB / 363.2 MB, free: 9.617 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009684, allocations: 0 / 363.2 MB, free: 9.617 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001809/0.009865, allocations: 44 kB / 363.3 MB, free: 9.574 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 5.989e-05/0.009925, allocations: 95.25 kB / 363.4 MB, free: 9.473 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.01007, allocations: 100 kB / 363.5 MB, free: 9.371 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01007, allocations: 8.062 kB / 363.5 MB, free: 9.363 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.157e-05/0.01013, allocations: 59.59 kB / 363.5 MB, free: 9.301 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.01038, allocations: 55.09 kB / 363.6 MB, free: 9.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009851/0.01137, allocations: 0.5559 MB / 364.1 MB, free: 8.664 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.951e-05/0.01142, allocations: 80.22 kB / 364.2 MB, free: 8.562 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.013e-05/0.01148, allocations: 29.91 kB / 364.2 MB, free: 8.535 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/0.01153, allocations: 20.5 kB / 364.3 MB, free: 8.516 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01153, allocations: 0 / 364.3 MB, free: 8.516 MB / 298.7 MB Notification: Performance of Templates: time 0.003777/0.0153, allocations: 2.073 MB / 366.3 MB, free: 6.461 MB / 298.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: 2.8106487370096147]