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.0009022/0.0009022, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0008929/0.0008929, allocations: 161.3 kB / 24.99 MB, free: 9.273 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.9017/0.9017, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.08414/0.08414, allocations: 19.74 MB / 281.5 MB, free: 9.336 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.062e-06/1.062e-06, allocations: 0 / 357.9 MB, free: 8.016 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174e-05/1.28e-05, allocations: 2.312 kB / 357.9 MB, free: 8.012 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.002336/0.002349, allocations: 2.328 MB / 360.3 MB, free: 5.672 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009251/0.003274, allocations: 0.6348 MB / 360.9 MB, free: 5.031 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.003398, allocations: 7.938 kB / 360.9 MB, free: 5.023 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.00352, allocations: 27.66 kB / 360.9 MB, free: 4.996 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.003724, allocations: 83.28 kB / 361 MB, free: 4.914 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.003872, allocations: 59.91 kB / 361.1 MB, free: 4.855 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.004121, allocations: 298.5 kB / 361.4 MB, free: 4.562 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.004254, allocations: 45.59 kB / 361.4 MB, free: 4.516 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.004473, allocations: 171.5 kB / 361.6 MB, free: 4.348 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.004602, allocations: 91.69 kB / 361.7 MB, free: 4.258 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.00463, allocations: 20 kB / 361.7 MB, free: 4.238 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.19e-05/0.004682, allocations: 23.94 kB / 361.7 MB, free: 4.215 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.519e-05/0.004717, allocations: 51.77 kB / 361.8 MB, free: 4.164 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.535e-05/0.004782, allocations: 83.75 kB / 361.8 MB, free: 4.082 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.004996, allocations: 171.3 kB / 362 MB, free: 3.914 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.004998, allocations: 0 / 362 MB, free: 3.914 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004998, allocations: 0 / 362 MB, free: 3.914 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.005002, allocations: 4 kB / 362 MB, free: 3.91 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.0006301/0.005632, allocations: 0.5926 MB / 362.6 MB, free: 3.281 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.005663, allocations: 12.03 kB / 362.6 MB, free: 3.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.483e-05/0.005758, allocations: 36.8 kB / 362.6 MB, free: 3.234 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.005985, allocations: 223.5 kB / 362.9 MB, free: 2.992 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.304e-05/0.006048, allocations: 67.97 kB / 362.9 MB, free: 2.914 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.006078, allocations: 16.38 kB / 362.9 MB, free: 2.898 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.006294, allocations: 166 kB / 363.1 MB, free: 2.719 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.006305, allocations: 192 / 363.1 MB, free: 2.719 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.00632, allocations: 15.88 kB / 363.1 MB, free: 2.703 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.006328, allocations: 4 kB / 363.1 MB, free: 2.699 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.006447, allocations: 67.69 kB / 363.2 MB, free: 2.633 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005986/0.007045, allocations: 0.6191 MB / 363.8 MB, free: 1.973 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.007256, allocations: 107.1 kB / 363.9 MB, free: 1.855 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.632e-05/0.007322, allocations: 47.67 kB / 364 MB, free: 1.805 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.007334, allocations: 4 kB / 364 MB, free: 1.801 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.007355, allocations: 41.33 kB / 364 MB, free: 1.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.007356, allocations: 3.938 kB / 364 MB, free: 1.746 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005751/0.007931, allocations: 417.5 kB / 364.4 MB, free: 1.305 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002324/0.008164, allocations: 55.41 kB / 364.5 MB, free: 1.238 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.008339, allocations: 284.3 kB / 364.8 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.008353, allocations: 29.7 kB / 364.8 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.781e-05/0.00843, allocations: 195.3 kB / 365 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.008467, allocations: 75.31 kB / 365 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-05/0.008518, allocations: 47.36 kB / 365.1 MB, free: 0.582 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.008622, allocations: 0.504 MB / 365.6 MB, free: 68 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.713e-05/0.008669, allocations: 23.98 kB / 365.6 MB, free: 44 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.036e-05/0.008739, allocations: 59.34 kB / 365.7 MB, free: 15.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.008851, allocations: 93.73 kB / 365.8 MB, free: 15.88 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.008852, allocations: 0 / 365.8 MB, free: 15.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001718/0.009024, allocations: 164.2 kB / 365.9 MB, free: 15.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.009037, allocations: 8 kB / 365.9 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.009041, allocations: 0 / 365.9 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.009052, allocations: 0 / 365.9 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.009287, allocations: 79.83 kB / 366 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.009292, allocations: 0 / 366 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.797e-05/0.00936, allocations: 12 kB / 366 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.009369, allocations: 8 kB / 366 MB, free: 15.61 MB / 346.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.702e-05/0.009446, allocations: 172.5 kB / 366.2 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.00948, allocations: 35.8 kB / 366.2 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.328e-05/0.009513, allocations: 22.12 kB / 366.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.009516, allocations: 4 kB / 366.3 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.00952, allocations: 3.984 kB / 366.3 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.009523, allocations: 0 / 366.3 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003989/0.009922, allocations: 469.2 kB / 366.7 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.009923, allocations: 0 / 366.7 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.01012, allocations: 59.97 kB / 366.8 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.01012, allocations: 4 kB / 366.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.01014, allocations: 4 kB / 366.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.01014, allocations: 0 / 366.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01014, allocations: 0 / 366.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.01039, allocations: 342.3 kB / 367.1 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.01044, allocations: 27.84 kB / 367.2 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.01046, allocations: 4 kB / 367.2 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/0.01053, allocations: 7.984 kB / 367.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.01058, allocations: 15.97 kB / 367.2 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.01059, allocations: 12 kB / 367.2 MB, free: 14.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001171/0.0107, allocations: 201.1 kB / 367.4 MB, free: 14.19 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0107, allocations: 0 / 367.4 MB, free: 14.19 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002005/0.0109, allocations: 44 kB / 367.4 MB, free: 14.14 MB / 346.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.51e-05/0.01097, allocations: 95.19 kB / 367.5 MB, free: 14.04 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.01114, allocations: 99.53 kB / 367.6 MB, free: 13.94 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.01114, allocations: 0 / 367.6 MB, free: 13.94 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.208e-05/0.0112, allocations: 63.59 kB / 367.7 MB, free: 13.88 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.01146, allocations: 43.92 kB / 367.7 MB, free: 13.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009749/0.01243, allocations: 0.5646 MB / 368.3 MB, free: 13.24 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.987e-05/0.01248, allocations: 80.22 kB / 368.4 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.631e-05/0.01255, allocations: 25.92 kB / 368.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.01259, allocations: 24.44 kB / 368.4 MB, free: 13.08 MB / 346.7 MB Notification: Performance of SimCode: time 8.01e-07/0.0126, allocations: 0 / 368.4 MB, free: 13.08 MB / 346.7 MB Notification: Performance of Templates: time 0.003733/0.01633, allocations: 2.068 MB / 370.5 MB, free: 11.04 MB / 346.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.680359167046845]