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.001191/0.001191, allocations: 110.8 kB / 17.74 MB, free: 5.359 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.001154/0.001154, allocations: 180.5 kB / 18.66 MB, free: 4.445 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.136/1.136, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2297/0.2297, allocations: 48.84 MB / 320.7 MB, free: 11.02 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.001325/0.001325, allocations: 71.89 kB / 451.2 MB, free: 8.57 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08774/0.08907, allocations: 59.15 MB / 0.4984 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.002844/0.09194, allocations: 2.179 MB / 0.5005 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009312/0.0929, allocations: 0.6358 MB / 0.5011 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.936e-05/0.09301, allocations: 4 kB / 0.5011 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.176e-05/0.09311, allocations: 27.66 kB / 0.5012 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.09331, allocations: 71.41 kB / 0.5012 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/0.09345, allocations: 51.92 kB / 0.5013 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.09369, allocations: 250.9 kB / 0.5015 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.0938, allocations: 56.36 kB / 0.5016 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.09394, allocations: 99.56 kB / 0.5017 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.09407, allocations: 103.4 kB / 0.5018 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.09411, allocations: 20 kB / 0.5018 GB, free: 9.773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.559e-05/0.09416, allocations: 20 kB / 0.5018 GB, free: 9.754 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.484e-05/0.0942, allocations: 39.83 kB / 0.5018 GB, free: 9.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.057e-05/0.09429, allocations: 107.3 kB / 0.5019 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.09452, allocations: 203.2 kB / 0.5021 GB, free: 9.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.227e-06/0.09454, allocations: 4 kB / 0.5021 GB, free: 9.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09454, allocations: 0 / 0.5021 GB, free: 9.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.09456, allocations: 0 / 0.5021 GB, free: 9.406 MB / 398.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.0007016/0.09526, allocations: 0.5218 MB / 0.5026 GB, free: 8.836 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.505e-05/0.0953, allocations: 15.89 kB / 0.5027 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.437e-05/0.09539, allocations: 28.56 kB / 0.5027 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.09566, allocations: 254.9 kB / 0.5029 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.09568, allocations: 8.375 kB / 0.5029 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.09572, allocations: 20.28 kB / 0.503 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.09597, allocations: 155.6 kB / 0.5031 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.09599, allocations: 3.938 kB / 0.5031 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.096, allocations: 4 kB / 0.5031 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.09601, allocations: 4 kB / 0.5031 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002193/0.09624, allocations: 103.9 kB / 0.5032 GB, free: 8.203 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007065/0.09695, allocations: 0.6036 MB / 0.5038 GB, free: 7.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.09717, allocations: 126.5 kB / 0.5039 GB, free: 7.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.09731, allocations: 69.11 kB / 0.504 GB, free: 7.336 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.09733, allocations: 4 kB / 0.504 GB, free: 7.332 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.09736, allocations: 38.5 kB / 0.504 GB, free: 7.285 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.09736, allocations: 0 / 0.504 GB, free: 7.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.0009179/0.09829, allocations: 0.5635 MB / 0.5046 GB, free: 6.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.09833, allocations: 55.41 kB / 0.5046 GB, free: 6.602 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.09853, allocations: 225 kB / 0.5049 GB, free: 6.371 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.09856, allocations: 33.7 kB / 0.5049 GB, free: 6.332 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.251e-05/0.09863, allocations: 140.3 kB / 0.505 GB, free: 6.191 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.09868, allocations: 59.11 kB / 0.5051 GB, free: 6.133 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.09874, allocations: 37.7 kB / 0.5051 GB, free: 6.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.548e-05/0.09884, allocations: 334.8 kB / 0.5054 GB, free: 5.754 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.09896, allocations: 51.97 kB / 0.5055 GB, free: 5.703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.0991, allocations: 74.55 kB / 0.5056 GB, free: 5.621 MB / 398.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.001005/0.1001, allocations: 427.8 kB / 0.506 GB, free: 5.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1001, allocations: 0 / 0.506 GB, free: 5.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003169/0.1005, allocations: 197.2 kB / 0.5061 GB, free: 4.977 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.1005, allocations: 8 kB / 0.5062 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1005, allocations: 0 / 0.5062 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.1005, allocations: 0 / 0.5062 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.1007, allocations: 63.91 kB / 0.5062 GB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1007, allocations: 0 / 0.5062 GB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.1009, allocations: 7.984 kB / 0.5062 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.1009, allocations: 12.03 kB / 0.5062 GB, free: 4.887 MB / 398.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.0001056/0.101, allocations: 134.4 kB / 0.5064 GB, free: 4.746 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.101, allocations: 23.66 kB / 0.5064 GB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.128e-05/0.1011, allocations: 26.17 kB / 0.5064 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.1011, allocations: 4 kB / 0.5064 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1011, allocations: 0 / 0.5064 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1011, allocations: 0 / 0.5064 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006079/0.1017, allocations: 0.5294 MB / 0.5069 GB, free: 4.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1017, allocations: 3.938 kB / 0.5069 GB, free: 4.102 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.102, allocations: 47.97 kB / 0.507 GB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.102, allocations: 0 / 0.507 GB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.102, allocations: 4 kB / 0.507 GB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.102, allocations: 0 / 0.507 GB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.102, allocations: 0 / 0.507 GB, free: 4.051 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004363/0.1025, allocations: 343 kB / 0.5073 GB, free: 3.699 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.931e-05/0.1026, allocations: 101 kB / 0.5074 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.1026, allocations: 4 kB / 0.5074 GB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.1027, allocations: 11.92 kB / 0.5074 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.1028, allocations: 11.98 kB / 0.5074 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.1028, allocations: 4 kB / 0.5074 GB, free: 3.551 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.1029, allocations: 168.4 kB / 0.5076 GB, free: 3.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.103, allocations: 4 kB / 0.5076 GB, free: 3.383 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.1032, allocations: 40 kB / 0.5076 GB, free: 3.344 MB / 398.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.995e-05/0.1033, allocations: 95.25 kB / 0.5077 GB, free: 3.242 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002918/0.1036, allocations: 140.2 kB / 0.5079 GB, free: 3.105 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1036, allocations: 0 / 0.5079 GB, free: 3.105 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.1037, allocations: 71.81 kB / 0.5079 GB, free: 3.035 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.104, allocations: 44.7 kB / 0.508 GB, free: 2.992 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008555/0.1049, allocations: 0.5869 MB / 0.5086 GB, free: 2.375 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.1052, allocations: 0.7436 MB / 0.5093 GB, free: 1.605 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.35e-05/0.1052, allocations: 23.38 kB / 0.5093 GB, free: 1.582 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1052, allocations: 0 / 0.5093 GB, free: 1.582 MB / 398.1 MB Notification: Performance of Templates: time 0.003409/0.1087, allocations: 2.374 MB / 0.5116 GB, free: 15.2 MB / 414.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)