Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.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.001267/0.001267, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001436/0.001436, allocations: 161 kB / 24.56 MB, free: 12 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.8389/0.8389, allocations: 158.6 MB / 186.4 MB, free: 2.922 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.1648/0.1648, allocations: 36.34 MB / 275.1 MB, free: 10.65 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.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 353.8 MB, free: 3.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.357e-05, allocations: 5.828 kB / 353.8 MB, free: 3.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.002197/0.002221, allocations: 2.274 MB / 356.1 MB, free: 1.145 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007878/0.003008, allocations: 0.6553 MB / 356.7 MB, free: 492 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.003117, allocations: 4 kB / 356.7 MB, free: 488 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.003245, allocations: 35.53 kB / 356.8 MB, free: 452 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.003442, allocations: 91.27 kB / 356.9 MB, free: 360 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.003577, allocations: 55.92 kB / 356.9 MB, free: 304 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.003765, allocations: 282.6 kB / 357.2 MB, free: 20 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.003908, allocations: 52.89 kB / 357.2 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.004091, allocations: 155.5 kB / 357.4 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.004219, allocations: 83.72 kB / 357.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.731e-05/0.004256, allocations: 16 kB / 357.5 MB, free: 15.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.301e-05/0.004329, allocations: 23.94 kB / 357.5 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.641e-05/0.004375, allocations: 51.75 kB / 357.6 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.568e-05/0.004441, allocations: 83.77 kB / 357.6 MB, free: 15.56 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.004647, allocations: 159.3 kB / 357.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.00465, allocations: 8 kB / 357.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004651, allocations: 0 / 357.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.004654, allocations: 0 / 357.8 MB, free: 15.4 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006095/0.005264, allocations: 0.585 MB / 358.4 MB, free: 14.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.005297, allocations: 8.031 kB / 358.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.857e-05/0.005386, allocations: 44.8 kB / 358.4 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.005594, allocations: 215.5 kB / 358.6 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.005605, allocations: 12.38 kB / 358.7 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.005639, allocations: 20.38 kB / 358.7 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.005839, allocations: 158 kB / 358.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.005849, allocations: 192 / 358.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.005862, allocations: 4.375 kB / 358.8 MB, free: 14.28 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.005871, allocations: 7.938 kB / 358.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000122/0.005993, allocations: 75.59 kB / 358.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005844/0.006577, allocations: 0.6075 MB / 359.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.006721, allocations: 106.8 kB / 359.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.352e-05/0.006785, allocations: 47.67 kB / 359.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.006802, allocations: 0 / 359.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.006823, allocations: 41.39 kB / 359.7 MB, free: 13.33 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 9.82e-07/0.006824, allocations: 0 / 359.7 MB, free: 13.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.000578/0.007402, allocations: 400.1 kB / 360.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.007425, allocations: 59.41 kB / 360.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.007596, allocations: 276.3 kB / 360.4 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.007608, allocations: 29.7 kB / 360.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.007684, allocations: 195.3 kB / 360.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.00772, allocations: 67.44 kB / 360.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/0.007766, allocations: 43.36 kB / 360.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.007871, allocations: 0.504 MB / 361.3 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.79e-05/0.007919, allocations: 27.92 kB / 361.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.7e-05/0.007976, allocations: 59.22 kB / 361.4 MB, free: 11.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.008079, allocations: 95.25 kB / 361.4 MB, free: 11.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.008081, allocations: 0 / 361.4 MB, free: 11.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001642/0.008245, allocations: 161.5 kB / 361.6 MB, free: 11.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.008256, allocations: 4 kB / 361.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.00826, allocations: 0 / 361.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.008273, allocations: 4 kB / 361.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.008492, allocations: 67.89 kB / 361.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007368/0.009229, allocations: 1.854 MB / 363.5 MB, free: 9.277 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.496e-05/0.009294, allocations: 4 kB / 363.5 MB, free: 9.273 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.009303, allocations: 8 kB / 363.5 MB, free: 9.266 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 7.316e-05/0.009377, allocations: 168.5 kB / 363.7 MB, free: 9.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.009409, allocations: 27.86 kB / 363.7 MB, free: 9.062 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.009552, allocations: 147.7 kB / 363.9 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.009554, allocations: 96 / 363.9 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.41e-07/0.009554, allocations: 4 kB / 363.9 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.009558, allocations: 4 kB / 363.9 MB, free: 8.895 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003637/0.009921, allocations: 461.3 kB / 364.3 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.009923, allocations: 4 kB / 364.3 MB, free: 8.398 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.01004, allocations: 39.98 kB / 364.4 MB, free: 8.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.01004, allocations: 3.938 kB / 364.4 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.01005, allocations: 3.984 kB / 364.4 MB, free: 8.352 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.01006, allocations: 4 kB / 364.4 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01006, allocations: 3.938 kB / 364.4 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.01027, allocations: 319.7 kB / 364.7 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.01032, allocations: 47.75 kB / 364.8 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.01033, allocations: 4 kB / 364.8 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.532e-05/0.0104, allocations: 8 kB / 364.8 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.01044, allocations: 15.91 kB / 364.8 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.01044, allocations: 8 kB / 364.8 MB, free: 7.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.453e-05/0.01054, allocations: 197.1 kB / 365 MB, free: 7.742 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01054, allocations: 0 / 365 MB, free: 7.742 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000179/0.01072, allocations: 48 kB / 365 MB, free: 7.695 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: 0 () * 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.317e-05/0.01078, allocations: 95.19 kB / 365.1 MB, free: 7.594 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002529/0.01103, allocations: 136 kB / 365.3 MB, free: 7.461 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.01103, allocations: 0 / 365.3 MB, free: 7.461 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.532e-05/0.01109, allocations: 55.61 kB / 365.3 MB, free: 7.402 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.01132, allocations: 45.09 kB / 365.4 MB, free: 7.359 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009529/0.01228, allocations: 0.5814 MB / 365.9 MB, free: 6.746 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.697e-05/0.01232, allocations: 84.55 kB / 366 MB, free: 6.641 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.195e-05/0.01239, allocations: 25.62 kB / 366 MB, free: 6.617 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.457e-05/0.01244, allocations: 24.5 kB / 366.1 MB, free: 6.594 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01244, allocations: 0 / 366.1 MB, free: 6.594 MB / 298.7 MB Notification: Performance of Templates: time 0.003995/0.01644, allocations: 2.451 MB / 368.5 MB, free: 4.156 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9420976815745234]