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.001123/0.001124, allocations: 108.7 kB / 17.74 MB, free: 5.215 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.001139/0.00114, allocations: 190.5 kB / 18.68 MB, free: 4.289 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.292/1.292, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2635/0.2635, allocations: 48.85 MB / 320.8 MB, free: 11.01 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.00151/0.00151, allocations: 67.89 kB / 451.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09299/0.09451, allocations: 59.16 MB / 0.4984 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.003178/0.09771, allocations: 2.177 MB / 0.5005 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.09881, allocations: 0.6319 MB / 0.5011 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.09897, allocations: 0 / 0.5011 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.09911, allocations: 31.66 kB / 0.5012 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.09936, allocations: 75.41 kB / 0.5012 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.09953, allocations: 51.92 kB / 0.5013 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.09982, allocations: 246.9 kB / 0.5015 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.09997, allocations: 56.36 kB / 0.5016 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.1001, allocations: 103.6 kB / 0.5017 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.1003, allocations: 99.42 kB / 0.5018 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.1003, allocations: 16 kB / 0.5018 GB, free: 9.762 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.603e-05/0.1004, allocations: 24 kB / 0.5018 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.1005, allocations: 43.83 kB / 0.5019 GB, free: 9.695 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.1006, allocations: 107.3 kB / 0.502 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.1008, allocations: 195 kB / 0.5021 GB, free: 9.398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1009, allocations: 0 / 0.5021 GB, free: 9.398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1009, allocations: 0 / 0.5021 GB, free: 9.398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.1009, allocations: 0 / 0.5021 GB, free: 9.398 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.0008078/0.1017, allocations: 0.5411 MB / 0.5027 GB, free: 8.809 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1017, allocations: 11.89 kB / 0.5027 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.626e-05/0.1018, allocations: 28.8 kB / 0.5027 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.1022, allocations: 255 kB / 0.503 GB, free: 8.484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.1022, allocations: 12.38 kB / 0.503 GB, free: 8.473 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.483e-05/0.1022, allocations: 12.38 kB / 0.503 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.1025, allocations: 159.6 kB / 0.5031 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.1025, allocations: 15.88 kB / 0.5031 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.1026, allocations: 4 kB / 0.5031 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.1026, allocations: 4 kB / 0.5032 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.1028, allocations: 103.9 kB / 0.5032 GB, free: 8.168 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00081/0.1036, allocations: 0.592 MB / 0.5038 GB, free: 7.516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.1039, allocations: 134.5 kB / 0.504 GB, free: 7.375 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001426/0.104, allocations: 68.83 kB / 0.504 GB, free: 7.305 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.1041, allocations: 4 kB / 0.504 GB, free: 7.301 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.1041, allocations: 34.56 kB / 0.5041 GB, free: 7.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.1041, allocations: 0 / 0.5041 GB, free: 7.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.001006/0.1051, allocations: 0.5564 MB / 0.5046 GB, free: 6.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.1051, allocations: 59.41 kB / 0.5047 GB, free: 6.578 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.1054, allocations: 233 kB / 0.5049 GB, free: 6.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.1054, allocations: 25.7 kB / 0.5049 GB, free: 6.309 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.152e-05/0.1055, allocations: 140.5 kB / 0.505 GB, free: 6.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.511e-05/0.1055, allocations: 67.44 kB / 0.5051 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.964e-05/0.1056, allocations: 37.7 kB / 0.5051 GB, free: 6.059 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1057, allocations: 330.8 kB / 0.5055 GB, free: 5.727 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.1058, allocations: 51.97 kB / 0.5055 GB, free: 5.676 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.106, allocations: 78.55 kB / 0.5056 GB, free: 5.59 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.00111/0.1071, allocations: 427.8 kB / 0.506 GB, free: 5.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1071, allocations: 0 / 0.506 GB, free: 5.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003307/0.1074, allocations: 189.4 kB / 0.5062 GB, free: 4.953 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1075, allocations: 7.938 kB / 0.5062 GB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1075, allocations: 7.984 kB / 0.5062 GB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1075, allocations: 0 / 0.5062 GB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.1078, allocations: 55.91 kB / 0.5062 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.1078, allocations: 4 kB / 0.5062 GB, free: 4.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.1079, allocations: 12 kB / 0.5063 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.1079, allocations: 8.031 kB / 0.5063 GB, free: 4.859 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.0001138/0.108, allocations: 134.6 kB / 0.5064 GB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.645e-05/0.1081, allocations: 31.73 kB / 0.5064 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.027e-05/0.1082, allocations: 30.17 kB / 0.5064 GB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1082, allocations: 4.031 kB / 0.5065 GB, free: 4.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1082, allocations: 0 / 0.5065 GB, free: 4.652 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.638e-05/0.1083, allocations: 105 kB / 0.5066 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.1083, allocations: 7.938 kB / 0.5066 GB, free: 4.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.1085, allocations: 11.98 kB / 0.5066 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.1085, allocations: 15.98 kB / 0.5066 GB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006034/0.1091, allocations: 276.8 kB / 0.5068 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005107/0.1096, allocations: 418.4 kB / 0.5072 GB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001278/0.1098, allocations: 64.47 kB / 0.5073 GB, free: 3.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.1099, allocations: 164.5 kB / 0.5075 GB, free: 3.57 MB / 398.1 MB Notification: Performance of Backend: time 3.8e-07/0.1099, allocations: 0 / 0.5075 GB, free: 3.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004986/0.1104, allocations: 174.2 kB / 0.5076 GB, free: 3.395 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009919/0.1114, allocations: 1.004 MB / 0.5086 GB, free: 2.344 MB / 398.1 MB Notification: Performance of Templates: time 0.005119/0.1166, allocations: 2.276 MB / 0.5108 GB, free: 72 kB / 398.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)