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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000905/0.0009051, allocations: 93.8 kB / 16.3 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008643/0.0008644, allocations: 182.9 kB / 17.19 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 205.4 MB / 223.4 MB, free: 5.262 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3473/0.3473, allocations: 48.76 MB / 320.4 MB, free: 3.902 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000472/0.000472, allocations: 12 kB / 391.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09601/0.09649, allocations: 60.26 MB / 451.4 MB, free: 1.934 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.001953/0.09848, allocations: 1.832 MB / 453.2 MB, free: 92 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1567/0.2552, allocations: 0.6241 MB / 453.9 MB, free: 47.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.2554, allocations: 2.781 kB / 453.9 MB, free: 47.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.347e-05/0.2555, allocations: 20.31 kB / 453.9 MB, free: 47.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.2557, allocations: 94.69 kB / 454 MB, free: 47.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000102/0.2558, allocations: 39.11 kB / 454 MB, free: 47.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.256, allocations: 164.5 kB / 454.2 MB, free: 47.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.2561, allocations: 46.8 kB / 454.2 MB, free: 47.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.2562, allocations: 86.05 kB / 454.3 MB, free: 47.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.2564, allocations: 91.19 kB / 454.4 MB, free: 47.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.2564, allocations: 8.125 kB / 454.4 MB, free: 47.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.864e-05/0.2564, allocations: 14.41 kB / 454.4 MB, free: 47.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.631e-05/0.2565, allocations: 34.66 kB / 454.4 MB, free: 47.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.542e-05/0.2565, allocations: 62.27 kB / 454.5 MB, free: 47.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.2567, allocations: 132.9 kB / 454.6 MB, free: 47.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.2567, allocations: 0 / 454.6 MB, free: 47.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2567, allocations: 1.312 kB / 454.6 MB, free: 47.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2567, allocations: 0.7188 kB / 454.6 MB, free: 47.73 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.0006117/0.2573, allocations: 0.4991 MB / 455.1 MB, free: 47.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.2573, allocations: 11.78 kB / 455.1 MB, free: 47.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.03e-05/0.2574, allocations: 27.38 kB / 455.2 MB, free: 47.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.2576, allocations: 250.3 kB / 455.4 MB, free: 47.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.2577, allocations: 13.34 kB / 455.4 MB, free: 47.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.2577, allocations: 14.66 kB / 455.4 MB, free: 47.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.258, allocations: 159.1 kB / 455.6 MB, free: 47.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.258, allocations: 0 / 455.6 MB, free: 47.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.258, allocations: 3.938 kB / 455.6 MB, free: 47.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.258, allocations: 5.844 kB / 455.6 MB, free: 47.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002188/0.2582, allocations: 116.8 kB / 455.7 MB, free: 47.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006485/0.2589, allocations: 0.6077 MB / 456.3 MB, free: 46.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.2591, allocations: 131.2 kB / 456.5 MB, free: 46.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.2591, allocations: 7.438 kB / 456.5 MB, free: 46.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.176e-05/0.2592, allocations: 32.75 kB / 456.5 MB, free: 46.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.2592, allocations: 0 / 456.5 MB, free: 46.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0008636/0.26, allocations: 0.5711 MB / 457.1 MB, free: 46.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.2601, allocations: 62.23 kB / 457.1 MB, free: 46.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.2602, allocations: 222.1 kB / 457.3 MB, free: 46.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.2603, allocations: 31.98 kB / 457.4 MB, free: 46.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.395e-05/0.2603, allocations: 148.2 kB / 457.5 MB, free: 45.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.2603, allocations: 59.19 kB / 457.6 MB, free: 45.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/0.2604, allocations: 6.562 kB / 457.6 MB, free: 45.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.482e-05/0.2604, allocations: 327.9 kB / 457.9 MB, free: 45.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.2605, allocations: 54.78 kB / 458 MB, free: 45.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.2607, allocations: 86.56 kB / 458 MB, free: 45.57 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: $DER.generator.theta = generator.omega_e_nom (6.283185307179586 * grid.fnom = generator.omega_e_nom) Notification: Performance of analyzeInitialSystem (initialization): time 0.00082/0.2615, allocations: 299.3 kB / 458.3 MB, free: 45.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2615, allocations: 2.938 kB / 458.3 MB, free: 45.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003209/0.2618, allocations: 203.1 kB / 458.5 MB, free: 45.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.2618, allocations: 4.812 kB / 458.5 MB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.2619, allocations: 0 / 458.5 MB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.2619, allocations: 2.594 kB / 458.5 MB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.2621, allocations: 59.64 kB / 458.6 MB, free: 45.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2621, allocations: 7.266 kB / 458.6 MB, free: 45.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.2623, allocations: 9.094 kB / 458.6 MB, free: 45.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.2623, allocations: 6.625 kB / 458.6 MB, free: 45.4 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 sytem: $DER.generator.theta = generator.omega_e_nom. 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.081e-05/0.2624, allocations: 133.5 kB / 458.8 MB, free: 45.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.2624, allocations: 23.38 kB / 458.8 MB, free: 45.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.754e-05/0.2625, allocations: 28.31 kB / 458.8 MB, free: 45.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2625, allocations: 2.812 kB / 458.8 MB, free: 45.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2625, allocations: 4 kB / 458.8 MB, free: 45.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2625, allocations: 0 / 458.8 MB, free: 45.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000592/0.2631, allocations: 0.5337 MB / 459.3 MB, free: 44.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2631, allocations: 0 / 459.3 MB, free: 44.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.2634, allocations: 57.61 kB / 459.4 MB, free: 44.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2634, allocations: 0 / 459.4 MB, free: 44.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.2634, allocations: 9.188 kB / 459.4 MB, free: 44.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2634, allocations: 0 / 459.4 MB, free: 44.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2634, allocations: 0 / 459.4 MB, free: 44.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004462/0.2639, allocations: 350.6 kB / 459.8 MB, free: 44.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.644e-05/0.264, allocations: 104.8 kB / 459.9 MB, free: 44.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.123e-05/0.264, allocations: 6.875 kB / 459.9 MB, free: 44.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.2642, allocations: 14.27 kB / 459.9 MB, free: 44.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.2642, allocations: 9.094 kB / 459.9 MB, free: 44.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.2642, allocations: 8.562 kB / 459.9 MB, free: 44.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.2643, allocations: 168.6 kB / 460.1 MB, free: 44.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2643, allocations: 0 / 460.1 MB, free: 44.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.2646, allocations: 38.03 kB / 460.1 MB, free: 44.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.216e-05/0.2647, allocations: 95.09 kB / 460.2 MB, free: 44.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003084/0.265, allocations: 145.9 kB / 460.3 MB, free: 44.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.265, allocations: 3.984 kB / 460.3 MB, free: 44.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.2651, allocations: 73.91 kB / 460.4 MB, free: 44.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.2654, allocations: 36.47 kB / 460.4 MB, free: 44.49 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008111/0.2662, allocations: 0.6919 MB / 461.1 MB, free: 44.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.2663, allocations: 0.7449 MB / 461.9 MB, free: 43.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.759e-05/0.2664, allocations: 21.41 kB / 461.9 MB, free: 43.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.2665, allocations: 19.69 kB / 461.9 MB, free: 43.37 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2665, allocations: 0 / 461.9 MB, free: 43.37 MB / 382.1 MB Notification: Performance of Templates: time 0.003755/0.2703, allocations: 1.739 MB / 463.7 MB, free: 43.27 MB / 382.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile Environment - environmentSimulation: (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=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) Environment - environmentSimulation: