Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.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.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 112.7 kB / 17.75 MB, free: 5.305 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.001731/0.001731, allocations: 183 kB / 18.68 MB, free: 4.383 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.28/1.28, allocations: 205.1 MB / 224.6 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.2715/0.2715, allocations: 48.84 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.001507/0.001507, allocations: 67.89 kB / 451.2 MB, free: 8.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09414/0.09566, allocations: 59.16 MB / 0.4984 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.003329/0.09902, allocations: 2.286 MB / 0.5006 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1002, allocations: 0.6475 MB / 0.5013 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.1004, allocations: 4 kB / 0.5013 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.1005, allocations: 35.59 kB / 0.5013 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.1008, allocations: 87.33 kB / 0.5014 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001704/0.101, allocations: 55.92 kB / 0.5014 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003105/0.1013, allocations: 286.7 kB / 0.5017 GB, free: 9.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.1015, allocations: 77.3 kB / 0.5018 GB, free: 9.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.1016, allocations: 111.5 kB / 0.5019 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001771/0.1018, allocations: 119.4 kB / 0.502 GB, free: 9.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/0.1019, allocations: 24 kB / 0.502 GB, free: 9.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.218e-05/0.1019, allocations: 24 kB / 0.5021 GB, free: 9.488 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.948e-05/0.102, allocations: 51.77 kB / 0.5021 GB, free: 9.438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.1021, allocations: 119.3 kB / 0.5022 GB, free: 9.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.1024, allocations: 234.9 kB / 0.5024 GB, free: 9.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1025, allocations: 0 / 0.5024 GB, free: 9.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1025, allocations: 0 / 0.5024 GB, free: 9.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.1025, allocations: 0 / 0.5024 GB, free: 9.09 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008616/0.1033, allocations: 0.5799 MB / 0.503 GB, free: 8.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.1034, allocations: 11.89 kB / 0.503 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.38e-05/0.1035, allocations: 28.8 kB / 0.503 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.1038, allocations: 270.9 kB / 0.5033 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.098e-05/0.1039, allocations: 38.27 kB / 0.5033 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/0.1039, allocations: 24.38 kB / 0.5034 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/0.1043, allocations: 182.9 kB / 0.5035 GB, free: 7.859 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1043, allocations: 3.984 kB / 0.5035 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.1043, allocations: 8 kB / 0.5035 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1043, allocations: 4 kB / 0.5036 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.1046, allocations: 119.9 kB / 0.5037 GB, free: 7.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009117/0.1055, allocations: 0.6696 MB / 0.5043 GB, free: 6.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003431/0.1059, allocations: 142.6 kB / 0.5045 GB, free: 6.848 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.1061, allocations: 96.7 kB / 0.5046 GB, free: 6.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.1061, allocations: 0 / 0.5046 GB, free: 6.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.1061, allocations: 34.55 kB / 0.5046 GB, free: 6.707 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.1061, allocations: 0 / 0.5046 GB, free: 6.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001085/0.1072, allocations: 0.5876 MB / 0.5052 GB, free: 6.066 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.1073, allocations: 55.41 kB / 0.5052 GB, free: 6 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.1075, allocations: 233 kB / 0.5054 GB, free: 5.766 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.1075, allocations: 29.7 kB / 0.5055 GB, free: 5.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.999e-05/0.1076, allocations: 148.5 kB / 0.5056 GB, free: 5.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.539e-05/0.1077, allocations: 75.36 kB / 0.5057 GB, free: 5.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.379e-05/0.1078, allocations: 41.72 kB / 0.5057 GB, free: 5.461 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1079, allocations: 338.8 kB / 0.506 GB, free: 5.121 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.108, allocations: 55.97 kB / 0.5061 GB, free: 5.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.1082, allocations: 79.2 kB / 0.5062 GB, free: 4.984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/0.1085, allocations: 149.5 kB / 0.5063 GB, free: 4.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.1085, allocations: 0 / 0.5063 GB, free: 4.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003663/0.1088, allocations: 205.4 kB / 0.5065 GB, free: 4.625 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.1089, allocations: 8 kB / 0.5065 GB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1089, allocations: 0 / 0.5065 GB, free: 4.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1089, allocations: 3.938 kB / 0.5065 GB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/0.1093, allocations: 79.98 kB / 0.5066 GB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1093, allocations: 0 / 0.5066 GB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.1095, allocations: 15.92 kB / 0.5066 GB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.1095, allocations: 4 kB / 0.5066 GB, free: 4.516 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: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001114/0.1096, allocations: 141.7 kB / 0.5067 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.1097, allocations: 19.86 kB / 0.5068 GB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.574e-05/0.1097, allocations: 30.17 kB / 0.5068 GB, free: 4.316 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1097, allocations: 0 / 0.5068 GB, free: 4.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1097, allocations: 4 kB / 0.5068 GB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.196e-05/0.1098, allocations: 112.9 kB / 0.5069 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.1099, allocations: 0 / 0.5069 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.11, allocations: 11.94 kB / 0.5069 GB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/0.1101, allocations: 15.97 kB / 0.5069 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007231/0.1108, allocations: 308.7 kB / 0.5072 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005811/0.1114, allocations: 434.8 kB / 0.5076 GB, free: 3.406 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001558/0.1116, allocations: 76.08 kB / 0.5077 GB, free: 3.332 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001421/0.1117, allocations: 176.4 kB / 0.5079 GB, free: 3.16 MB / 398.1 MB Notification: Performance of Backend: time 3.01e-07/0.1117, allocations: 0 / 0.5079 GB, free: 3.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005256/0.1123, allocations: 174.2 kB / 0.508 GB, free: 2.984 MB / 398.1 MB Notification: Performance of SimCode: time 0.001133/0.1134, allocations: 1.091 MB / 0.5091 GB, free: 1.844 MB / 398.1 MB Notification: Performance of Templates: time 0.005461/0.1189, allocations: 2.466 MB / 0.5115 GB, free: 15.38 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1)