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.001379/0.001379, allocations: 107 kB / 17.74 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.001644/0.001644, allocations: 190.5 kB / 18.68 MB, free: 4.406 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.311/1.311, allocations: 205.1 MB / 224.5 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.262/0.262, allocations: 48.85 MB / 320.7 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.001516/0.001516, allocations: 67.91 kB / 451.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09703/0.09856, allocations: 59.15 MB / 0.4984 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical7): time 0.004323/0.1029, allocations: 3.136 MB / 0.5015 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.1046, allocations: 0.8421 MB / 0.5023 GB, free: 9.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003056/0.1049, allocations: 4 kB / 0.5023 GB, free: 9.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.1052, allocations: 67.19 kB / 0.5023 GB, free: 9.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000483/0.1057, allocations: 146.8 kB / 0.5025 GB, free: 9.051 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.106, allocations: 119.8 kB / 0.5026 GB, free: 8.934 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006996/0.1067, allocations: 0.5256 MB / 0.5031 GB, free: 8.406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.107, allocations: 145.4 kB / 0.5033 GB, free: 8.258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003191/0.1073, allocations: 199.2 kB / 0.5034 GB, free: 8.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000402/0.1077, allocations: 226.8 kB / 0.5037 GB, free: 7.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.994e-05/0.1078, allocations: 36 kB / 0.5037 GB, free: 7.805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.108, allocations: 44 kB / 0.5037 GB, free: 7.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.198e-05/0.1081, allocations: 91.61 kB / 0.5038 GB, free: 7.672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002607/0.1084, allocations: 242.6 kB / 0.5041 GB, free: 7.434 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006698/0.109, allocations: 430.2 kB / 0.5045 GB, free: 7.012 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.109, allocations: 4 kB / 0.5045 GB, free: 7.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1091, allocations: 0 / 0.5045 GB, free: 7.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.046e-05/0.1091, allocations: 0 / 0.5045 GB, free: 7.008 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.001681/0.1108, allocations: 0.7827 MB / 0.5052 GB, free: 6.176 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.1108, allocations: 11.89 kB / 0.5052 GB, free: 6.164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.111, allocations: 60.28 kB / 0.5053 GB, free: 6.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000623/0.1116, allocations: 366 kB / 0.5056 GB, free: 5.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.1117, allocations: 25.03 kB / 0.5057 GB, free: 5.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.977e-05/0.1117, allocations: 36.38 kB / 0.5057 GB, free: 5.648 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005624/0.1123, allocations: 322.2 kB / 0.506 GB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.1123, allocations: 8 kB / 0.506 GB, free: 5.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.1124, allocations: 12 kB / 0.506 GB, free: 5.297 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.1124, allocations: 8 kB / 0.506 GB, free: 5.289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004267/0.1128, allocations: 214.4 kB / 0.5062 GB, free: 5.082 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/0.1147, allocations: 1.167 MB / 0.5074 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/0.1153, allocations: 268.5 kB / 0.5076 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.1155, allocations: 121.4 kB / 0.5078 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.578e-05/0.1155, allocations: 4.281 kB / 0.5078 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.1156, allocations: 34.84 kB / 0.5078 GB, free: 3.402 MB / 398.1 MB Notification: Performance of pre-optimization done (n=33): time 2.064e-06/0.1156, allocations: 0 / 0.5078 GB, free: 3.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=35): time 0.002379/0.118, allocations: 1.072 MB / 0.5088 GB, free: 2.242 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.118, allocations: 59.41 kB / 0.5089 GB, free: 2.172 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004277/0.1184, allocations: 385.5 kB / 0.5093 GB, free: 1.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.1185, allocations: 33.7 kB / 0.5093 GB, free: 1.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.1186, allocations: 224.5 kB / 0.5095 GB, free: 1.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.513e-05/0.1187, allocations: 126.5 kB / 0.5096 GB, free: 1.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.1189, allocations: 81.97 kB / 0.5097 GB, free: 1.316 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.119, allocations: 354.7 kB / 0.5101 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.1192, allocations: 92.84 kB / 0.5101 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/0.1194, allocations: 140.6 kB / 0.5103 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004495/0.1199, allocations: 264 kB / 0.5105 GB, free: 456 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1199, allocations: 0 / 0.5105 GB, free: 456 kB / 398.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006308/0.1205, allocations: 337 kB / 0.5108 GB, free: 112 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1206, allocations: 8 kB / 0.5109 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1206, allocations: 0 / 0.5109 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.1206, allocations: 4 kB / 0.5109 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007341/0.1213, allocations: 152 kB / 0.511 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/0.1225, allocations: 1.445 MB / 0.5124 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.1227, allocations: 12 kB / 0.5124 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.1228, allocations: 11.98 kB / 0.5124 GB, free: 14.34 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.0002326/0.123, allocations: 153.7 kB / 0.5126 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.38e-05/0.1231, allocations: 43.47 kB / 0.5126 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006107/0.1237, allocations: 318.1 kB / 0.5129 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.1237, allocations: 3.984 kB / 0.5129 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1238, allocations: 0 / 0.5129 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.1239, allocations: 144.4 kB / 0.5131 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.393e-05/0.124, allocations: 8 kB / 0.5131 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.1242, allocations: 11.98 kB / 0.5131 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/0.1243, allocations: 19.97 kB / 0.5131 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001185/0.1255, allocations: 444.2 kB / 0.5135 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007872/0.1263, allocations: 0.6009 MB / 0.5141 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002768/0.1266, allocations: 132 kB / 0.5142 GB, free: 12.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002756/0.1268, allocations: 267.2 kB / 0.5145 GB, free: 12.16 MB / 414.1 MB Notification: Performance of Backend: time 4.81e-07/0.1268, allocations: 0 / 0.5145 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008539/0.1277, allocations: 286.4 kB / 0.5148 GB, free: 11.88 MB / 414.1 MB Notification: Performance of SimCode: time 0.001968/0.1297, allocations: 1.539 MB / 0.5163 GB, free: 10.29 MB / 414.1 MB Notification: Performance of Templates: time 0.01038/0.1401, allocations: 4.809 MB / 0.521 GB, free: 5.473 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)