Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.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.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 110.2 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.001123/0.001123, allocations: 185.4 kB / 18.67 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.317/1.317, 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.2641/0.2641, allocations: 48.84 MB / 320.8 MB, free: 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.001448/0.001448, allocations: 67.91 kB / 451.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09662/0.09808, allocations: 59.16 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.003896/0.102, allocations: 3.136 MB / 0.5015 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.1034, allocations: 0.8304 MB / 0.5023 GB, free: 9.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.1036, allocations: 8 kB / 0.5023 GB, free: 9.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.1037, allocations: 55.31 kB / 0.5023 GB, free: 9.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003535/0.1041, allocations: 158.7 kB / 0.5025 GB, free: 9.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.1043, allocations: 123.8 kB / 0.5026 GB, free: 8.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004889/0.1048, allocations: 0.5218 MB / 0.5031 GB, free: 8.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002396/0.1051, allocations: 145.5 kB / 0.5033 GB, free: 8.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002349/0.1053, allocations: 203.1 kB / 0.5034 GB, free: 8.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.1056, allocations: 234.8 kB / 0.5037 GB, free: 7.812 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.042e-05/0.1057, allocations: 32 kB / 0.5037 GB, free: 7.781 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.886e-05/0.1058, allocations: 40 kB / 0.5037 GB, free: 7.742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.405e-05/0.1059, allocations: 91.61 kB / 0.5038 GB, free: 7.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002037/0.1061, allocations: 234.6 kB / 0.5041 GB, free: 7.422 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000479/0.1066, allocations: 445.9 kB / 0.5045 GB, free: 6.984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1066, allocations: 0 / 0.5045 GB, free: 6.984 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1066, allocations: 0 / 0.5045 GB, free: 6.984 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.148e-06/0.1066, allocations: 0 / 0.5045 GB, free: 6.984 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001303/0.1079, allocations: 0.8057 MB / 0.5053 GB, free: 6.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.108, allocations: 11.89 kB / 0.5053 GB, free: 6.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.1081, allocations: 56.61 kB / 0.5053 GB, free: 6.062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.1086, allocations: 374.3 kB / 0.5057 GB, free: 5.656 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.1086, allocations: 29.03 kB / 0.5057 GB, free: 5.629 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.083e-05/0.1087, allocations: 36.33 kB / 0.5057 GB, free: 5.594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000495/0.1092, allocations: 334.1 kB / 0.5061 GB, free: 5.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.1092, allocations: 0 / 0.5061 GB, free: 5.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/0.1092, allocations: 12 kB / 0.5061 GB, free: 5.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1093, allocations: 8 kB / 0.5061 GB, free: 5.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004024/0.1097, allocations: 210.5 kB / 0.5063 GB, free: 5.027 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.1114, allocations: 1.172 MB / 0.5074 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.1119, allocations: 268.6 kB / 0.5077 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.1121, allocations: 121.4 kB / 0.5078 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.1121, allocations: 4.281 kB / 0.5078 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.1122, allocations: 38.84 kB / 0.5078 GB, free: 3.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=33): time 1.684e-06/0.1122, allocations: 0 / 0.5078 GB, free: 3.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=35): time 0.002033/0.1142, allocations: 1.081 MB / 0.5089 GB, free: 2.172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.1142, allocations: 55.41 kB / 0.509 GB, free: 2.105 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003794/0.1146, allocations: 377.7 kB / 0.5093 GB, free: 1.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.1147, allocations: 33.7 kB / 0.5093 GB, free: 1.691 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.1148, allocations: 224.9 kB / 0.5096 GB, free: 1.469 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.585e-05/0.1149, allocations: 134.9 kB / 0.5097 GB, free: 1.336 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.86e-05/0.115, allocations: 70.12 kB / 0.5098 GB, free: 1.262 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1151, allocations: 362.7 kB / 0.5101 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.1153, allocations: 92.78 kB / 0.5102 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.1155, allocations: 144.6 kB / 0.5103 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000391/0.1159, allocations: 260 kB / 0.5106 GB, free: 392 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.116, allocations: 4 kB / 0.5106 GB, free: 388 kB / 398.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005237/0.1165, allocations: 349.1 kB / 0.5109 GB, free: 32 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1165, allocations: 7.906 kB / 0.5109 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1165, allocations: 0 / 0.5109 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1165, allocations: 4.125 kB / 0.5109 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007541/0.1173, allocations: 155.8 kB / 0.5111 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.1184, allocations: 1.433 MB / 0.5125 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.1186, allocations: 12 kB / 0.5125 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.1186, allocations: 11.98 kB / 0.5125 GB, free: 14.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001582/0.1188, allocations: 161.8 kB / 0.5126 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.788e-05/0.1189, allocations: 47.66 kB / 0.5127 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005309/0.1194, allocations: 314 kB / 0.513 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1194, allocations: 11.92 kB / 0.513 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1195, allocations: 0 / 0.513 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.1196, allocations: 136.8 kB / 0.5131 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.141e-05/0.1196, allocations: 8 kB / 0.5131 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.1199, allocations: 15.92 kB / 0.5132 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.12, allocations: 23.97 kB / 0.5132 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001072/0.121, allocations: 444.3 kB / 0.5136 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007415/0.1218, allocations: 0.5972 MB / 0.5142 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002075/0.122, allocations: 131.9 kB / 0.5143 GB, free: 12.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002706/0.1223, allocations: 263.2 kB / 0.5146 GB, free: 12.09 MB / 414.1 MB Notification: Performance of Backend: time 1.994e-06/0.1223, allocations: 4.094 kB / 0.5146 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008971/0.1232, allocations: 282.4 kB / 0.5148 GB, free: 11.8 MB / 414.1 MB Notification: Performance of SimCode: time 0.001746/0.125, allocations: 1.557 MB / 0.5164 GB, free: 10.19 MB / 414.1 MB Notification: Performance of Templates: time 0.009168/0.1341, allocations: 4.891 MB / 0.5211 GB, free: 5.293 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1)