Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.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.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 110.3 kB / 17.74 MB, free: 5.348 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.001781/0.001781, allocations: 189.4 kB / 18.67 MB, free: 4.426 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.329/1.329, 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.2589/0.2589, allocations: 48.85 MB / 320.8 MB, free: 11.02 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.001574/0.001574, allocations: 71.89 kB / 451.2 MB, free: 8.57 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09471/0.09629, allocations: 59.16 MB / 0.4984 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.003371/0.09971, allocations: 2.274 MB / 0.5006 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1009, allocations: 0.6591 MB / 0.5013 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.1011, allocations: 0 / 0.5013 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.1012, allocations: 35.59 kB / 0.5013 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.1015, allocations: 79.28 kB / 0.5014 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.1017, allocations: 59.91 kB / 0.5014 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003216/0.102, allocations: 270.8 kB / 0.5017 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.1022, allocations: 68.69 kB / 0.5018 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.1024, allocations: 111.5 kB / 0.5019 GB, free: 9.699 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.1026, allocations: 119.4 kB / 0.502 GB, free: 9.582 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.1026, allocations: 20 kB / 0.502 GB, free: 9.562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.953e-05/0.1027, allocations: 24 kB / 0.502 GB, free: 9.539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.33e-05/0.1027, allocations: 39.84 kB / 0.5021 GB, free: 9.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.1028, allocations: 119.3 kB / 0.5022 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000255/0.1031, allocations: 231 kB / 0.5024 GB, free: 9.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1031, allocations: 0 / 0.5024 GB, free: 9.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1031, allocations: 0 / 0.5024 GB, free: 9.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1031, allocations: 0 / 0.5024 GB, free: 9.156 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008533/0.104, allocations: 0.549 MB / 0.5029 GB, free: 8.559 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.104, allocations: 11.89 kB / 0.5029 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.1042, allocations: 36.55 kB / 0.503 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/0.1045, allocations: 258.8 kB / 0.5032 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1046, allocations: 16.38 kB / 0.5032 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.349e-05/0.1046, allocations: 16.38 kB / 0.5032 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.1049, allocations: 183.3 kB / 0.5034 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.105, allocations: 0 / 0.5034 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.105, allocations: 7.938 kB / 0.5034 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.105, allocations: 4 kB / 0.5034 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.1053, allocations: 119.9 kB / 0.5035 GB, free: 7.871 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009454/0.1062, allocations: 0.6501 MB / 0.5042 GB, free: 7.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.1065, allocations: 142.4 kB / 0.5043 GB, free: 7.012 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.1067, allocations: 76.83 kB / 0.5044 GB, free: 6.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.1067, allocations: 3.938 kB / 0.5044 GB, free: 6.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.1067, allocations: 38.55 kB / 0.5044 GB, free: 6.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.1067, allocations: 0 / 0.5044 GB, free: 6.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=18): time 0.00105/0.1078, allocations: 0.5484 MB / 0.505 GB, free: 6.281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.1078, allocations: 51.41 kB / 0.505 GB, free: 6.219 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.108, allocations: 229 kB / 0.5052 GB, free: 5.984 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.1081, allocations: 29.7 kB / 0.5053 GB, free: 5.949 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.433e-05/0.1082, allocations: 148.3 kB / 0.5054 GB, free: 5.801 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.815e-05/0.1082, allocations: 70.98 kB / 0.5055 GB, free: 5.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/0.1083, allocations: 41.72 kB / 0.5055 GB, free: 5.684 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1084, allocations: 334.8 kB / 0.5058 GB, free: 5.348 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.1085, allocations: 51.97 kB / 0.5059 GB, free: 5.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.1087, allocations: 69.67 kB / 0.5059 GB, free: 5.223 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.1089, allocations: 137.8 kB / 0.5061 GB, free: 5.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1089, allocations: 4 kB / 0.5061 GB, free: 5.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003396/0.1093, allocations: 193.2 kB / 0.5063 GB, free: 4.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1093, allocations: 8 kB / 0.5063 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1093, allocations: 0 / 0.5063 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1093, allocations: 0 / 0.5063 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003722/0.1097, allocations: 67.89 kB / 0.5063 GB, free: 4.809 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.1108, allocations: 1.445 MB / 0.5077 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.1109, allocations: 8.094 kB / 0.5078 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.111, allocations: 11.98 kB / 0.5078 GB, free: 3.199 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * 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.000106/0.1111, allocations: 130.4 kB / 0.5079 GB, free: 3.062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.1111, allocations: 23.72 kB / 0.5079 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.1115, allocations: 187.7 kB / 0.5081 GB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.1115, allocations: 11.88 kB / 0.5081 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1115, allocations: 0 / 0.5081 GB, free: 2.836 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.75e-05/0.1116, allocations: 112.8 kB / 0.5082 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.1116, allocations: 0 / 0.5082 GB, free: 2.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.1118, allocations: 8 kB / 0.5082 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.1118, allocations: 19.97 kB / 0.5082 GB, free: 2.68 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005804/0.1124, allocations: 276.8 kB / 0.5085 GB, free: 2.402 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005131/0.1129, allocations: 438.5 kB / 0.5089 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001271/0.1131, allocations: 59.97 kB / 0.509 GB, free: 1.898 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001444/0.1132, allocations: 176.5 kB / 0.5091 GB, free: 1.727 MB / 398.1 MB Notification: Performance of Backend: time 3.91e-07/0.1132, allocations: 0 / 0.5091 GB, free: 1.727 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006697/0.1139, allocations: 195.4 kB / 0.5093 GB, free: 1.531 MB / 398.1 MB Notification: Performance of SimCode: time 0.001132/0.115, allocations: 1.088 MB / 0.5104 GB, free: 404 kB / 398.1 MB Notification: Performance of Templates: time 0.005726/0.1208, allocations: 2.61 MB / 0.5129 GB, free: 13.79 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1)