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.001869/0.001869, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002256/0.002256, allocations: 215.3 kB / 23.73 MB, free: 4.156 MB / 14.72 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 1.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.1451/0.1451, allocations: 26.84 MB / 340.7 MB, free: 7.957 MB / 270.1 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: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 68.12 kB / 477.3 MB, free: 2.992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2795, allocations: 60.48 MB / 0.5251 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.002686/0.2822, allocations: 2.087 MB / 0.5272 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008701/0.2831, allocations: 0.5898 MB / 0.5278 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.2832, allocations: 2.562 kB / 0.5278 GB, free: 7.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.2833, allocations: 28.39 kB / 0.5278 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.2835, allocations: 80.8 kB / 0.5279 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.2836, allocations: 51.3 kB / 0.5279 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.2839, allocations: 254.7 kB / 0.5282 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.284, allocations: 36.27 kB / 0.5282 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.2842, allocations: 111.6 kB / 0.5283 GB, free: 7.594 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.2843, allocations: 87.91 kB / 0.5284 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.2843, allocations: 18.31 kB / 0.5284 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.101e-05/0.2844, allocations: 22.22 kB / 0.5284 GB, free: 7.547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.2844, allocations: 47.55 kB / 0.5285 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.034e-05/0.2845, allocations: 82.48 kB / 0.5285 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.2847, allocations: 203.3 kB / 0.5287 GB, free: 7.383 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2847, allocations: 0.7969 kB / 0.5287 GB, free: 7.383 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2847, allocations: 0 / 0.5287 GB, free: 7.383 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.2847, allocations: 1.188 kB / 0.5287 GB, free: 7.383 MB / 382.1 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.0006965/0.2854, allocations: 474.8 kB / 0.5292 GB, free: 7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.2854, allocations: 9.281 kB / 0.5292 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.837e-05/0.2855, allocations: 30.66 kB / 0.5292 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.2858, allocations: 197.9 kB / 0.5294 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.2858, allocations: 13.94 kB / 0.5294 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/0.2859, allocations: 18.84 kB / 0.5294 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.2861, allocations: 152.9 kB / 0.5296 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.2861, allocations: 9.422 kB / 0.5296 GB, free: 6.699 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.2862, allocations: 5.281 kB / 0.5296 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.2862, allocations: 2.594 kB / 0.5296 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002651/0.2864, allocations: 97.64 kB / 0.5297 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007164/0.2872, allocations: 490.1 kB / 0.5302 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.2874, allocations: 121.4 kB / 0.5303 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.2876, allocations: 70.8 kB / 0.5304 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.2876, allocations: 5.594 kB / 0.5304 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.2876, allocations: 32.83 kB / 0.5304 GB, free: 6.164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.2876, allocations: 0.5 kB / 0.5304 GB, free: 6.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001021/0.2886, allocations: 493.1 kB / 0.5309 GB, free: 5.867 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.2886, allocations: 58.41 kB / 0.5309 GB, free: 5.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.2888, allocations: 228.1 kB / 0.5311 GB, free: 5.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.2888, allocations: 31.11 kB / 0.5312 GB, free: 5.621 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.2889, allocations: 137.5 kB / 0.5313 GB, free: 5.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.2889, allocations: 64.48 kB / 0.5314 GB, free: 5.449 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-05/0.289, allocations: 47.22 kB / 0.5314 GB, free: 5.414 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.591e-05/0.289, allocations: 329.5 kB / 0.5317 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.2892, allocations: 56.08 kB / 0.5318 GB, free: 5.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.2893, allocations: 73.19 kB / 0.5318 GB, free: 5.035 MB / 382.1 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.001034/0.2903, allocations: 354.6 kB / 0.5322 GB, free: 4.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2903, allocations: 1.25 kB / 0.5322 GB, free: 4.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003051/0.2906, allocations: 188.1 kB / 0.5324 GB, free: 4.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.2906, allocations: 10.67 kB / 0.5324 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2906, allocations: 5.297 kB / 0.5324 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.2907, allocations: 1.531 kB / 0.5324 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.2909, allocations: 53.33 kB / 0.5324 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2909, allocations: 11.72 kB / 0.5324 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.291, allocations: 9.609 kB / 0.5324 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.291, allocations: 9.281 kB / 0.5325 GB, free: 4.797 MB / 382.1 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 8.142e-05/0.2911, allocations: 135.7 kB / 0.5326 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.2912, allocations: 26.58 kB / 0.5326 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.261e-05/0.2912, allocations: 29.92 kB / 0.5326 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.2912, allocations: 6.25 kB / 0.5326 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2912, allocations: 0 / 0.5326 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2912, allocations: 1.312 kB / 0.5326 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005793/0.2918, allocations: 457.6 kB / 0.5331 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2918, allocations: 0 / 0.5331 GB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.2921, allocations: 51.09 kB / 0.5331 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.2921, allocations: 1.438 kB / 0.5331 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.2921, allocations: 6.031 kB / 0.5331 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2921, allocations: 5.438 kB / 0.5331 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2921, allocations: 0 / 0.5331 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004265/0.2925, allocations: 339.1 kB / 0.5335 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-05/0.2926, allocations: 29.17 kB / 0.5335 GB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.2926, allocations: 5.906 kB / 0.5335 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.2928, allocations: 9.891 kB / 0.5335 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.2928, allocations: 10.66 kB / 0.5335 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.2928, allocations: 3.25 kB / 0.5335 GB, free: 4.043 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.293, allocations: 168.9 kB / 0.5337 GB, free: 3.938 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.293, allocations: 3.938 kB / 0.5337 GB, free: 3.934 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.2932, allocations: 38.59 kB / 0.5337 GB, free: 3.93 MB / 382.1 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 6.287e-05/0.2933, allocations: 95.64 kB / 0.5338 GB, free: 3.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003132/0.2936, allocations: 129.2 kB / 0.5339 GB, free: 3.805 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2936, allocations: 1.719 kB / 0.5339 GB, free: 3.805 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.2937, allocations: 65.52 kB / 0.534 GB, free: 3.785 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.2941, allocations: 45.56 kB / 0.534 GB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008432/0.2949, allocations: 0.5779 MB / 0.5346 GB, free: 3.355 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.295, allocations: 131.4 kB / 0.5347 GB, free: 3.273 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.37e-05/0.2951, allocations: 25.88 kB / 0.5348 GB, free: 3.266 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.2952, allocations: 19.38 kB / 0.5348 GB, free: 3.262 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2952, allocations: 0 / 0.5348 GB, free: 3.262 MB / 382.1 MB Notification: Performance of Templates: time 0.005556/0.3007, allocations: 2.278 MB / 0.537 GB, free: 2.914 MB / 382.1 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=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.524338681250811] Failed to read output from testmodel.py, exit status != 0: 0.3082160037010908 0.32098140699999994 0.033260975000000005 Calling exit ...