Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.001101, allocations: 105.3 kB / 17.74 MB, free: 5.312 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.00106/0.00106, allocations: 188.2 kB / 18.67 MB, free: 4.395 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.283/1.283, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2592/0.2592, allocations: 48.85 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.001531/0.001531, allocations: 71.88 kB / 451.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09572/0.09726, allocations: 59.15 MB / 0.4984 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.003526/0.1008, allocations: 2.652 MB / 0.501 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.1021, allocations: 0.7448 MB / 0.5017 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.1023, allocations: 4 kB / 0.5017 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.1025, allocations: 51.45 kB / 0.5018 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003101/0.1028, allocations: 119 kB / 0.5019 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000231/0.1031, allocations: 79.83 kB / 0.502 GB, free: 9.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004276/0.1035, allocations: 394.2 kB / 0.5023 GB, free: 9.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.1037, allocations: 93.5 kB / 0.5024 GB, free: 9.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.1039, allocations: 151.4 kB / 0.5026 GB, free: 8.969 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.1042, allocations: 171.2 kB / 0.5027 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.501e-05/0.1042, allocations: 24 kB / 0.5027 GB, free: 8.777 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.209e-05/0.1043, allocations: 28 kB / 0.5028 GB, free: 8.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.553e-05/0.1044, allocations: 71.62 kB / 0.5028 GB, free: 8.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.1045, allocations: 171 kB / 0.503 GB, free: 8.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003186/0.1049, allocations: 322.7 kB / 0.5033 GB, free: 8.195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1049, allocations: 3.938 kB / 0.5033 GB, free: 8.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1049, allocations: 0 / 0.5033 GB, free: 8.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.1049, allocations: 0 / 0.5033 GB, free: 8.191 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001007/0.1059, allocations: 0.662 MB / 0.504 GB, free: 7.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1059, allocations: 15.88 kB / 0.504 GB, free: 7.465 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.1061, allocations: 44.47 kB / 0.504 GB, free: 7.422 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.1065, allocations: 319.9 kB / 0.5043 GB, free: 7.074 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.1065, allocations: 20.81 kB / 0.5043 GB, free: 7.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.1066, allocations: 24.38 kB / 0.5044 GB, free: 7.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000412/0.107, allocations: 242.9 kB / 0.5046 GB, free: 6.777 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.153e-05/0.107, allocations: 0 / 0.5046 GB, free: 6.777 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.1071, allocations: 16 kB / 0.5046 GB, free: 6.762 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.1071, allocations: 4 kB / 0.5046 GB, free: 6.758 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003812/0.1075, allocations: 177.6 kB / 0.5048 GB, free: 6.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.1086, allocations: 0.8555 MB / 0.5056 GB, free: 5.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003239/0.1089, allocations: 187.2 kB / 0.5058 GB, free: 5.473 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.1091, allocations: 108.8 kB / 0.5059 GB, free: 5.363 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1092, allocations: 8 kB / 0.5059 GB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.1092, allocations: 34.56 kB / 0.506 GB, free: 5.312 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 2.936e-06/0.1092, allocations: 7.984 kB / 0.506 GB, free: 5.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.00134/0.1106, allocations: 0.7398 MB / 0.5067 GB, free: 4.516 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.1106, allocations: 55.41 kB / 0.5067 GB, free: 4.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.1109, allocations: 300.6 kB / 0.507 GB, free: 4.141 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.1109, allocations: 29.7 kB / 0.507 GB, free: 4.105 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.1111, allocations: 184.5 kB / 0.5072 GB, free: 3.922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.732e-05/0.1111, allocations: 94.64 kB / 0.5073 GB, free: 3.828 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.486e-05/0.1112, allocations: 57.61 kB / 0.5074 GB, free: 3.766 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1113, allocations: 346.8 kB / 0.5077 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.1115, allocations: 75.95 kB / 0.5078 GB, free: 3.344 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.1117, allocations: 102.8 kB / 0.5079 GB, free: 3.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.1121, allocations: 196.1 kB / 0.5081 GB, free: 3.035 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1121, allocations: 0 / 0.5081 GB, free: 3.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006236/0.1127, allocations: 314.9 kB / 0.5084 GB, free: 2.719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.1127, allocations: 7.906 kB / 0.5084 GB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1127, allocations: 12 kB / 0.5084 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000257/0.113, allocations: 56.81 kB / 0.5084 GB, free: 2.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.1134, allocations: 67.95 kB / 0.5085 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/0.1157, allocations: 3.028 MB / 0.5115 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.1159, allocations: 24.02 kB / 0.5115 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.116, allocations: 8 kB / 0.5115 GB, free: 15.23 MB / 414.1 MB 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.1161, allocations: 149.7 kB / 0.5116 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.632e-05/0.1162, allocations: 31.53 kB / 0.5117 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004583/0.1166, allocations: 265.3 kB / 0.5119 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1167, allocations: 0 / 0.5119 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1167, allocations: 0 / 0.5119 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.1168, allocations: 120.7 kB / 0.512 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.1168, allocations: 7.938 kB / 0.512 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.117, allocations: 15.98 kB / 0.512 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.1171, allocations: 23.95 kB / 0.5121 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007866/0.1179, allocations: 364.6 kB / 0.5124 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006978/0.1186, allocations: 0.5224 MB / 0.5129 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001788/0.1188, allocations: 103.9 kB / 0.513 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001906/0.119, allocations: 211.1 kB / 0.5132 GB, free: 13.39 MB / 414.1 MB Notification: Performance of Backend: time 3.11e-07/0.119, allocations: 0 / 0.5132 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009523/0.1199, allocations: 376.8 kB / 0.5136 GB, free: 13 MB / 414.1 MB Notification: Performance of SimCode: time 0.001363/0.1213, allocations: 1.337 MB / 0.5149 GB, free: 11.61 MB / 414.1 MB Notification: Performance of Templates: time 0.007518/0.1289, allocations: 3.833 MB / 0.5186 GB, free: 7.77 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1)