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.001342/0.001342, allocations: 79.86 kB / 20.53 MB, free: 1.352 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.001431/0.001431, allocations: 168.5 kB / 23.79 MB, free: 4.508 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.407/1.407, allocations: 177.2 MB / 204.1 MB, free: 9.297 MB / 190.1 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.1379/0.1379, allocations: 19.71 MB / 280.3 MB, free: 13.07 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.002085/0.002085, allocations: 70.52 kB / 416.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2479, allocations: 60.46 MB / 477.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.003305/0.2512, allocations: 2.102 MB / 479.4 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.2523, allocations: 0.5936 MB / 480 MB, free: 13.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.2524, allocations: 7.469 kB / 480 MB, free: 13.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.2525, allocations: 21.14 kB / 480 MB, free: 13.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.2528, allocations: 83.98 kB / 480.1 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.2529, allocations: 47.91 kB / 480.1 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.2532, allocations: 247.5 kB / 480.4 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.2533, allocations: 31.02 kB / 480.4 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002631/0.2536, allocations: 157.2 kB / 480.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.2537, allocations: 94.17 kB / 480.7 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.2538, allocations: 15.44 kB / 480.7 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.483e-05/0.2538, allocations: 17.56 kB / 480.7 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.571e-05/0.2539, allocations: 45.31 kB / 480.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.254, allocations: 90.55 kB / 480.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.2542, allocations: 202.7 kB / 481 MB, free: 12.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2542, allocations: 0 / 481 MB, free: 12.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2542, allocations: 0 / 481 MB, free: 12.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.2543, allocations: 1.188 kB / 481 MB, free: 12.8 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.0008654/0.2551, allocations: 468.6 kB / 481.5 MB, free: 12.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.2552, allocations: 12.95 kB / 481.5 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.444e-05/0.2552, allocations: 30.33 kB / 481.5 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.2556, allocations: 199.8 kB / 481.7 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.2556, allocations: 9.844 kB / 481.7 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/0.2556, allocations: 18.64 kB / 481.7 MB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.2559, allocations: 157.1 kB / 481.9 MB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.256, allocations: 0 / 481.9 MB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.256, allocations: 6.438 kB / 481.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.256, allocations: 6.625 kB / 481.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002511/0.2562, allocations: 99.45 kB / 482 MB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008218/0.2571, allocations: 495.5 kB / 482.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.2573, allocations: 112.4 kB / 482.6 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.2574, allocations: 65.92 kB / 482.7 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.2575, allocations: 7.25 kB / 482.7 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.2575, allocations: 35.84 kB / 482.7 MB, free: 11.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.2575, allocations: 0 / 482.7 MB, free: 11.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001076/0.2586, allocations: 0.4945 MB / 483.2 MB, free: 11.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.2586, allocations: 53.12 kB / 483.3 MB, free: 11.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.2589, allocations: 226.8 kB / 483.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.2589, allocations: 30.83 kB / 483.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.712e-05/0.259, allocations: 142.5 kB / 483.7 MB, free: 10.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.543e-05/0.259, allocations: 62.16 kB / 483.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.365e-05/0.2591, allocations: 43.5 kB / 483.8 MB, free: 10.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2593, allocations: 332.4 kB / 484.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.2594, allocations: 52.19 kB / 484.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.2595, allocations: 75.17 kB / 484.2 MB, free: 10.2 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.001163/0.2607, allocations: 350 kB / 484.5 MB, free: 10.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2607, allocations: 4 kB / 484.5 MB, free: 10.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003651/0.2611, allocations: 193.3 kB / 484.7 MB, free: 9.918 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2611, allocations: 9.125 kB / 484.7 MB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2611, allocations: 1.094 kB / 484.7 MB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.2611, allocations: 2.25 kB / 484.7 MB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.2614, allocations: 64.36 kB / 484.8 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.2614, allocations: 2.188 kB / 484.8 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.2615, allocations: 12.84 kB / 484.8 MB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.2615, allocations: 8.562 kB / 484.8 MB, free: 9.883 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 0.0001295/0.2617, allocations: 138.7 kB / 485 MB, free: 9.746 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/0.2617, allocations: 25.52 kB / 485 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.508e-05/0.2618, allocations: 27.38 kB / 485 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2618, allocations: 2.562 kB / 485 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2618, allocations: 0 / 485 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2618, allocations: 3.984 kB / 485 MB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007102/0.2625, allocations: 461.2 kB / 485.5 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2625, allocations: 0 / 485.5 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.2628, allocations: 51.31 kB / 485.5 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.2628, allocations: 1.5 kB / 485.5 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.2628, allocations: 1.219 kB / 485.5 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2628, allocations: 1.031 kB / 485.5 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2628, allocations: 0 / 485.5 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005221/0.2633, allocations: 337.8 kB / 485.9 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.224e-05/0.2634, allocations: 35.41 kB / 485.9 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.2634, allocations: 2.062 kB / 485.9 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.2636, allocations: 11.22 kB / 485.9 MB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.2636, allocations: 12.41 kB / 485.9 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.2637, allocations: 7.25 kB / 485.9 MB, free: 9.039 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000167/0.2638, allocations: 166.5 kB / 486.1 MB, free: 8.918 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2638, allocations: 0 / 486.1 MB, free: 8.918 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.2641, allocations: 39.47 kB / 486.1 MB, free: 8.914 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 9.395e-05/0.2642, allocations: 94.44 kB / 486.2 MB, free: 8.824 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003285/0.2645, allocations: 132.6 kB / 486.4 MB, free: 8.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2645, allocations: 0 / 486.4 MB, free: 8.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.2647, allocations: 71.38 kB / 486.4 MB, free: 8.738 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.265, allocations: 45.81 kB / 486.5 MB, free: 8.715 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.2661, allocations: 0.5747 MB / 487 MB, free: 8.246 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.2662, allocations: 137.8 kB / 487.2 MB, free: 8.086 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.026e-05/0.2663, allocations: 17.62 kB / 487.2 MB, free: 8.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.2664, allocations: 20.5 kB / 487.2 MB, free: 8.051 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2664, allocations: 0 / 487.2 MB, free: 8.051 MB / 382.1 MB Notification: Performance of Templates: time 0.005517/0.2719, allocations: 2.058 MB / 489.3 MB, free: 6.016 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.414282383397222] Failed to read output from testmodel.py, exit status != 0: 0.28007336519658566 0.29473616 0.037376896 Calling exit ...