Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001399/0.001399, allocations: 80.8 kB / 21.5 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.0018/0.0018, allocations: 174.3 kB / 24.91 MB, free: 8.773 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.8668/0.8668, allocations: 158.6 MB / 186.8 MB, free: 2.316 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.1886/0.1886, allocations: 36.34 MB / 275.4 MB, free: 10.53 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.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 305.2 MB, free: 14.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183e-05/1.341e-05, allocations: 3.641 kB / 305.2 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.002334/0.002347, allocations: 2.23 MB / 307.4 MB, free: 12.56 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007946/0.003142, allocations: 0.6326 MB / 308.1 MB, free: 12.13 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.077e-05/0.003233, allocations: 6.188 kB / 308.1 MB, free: 12.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.003339, allocations: 28.61 kB / 308.1 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001683/0.003508, allocations: 74.11 kB / 308.2 MB, free: 12.05 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001086/0.003616, allocations: 53.56 kB / 308.2 MB, free: 12.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.003822, allocations: 254.6 kB / 308.5 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.003924, allocations: 42.72 kB / 308.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.004084, allocations: 144.3 kB / 308.7 MB, free: 11.81 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.004198, allocations: 78.52 kB / 308.7 MB, free: 11.79 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.004221, allocations: 15.03 kB / 308.8 MB, free: 11.79 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.639e-05/0.004277, allocations: 18.28 kB / 308.8 MB, free: 11.79 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.023e-05/0.004308, allocations: 45.28 kB / 308.8 MB, free: 11.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.074e-05/0.004358, allocations: 68.59 kB / 308.9 MB, free: 11.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.004525, allocations: 151.3 kB / 309 MB, free: 11.65 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.004527, allocations: 0.6562 kB / 309 MB, free: 11.65 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.004528, allocations: 5.375 kB / 309 MB, free: 11.65 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.004531, allocations: 0 / 309 MB, free: 11.65 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.0004375/0.004969, allocations: 433.4 kB / 309.5 MB, free: 11.31 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.772e-05/0.004997, allocations: 9.391 kB / 309.5 MB, free: 11.31 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.039e-05/0.005077, allocations: 28.52 kB / 309.5 MB, free: 11.3 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.00524, allocations: 191 kB / 309.7 MB, free: 11.13 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.00525, allocations: 10.69 kB / 309.7 MB, free: 11.13 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.005273, allocations: 15.55 kB / 309.7 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.005417, allocations: 132.3 kB / 309.8 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.005427, allocations: 1.766 kB / 309.8 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.005436, allocations: 6.312 kB / 309.9 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.005442, allocations: 6.594 kB / 309.9 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.251e-05/0.005514, allocations: 49.52 kB / 309.9 MB, free: 11.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.005896, allocations: 372.7 kB / 310.3 MB, free: 10.74 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.005998, allocations: 84.33 kB / 310.4 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.851e-05/0.006037, allocations: 39.48 kB / 310.4 MB, free: 10.69 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.006045, allocations: 3.656 kB / 310.4 MB, free: 10.69 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.00606, allocations: 40.88 kB / 310.4 MB, free: 10.64 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.006061, allocations: 0 / 310.4 MB, free: 10.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004464/0.006507, allocations: 327.8 kB / 310.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.699e-05/0.006524, allocations: 62.53 kB / 310.8 MB, free: 10.38 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.006636, allocations: 213.5 kB / 311 MB, free: 10.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.006644, allocations: 31.95 kB / 311.1 MB, free: 10.2 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.00668, allocations: 126 kB / 311.2 MB, free: 10.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.006709, allocations: 63.36 kB / 311.2 MB, free: 10.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.006748, allocations: 42.89 kB / 311.3 MB, free: 10.01 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.62e-05/0.006804, allocations: 335.5 kB / 311.6 MB, free: 9.684 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.594e-05/0.00684, allocations: 19.23 kB / 311.6 MB, free: 9.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.11e-05/0.006881, allocations: 48.08 kB / 311.7 MB, free: 9.648 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.0002431/0.007125, allocations: 160.1 kB / 311.8 MB, free: 9.602 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.007126, allocations: 0 / 311.8 MB, free: 9.602 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001134/0.007239, allocations: 102.8 kB / 311.9 MB, free: 9.566 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.00725, allocations: 5.156 kB / 311.9 MB, free: 9.566 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.007254, allocations: 1.125 kB / 311.9 MB, free: 9.566 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.007264, allocations: 2.25 kB / 311.9 MB, free: 9.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.007468, allocations: 87.88 kB / 312 MB, free: 9.555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.007472, allocations: 10.31 kB / 312 MB, free: 9.551 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.412e-05/0.007527, allocations: 12.41 kB / 312.1 MB, free: 9.543 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.007533, allocations: 1.844 kB / 312.1 MB, free: 9.543 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 4.918e-05/0.007582, allocations: 114.7 kB / 312.2 MB, free: 9.426 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.007612, allocations: 21.5 kB / 312.2 MB, free: 9.422 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.007643, allocations: 26.2 kB / 312.2 MB, free: 9.402 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.007645, allocations: 1.812 kB / 312.2 MB, free: 9.402 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.007653, allocations: 3.938 kB / 312.2 MB, free: 9.398 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.007656, allocations: 4.797 kB / 312.2 MB, free: 9.395 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.007924, allocations: 303.5 kB / 312.5 MB, free: 9.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.007926, allocations: 1.375 kB / 312.5 MB, free: 9.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.008115, allocations: 75.45 kB / 312.6 MB, free: 9.172 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.008118, allocations: 5.062 kB / 312.6 MB, free: 9.168 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.008126, allocations: 2.734 kB / 312.6 MB, free: 9.168 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.008128, allocations: 0 / 312.6 MB, free: 9.168 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.008128, allocations: 5.094 kB / 312.6 MB, free: 9.164 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.0083, allocations: 232.8 kB / 312.8 MB, free: 9.008 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.008339, allocations: 21.95 kB / 312.9 MB, free: 8.996 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.008356, allocations: 6.25 kB / 312.9 MB, free: 8.992 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.098e-05/0.008417, allocations: 7.766 kB / 312.9 MB, free: 8.988 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.008452, allocations: 18.23 kB / 312.9 MB, free: 8.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.008458, allocations: 2.375 kB / 312.9 MB, free: 8.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.723e-05/0.008515, allocations: 72.77 kB / 313 MB, free: 8.957 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008515, allocations: 0 / 313 MB, free: 8.957 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001619/0.008677, allocations: 38.78 kB / 313 MB, free: 8.953 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 5.722e-05/0.008734, allocations: 80.75 kB / 313.1 MB, free: 8.875 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001135/0.008848, allocations: 79.73 kB / 313.2 MB, free: 8.855 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.008852, allocations: 2.344 kB / 313.2 MB, free: 8.855 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.267e-05/0.008894, allocations: 45.92 kB / 313.2 MB, free: 8.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.009081, allocations: 44.28 kB / 313.2 MB, free: 8.824 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00074/0.00982, allocations: 476.3 kB / 313.7 MB, free: 8.516 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.187e-05/0.009862, allocations: 79.06 kB / 313.8 MB, free: 8.445 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.155e-05/0.009924, allocations: 26.98 kB / 313.8 MB, free: 8.438 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.455e-05/0.01002, allocations: 81.47 kB / 313.9 MB, free: 8.391 MB / 282.7 MB Notification: Performance of SimCode: time 4e-07/0.01002, allocations: 0 / 313.9 MB, free: 8.391 MB / 282.7 MB Notification: Performance of Templates: time 0.004024/0.01404, allocations: 2.393 MB / 316.3 MB, free: 7.621 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.765472103841603]