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.0007831/0.0007832, allocations: 90.53 kB / 16.65 MB, free: 6.348 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.0008322/0.0008322, allocations: 180.5 kB / 17.56 MB, free: 5.949 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.252/1.252, allocations: 205.4 MB / 223.7 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2449/0.2449, allocations: 48.79 MB / 320.8 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.0007582/0.0007583, allocations: 12.84 kB / 391.8 MB, free: 50.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08714/0.08792, allocations: 60.27 MB / 452.1 MB, free: 9.184 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.002394/0.09036, allocations: 1.986 MB / 454.1 MB, free: 7.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.09169, allocations: 0.6476 MB / 454.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001797/0.09189, allocations: 0 / 454.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.09203, allocations: 23.78 kB / 454.7 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.09232, allocations: 59.53 kB / 454.8 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.09254, allocations: 43.95 kB / 454.8 MB, free: 6.395 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004126/0.09297, allocations: 230.9 kB / 455.1 MB, free: 6.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000224/0.09321, allocations: 56.53 kB / 455.1 MB, free: 6.113 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002143/0.09344, allocations: 91.52 kB / 455.2 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.09363, allocations: 87.48 kB / 455.3 MB, free: 5.938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.279e-05/0.09368, allocations: 8 kB / 455.3 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.998e-05/0.09376, allocations: 16 kB / 455.3 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.143e-05/0.09381, allocations: 27.84 kB / 455.3 MB, free: 5.887 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.09395, allocations: 129 kB / 455.5 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.09422, allocations: 183.5 kB / 455.6 MB, free: 5.574 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.09424, allocations: 0 / 455.6 MB, free: 5.574 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.09425, allocations: 4 kB / 455.6 MB, free: 5.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.09426, allocations: 0 / 455.6 MB, free: 5.57 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.0009036/0.09517, allocations: 0.5024 MB / 456.1 MB, free: 5.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.09523, allocations: 12.03 kB / 456.2 MB, free: 5.008 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.09537, allocations: 24.66 kB / 456.2 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.09578, allocations: 258.8 kB / 456.4 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.09581, allocations: 12.38 kB / 456.5 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.687e-05/0.09587, allocations: 12.38 kB / 456.5 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003907/0.09626, allocations: 171.5 kB / 456.6 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.09629, allocations: 0 / 456.6 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.09632, allocations: 8 kB / 456.6 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.09633, allocations: 11.92 kB / 456.6 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002591/0.0966, allocations: 103.9 kB / 456.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008971/0.09751, allocations: 0.6114 MB / 457.4 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.09776, allocations: 130.5 kB / 457.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.09792, allocations: 72.88 kB / 457.6 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.09794, allocations: 7.938 kB / 457.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.09797, allocations: 42.55 kB / 457.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.09798, allocations: 3.938 kB / 457.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001051/0.09903, allocations: 0.569 MB / 458.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.09908, allocations: 55.41 kB / 458.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.09929, allocations: 228.9 kB / 458.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.09932, allocations: 29.7 kB / 458.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.32e-05/0.09941, allocations: 140.4 kB / 458.6 MB, free: 2.332 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.09946, allocations: 59.11 kB / 458.7 MB, free: 2.273 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.0995, allocations: 25.7 kB / 458.7 MB, free: 2.242 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.872e-05/0.09961, allocations: 330.8 kB / 459 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.09974, allocations: 51.97 kB / 459.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.09988, allocations: 86.39 kB / 459.2 MB, free: 1.766 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.001123/0.101, allocations: 451.3 kB / 459.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.101, allocations: 0 / 459.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003562/0.1014, allocations: 193.2 kB / 459.8 MB, free: 1.102 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1014, allocations: 4 kB / 459.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1014, allocations: 4.031 kB / 459.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1014, allocations: 4 kB / 459.8 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.1017, allocations: 67.89 kB / 459.9 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1017, allocations: 0 / 459.9 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.1018, allocations: 16 kB / 459.9 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.1018, allocations: 4 kB / 459.9 MB, free: 1.004 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 sytem: 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.0001133/0.102, allocations: 133.8 kB / 460 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/0.102, allocations: 23.73 kB / 460 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.469e-05/0.1021, allocations: 26.23 kB / 460.1 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.1021, allocations: 3.984 kB / 460.1 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1021, allocations: 0 / 460.1 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1021, allocations: 7.922 kB / 460.1 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006529/0.1028, allocations: 0.5372 MB / 460.6 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.1028, allocations: 3.984 kB / 460.6 MB, free: 216 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.103, allocations: 43.98 kB / 460.7 MB, free: 172 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.1031, allocations: 7.984 kB / 460.7 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.1031, allocations: 4 kB / 460.7 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1031, allocations: 0 / 460.7 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1031, allocations: 0 / 460.7 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004917/0.1036, allocations: 350 kB / 461 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.437e-05/0.1037, allocations: 104.9 kB / 461.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.1037, allocations: 12 kB / 461.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.1039, allocations: 4 kB / 461.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.1039, allocations: 19.88 kB / 461.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.1039, allocations: 4 kB / 461.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.1041, allocations: 168.4 kB / 461.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1041, allocations: 4 kB / 461.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.1043, allocations: 40 kB / 461.4 MB, free: 15.43 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.985e-05/0.1044, allocations: 99.23 kB / 461.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003142/0.1048, allocations: 143.9 kB / 461.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1048, allocations: 0 / 461.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.1049, allocations: 71.91 kB / 461.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.1053, allocations: 36.48 kB / 461.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009483/0.1063, allocations: 0.7096 MB / 462.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.1065, allocations: 0.7439 MB / 463.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.545e-05/0.1066, allocations: 25.47 kB / 463.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.1067, allocations: 23.44 kB / 463.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1067, allocations: 0 / 463.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of Templates: time 0.004146/0.1108, allocations: 1.801 MB / 465 MB, free: 11.72 MB / 350.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: