Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.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.001026/0.001026, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001003/0.001003, allocations: 169.9 kB / 24.91 MB, free: 9.191 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.9794/0.9794, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.09299/0.09299, allocations: 19.74 MB / 281.6 MB, free: 9.156 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.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 305.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.105e-05/1.217e-05, allocations: 4.406 kB / 305.2 MB, free: 13.12 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.002501/0.002513, allocations: 2.249 MB / 307.4 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008898/0.003403, allocations: 0.623 MB / 308.1 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.846e-05/0.003502, allocations: 7.938 kB / 308.1 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.003615, allocations: 29.92 kB / 308.1 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.003799, allocations: 76.95 kB / 308.2 MB, free: 11.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001116/0.003911, allocations: 56.5 kB / 308.2 MB, free: 10.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.004116, allocations: 254.4 kB / 308.5 MB, free: 10.76 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.004231, allocations: 41.81 kB / 308.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.004427, allocations: 144.9 kB / 308.7 MB, free: 10.61 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.004548, allocations: 79.2 kB / 308.7 MB, free: 10.55 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.00457, allocations: 12 kB / 308.8 MB, free: 10.54 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.391e-05/0.004624, allocations: 20.66 kB / 308.8 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.952e-05/0.004653, allocations: 43.2 kB / 308.8 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.513e-05/0.004709, allocations: 75.58 kB / 308.9 MB, free: 10.42 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.004897, allocations: 151.2 kB / 309 MB, free: 10.3 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.004901, allocations: 0.6562 kB / 309 MB, free: 10.3 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.004901, allocations: 0 / 309 MB, free: 10.3 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.004905, allocations: 0 / 309 MB, free: 10.3 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0004711/0.005376, allocations: 440.8 kB / 309.5 MB, free: 9.871 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.005407, allocations: 8.031 kB / 309.5 MB, free: 9.863 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.104e-05/0.005488, allocations: 27.22 kB / 309.5 MB, free: 9.844 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.005683, allocations: 198.6 kB / 309.7 MB, free: 9.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.005693, allocations: 12.38 kB / 309.7 MB, free: 9.621 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.005718, allocations: 17.03 kB / 309.7 MB, free: 9.605 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.005873, allocations: 137.6 kB / 309.9 MB, free: 9.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.005883, allocations: 0.7031 kB / 309.9 MB, free: 9.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.005894, allocations: 4.375 kB / 309.9 MB, free: 9.477 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.0059, allocations: 7.938 kB / 309.9 MB, free: 9.469 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.639e-05/0.005977, allocations: 48.38 kB / 309.9 MB, free: 9.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/0.006388, allocations: 363.7 kB / 310.3 MB, free: 9.078 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.753e-05/0.006485, allocations: 78.72 kB / 310.4 MB, free: 9 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.027e-05/0.006525, allocations: 39.97 kB / 310.4 MB, free: 8.961 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.006536, allocations: 4 kB / 310.4 MB, free: 8.957 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.006554, allocations: 35.27 kB / 310.4 MB, free: 8.914 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.006555, allocations: 0 / 310.4 MB, free: 8.914 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004517/0.007007, allocations: 327.2 kB / 310.8 MB, free: 8.578 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.007033, allocations: 55.41 kB / 310.8 MB, free: 8.512 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.007178, allocations: 217 kB / 311 MB, free: 8.289 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.007192, allocations: 37.7 kB / 311.1 MB, free: 8.246 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/0.007246, allocations: 116.4 kB / 311.2 MB, free: 8.129 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.007284, allocations: 67.41 kB / 311.2 MB, free: 8.062 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.007334, allocations: 41.66 kB / 311.3 MB, free: 8.016 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.007431, allocations: 338.8 kB / 311.6 MB, free: 7.676 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.578e-05/0.007456, allocations: 23.92 kB / 311.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.188e-05/0.007498, allocations: 40.8 kB / 311.7 MB, free: 7.605 MB / 282.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: grid.f = grid.fnom (0.15915494309189535 * generator.omega_e_nom = grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.007743, allocations: 161.6 kB / 311.8 MB, free: 7.441 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.007744, allocations: 0 / 311.8 MB, free: 7.441 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001267/0.007871, allocations: 109.5 kB / 311.9 MB, free: 7.328 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.007886, allocations: 4 kB / 311.9 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.007893, allocations: 0 / 311.9 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.007906, allocations: 4 kB / 311.9 MB, free: 7.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.008113, allocations: 75.94 kB / 312 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.413e-06/0.008119, allocations: 7.922 kB / 312 MB, free: 7.238 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.427e-05/0.008174, allocations: 12.03 kB / 312 MB, free: 7.227 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.008182, allocations: 4 kB / 312 MB, free: 7.223 MB / 282.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: grid.f = grid.fnom. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.951e-05/0.008261, allocations: 117.8 kB / 312.2 MB, free: 7.098 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.008294, allocations: 27.95 kB / 312.2 MB, free: 7.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.096e-05/0.008335, allocations: 26.11 kB / 312.2 MB, free: 7.039 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.008336, allocations: 0 / 312.2 MB, free: 7.039 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.00834, allocations: 3.938 kB / 312.2 MB, free: 7.035 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.008345, allocations: 8 kB / 312.2 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.008679, allocations: 306.5 kB / 312.5 MB, free: 6.703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.00868, allocations: 4 kB / 312.5 MB, free: 6.699 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/0.008864, allocations: 71.88 kB / 312.6 MB, free: 6.629 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.008868, allocations: 3.938 kB / 312.6 MB, free: 6.625 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.008878, allocations: 4 kB / 312.6 MB, free: 6.621 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.008881, allocations: 0 / 312.6 MB, free: 6.621 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.008882, allocations: 0 / 312.6 MB, free: 6.621 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.009072, allocations: 222.3 kB / 312.8 MB, free: 6.391 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/0.009111, allocations: 23.8 kB / 312.8 MB, free: 6.367 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.009132, allocations: 15.98 kB / 312.9 MB, free: 6.352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.849e-05/0.009191, allocations: 0 / 312.9 MB, free: 6.352 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.009227, allocations: 11.98 kB / 312.9 MB, free: 6.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.009233, allocations: 4 kB / 312.9 MB, free: 6.336 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.275e-05/0.009286, allocations: 70.78 kB / 312.9 MB, free: 6.266 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009286, allocations: 0 / 312.9 MB, free: 6.266 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001493/0.009435, allocations: 40 kB / 313 MB, free: 6.227 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (generator.phi,generator.omega_m,generator.omega_e_filt) * 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 (18): * Single equations (assignments): 18 * 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 7.445e-05/0.00951, allocations: 88.34 kB / 313.1 MB, free: 6.129 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.009627, allocations: 80.81 kB / 313.1 MB, free: 6.047 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.009631, allocations: 0 / 313.1 MB, free: 6.047 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.242e-05/0.009673, allocations: 44.78 kB / 313.2 MB, free: 6 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.009882, allocations: 44.33 kB / 313.2 MB, free: 5.961 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008345/0.01072, allocations: 474 kB / 313.7 MB, free: 5.473 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.281e-05/0.01077, allocations: 75.98 kB / 313.8 MB, free: 5.379 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.464e-05/0.01083, allocations: 25.94 kB / 313.8 MB, free: 5.355 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.01095, allocations: 87.36 kB / 313.9 MB, free: 5.27 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01095, allocations: 0 / 313.9 MB, free: 5.27 MB / 282.7 MB Notification: Performance of Templates: time 0.00379/0.01474, allocations: 2.386 MB / 316.3 MB, free: 2.941 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.624689559917897]