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.001089/0.001089, allocations: 111 kB / 17.75 MB, free: 5.332 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.001141/0.001141, allocations: 190.5 kB / 18.68 MB, free: 4.41 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.261/1.261, allocations: 205.1 MB / 224.6 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2666/0.2666, 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.001451/0.001451, allocations: 71.89 kB / 451.2 MB, free: 8.562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09086/0.09232, allocations: 59.14 MB / 0.4984 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.003343/0.0957, allocations: 2.193 MB / 0.5005 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.09689, allocations: 0.6319 MB / 0.5011 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.09707, allocations: 4 kB / 0.5011 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.09722, allocations: 27.66 kB / 0.5012 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002462/0.09749, allocations: 67.41 kB / 0.5012 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.09766, allocations: 51.88 kB / 0.5013 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002958/0.09797, allocations: 246.9 kB / 0.5015 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.09812, allocations: 60.36 kB / 0.5016 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.0983, allocations: 103.5 kB / 0.5017 GB, free: 9.887 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.09846, allocations: 99.48 kB / 0.5018 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.442e-05/0.09851, allocations: 16 kB / 0.5018 GB, free: 9.773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.589e-05/0.09858, allocations: 20 kB / 0.5018 GB, free: 9.754 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.559e-05/0.09864, allocations: 39.84 kB / 0.5018 GB, free: 9.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.09875, allocations: 111.3 kB / 0.502 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.09899, allocations: 199.2 kB / 0.5021 GB, free: 9.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.09901, allocations: 8 kB / 0.5021 GB, free: 9.402 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.09901, allocations: 0 / 0.5021 GB, free: 9.402 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.09903, allocations: 0 / 0.5021 GB, free: 9.402 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.0007794/0.09981, allocations: 0.5218 MB / 0.5027 GB, free: 8.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.09986, allocations: 15.89 kB / 0.5027 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.26e-05/0.09995, allocations: 28.56 kB / 0.5027 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.1003, allocations: 254.9 kB / 0.5029 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1003, allocations: 8.375 kB / 0.503 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.1004, allocations: 16.28 kB / 0.503 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.1006, allocations: 163.6 kB / 0.5031 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1007, allocations: 0 / 0.5031 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1007, allocations: 4 kB / 0.5031 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.1007, allocations: 4 kB / 0.5031 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.1009, allocations: 107.8 kB / 0.5032 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008074/0.1018, allocations: 0.5997 MB / 0.5038 GB, free: 7.535 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002276/0.102, allocations: 122.6 kB / 0.5039 GB, free: 7.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.1021, allocations: 69.11 kB / 0.504 GB, free: 7.336 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.1022, allocations: 4 kB / 0.504 GB, free: 7.332 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.1022, allocations: 42.44 kB / 0.504 GB, free: 7.281 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 2.975e-06/0.1022, allocations: 3.984 kB / 0.504 GB, free: 7.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.001062/0.1033, allocations: 0.5558 MB / 0.5046 GB, free: 6.668 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.1033, allocations: 51.41 kB / 0.5046 GB, free: 6.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.1035, allocations: 225 kB / 0.5049 GB, free: 6.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.1036, allocations: 29.7 kB / 0.5049 GB, free: 6.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.032e-05/0.1037, allocations: 148.3 kB / 0.505 GB, free: 6.191 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.1037, allocations: 63.09 kB / 0.5051 GB, free: 6.129 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.938e-05/0.1038, allocations: 37.7 kB / 0.5051 GB, free: 6.086 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.1039, allocations: 330.8 kB / 0.5054 GB, free: 5.754 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.104, allocations: 51.97 kB / 0.5055 GB, free: 5.703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.1042, allocations: 78.55 kB / 0.5056 GB, free: 5.617 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.001101/0.1053, allocations: 423.8 kB / 0.506 GB, free: 5.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1053, allocations: 0 / 0.506 GB, free: 5.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003401/0.1056, allocations: 189.3 kB / 0.5061 GB, free: 4.984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1057, allocations: 7.938 kB / 0.5062 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1057, allocations: 7.984 kB / 0.5062 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1057, allocations: 0 / 0.5062 GB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.1059, allocations: 55.91 kB / 0.5062 GB, free: 4.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.106, allocations: 4 kB / 0.5062 GB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.1061, allocations: 8 kB / 0.5062 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.1061, allocations: 11.98 kB / 0.5062 GB, free: 4.891 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.000122/0.1062, allocations: 130.7 kB / 0.5064 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.1063, allocations: 31.66 kB / 0.5064 GB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.682e-05/0.1063, allocations: 26.17 kB / 0.5064 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1064, allocations: 0 / 0.5064 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1064, allocations: 0 / 0.5064 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.921e-05/0.1064, allocations: 104.8 kB / 0.5065 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.1065, allocations: 11.94 kB / 0.5065 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.1066, allocations: 7.984 kB / 0.5065 GB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.1067, allocations: 15.98 kB / 0.5066 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006105/0.1073, allocations: 280.8 kB / 0.5068 GB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005844/0.1079, allocations: 422.2 kB / 0.5072 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001316/0.1081, allocations: 64.47 kB / 0.5073 GB, free: 3.766 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.1082, allocations: 160.5 kB / 0.5074 GB, free: 3.609 MB / 398.1 MB Notification: Performance of Backend: time 2.1e-07/0.1082, allocations: 0 / 0.5074 GB, free: 3.609 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005069/0.1087, allocations: 170.1 kB / 0.5076 GB, free: 3.438 MB / 398.1 MB Notification: Performance of SimCode: time 0.001036/0.1098, allocations: 1.001 MB / 0.5086 GB, free: 2.391 MB / 398.1 MB Notification: Performance of Templates: time 0.005518/0.1153, allocations: 2.35 MB / 0.5109 GB, free: 44 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)