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.001024/0.001024, allocations: 107.3 kB / 16.92 MB, free: 5.77 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.00101/0.00101, allocations: 191.5 kB / 17.85 MB, free: 5.168 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.297/1.297, allocations: 205.1 MB / 223.7 MB, free: 12.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2576/0.2576, allocations: 48.84 MB / 319.9 MB, free: 11.11 MB / 270.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.001552/0.001552, allocations: 66.58 kB / 390.1 MB, free: 48.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08847/0.09003, allocations: 59.17 MB / 449.2 MB, free: 9.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.003349/0.09341, allocations: 2.174 MB / 451.4 MB, free: 7.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.09458, allocations: 0.6319 MB / 452 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.09473, allocations: 3.938 kB / 452 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.0949, allocations: 27.72 kB / 452.1 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.09515, allocations: 75.34 kB / 452.2 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.09532, allocations: 47.94 kB / 452.2 MB, free: 6.789 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.0956, allocations: 246.9 kB / 452.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.09575, allocations: 56.36 kB / 452.5 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.09598, allocations: 95.59 kB / 452.6 MB, free: 6.398 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.09615, allocations: 111.4 kB / 452.7 MB, free: 6.289 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.722e-05/0.09619, allocations: 16 kB / 452.7 MB, free: 6.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.279e-05/0.09626, allocations: 16 kB / 452.7 MB, free: 6.258 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.148e-05/0.09631, allocations: 39.84 kB / 452.8 MB, free: 6.219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.09643, allocations: 103.4 kB / 452.9 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.09668, allocations: 195.5 kB / 453.1 MB, free: 5.926 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.09669, allocations: 0 / 453.1 MB, free: 5.926 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.0967, allocations: 0 / 453.1 MB, free: 5.926 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.09671, allocations: 0 / 453.1 MB, free: 5.926 MB / 334.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.0008019/0.09752, allocations: 0.5296 MB / 453.6 MB, free: 5.348 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.09755, allocations: 11.89 kB / 453.6 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.727e-05/0.09766, allocations: 36.56 kB / 453.6 MB, free: 5.301 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002797/0.09795, allocations: 262.7 kB / 453.9 MB, free: 5.008 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.09797, allocations: 8.375 kB / 453.9 MB, free: 5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.09801, allocations: 20.38 kB / 453.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.09828, allocations: 155.6 kB / 454.1 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.0983, allocations: 0 / 454.1 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.09833, allocations: 8 kB / 454.1 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.09834, allocations: 0 / 454.1 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002475/0.09859, allocations: 103.9 kB / 454.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008115/0.09941, allocations: 0.5998 MB / 454.8 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.09966, allocations: 134.5 kB / 454.9 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.09982, allocations: 76.81 kB / 455 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.09984, allocations: 4 kB / 455 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.09987, allocations: 30.56 kB / 455 MB, free: 3.785 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.09988, allocations: 0 / 455 MB, free: 3.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001036/0.1009, allocations: 0.5522 MB / 455.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.101, allocations: 55.41 kB / 455.6 MB, free: 3.113 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.1012, allocations: 225 kB / 455.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1012, allocations: 29.7 kB / 455.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.239e-05/0.1013, allocations: 144.3 kB / 456 MB, free: 2.707 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.1014, allocations: 67.03 kB / 456.1 MB, free: 2.641 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.906e-05/0.1014, allocations: 37.7 kB / 456.1 MB, free: 2.598 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1015, allocations: 338.8 kB / 456.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.1017, allocations: 51.91 kB / 456.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.1018, allocations: 78.41 kB / 456.6 MB, free: 2.121 MB / 334.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.1591549430918953 * generator.omega_e_nom = grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.103, allocations: 430.6 kB / 457 MB, free: 1.676 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.103, allocations: 0 / 457 MB, free: 1.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003402/0.1033, allocations: 189.2 kB / 457.2 MB, free: 1.484 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.1033, allocations: 4 kB / 457.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1033, allocations: 3.984 kB / 457.2 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1034, allocations: 8.031 kB / 457.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.1036, allocations: 51.97 kB / 457.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1036, allocations: 4 kB / 457.3 MB, free: 1.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.1038, allocations: 8 kB / 457.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.1038, allocations: 7.938 kB / 457.3 MB, free: 1.398 MB / 334.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.0001131/0.1039, allocations: 133.8 kB / 457.4 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.88e-05/0.104, allocations: 31.66 kB / 457.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.207e-05/0.104, allocations: 26.17 kB / 457.5 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.104, allocations: 0 / 457.5 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.104, allocations: 0 / 457.5 MB, free: 1.207 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.104, allocations: 4 kB / 457.5 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006873/0.1047, allocations: 0.5208 MB / 458 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1048, allocations: 0 / 458 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.105, allocations: 55.91 kB / 458 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.105, allocations: 0 / 458 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.1051, allocations: 8 kB / 458 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1051, allocations: 4 kB / 458 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1051, allocations: 0 / 458 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004701/0.1056, allocations: 331 kB / 458.4 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.618e-05/0.1057, allocations: 109 kB / 458.5 MB, free: 100 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.1057, allocations: 8 kB / 458.5 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.1058, allocations: 11.98 kB / 458.5 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.1059, allocations: 11.97 kB / 458.5 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-06/0.1059, allocations: 4 kB / 458.5 MB, free: 64 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001615/0.1061, allocations: 172.4 kB / 458.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1061, allocations: 0 / 458.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.1064, allocations: 40 kB / 458.7 MB, free: 15.85 MB / 350.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 8.6e-05/0.1065, allocations: 99.19 kB / 458.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003438/0.1068, allocations: 143.8 kB / 459 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1068, allocations: 0 / 459 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.107, allocations: 67.91 kB / 459 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.1073, allocations: 37.97 kB / 459.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009762/0.1083, allocations: 0.5671 MB / 459.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.1086, allocations: 0.7398 MB / 460.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.344e-05/0.1087, allocations: 17.55 kB / 460.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.821e-05/0.1088, allocations: 27.31 kB / 460.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1088, allocations: 0 / 460.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of Templates: time 0.004686/0.1135, allocations: 1.982 MB / 462.4 MB, free: 12.12 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile (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)