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.001226/0.001226, allocations: 106.4 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.001301/0.001301, 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.261/1.261, 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.2551/0.2551, allocations: 48.84 MB / 320.7 MB, free: 11.03 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.001409/0.001409, allocations: 71.91 kB / 451.2 MB, free: 8.574 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09563/0.09705, allocations: 59.15 MB / 0.4984 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.003333/0.1004, allocations: 2.298 MB / 0.5006 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.1016, allocations: 0.6475 MB / 0.5013 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.1018, allocations: 4 kB / 0.5013 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.102, allocations: 31.59 kB / 0.5013 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.1023, allocations: 83.33 kB / 0.5014 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.1025, allocations: 67.8 kB / 0.5014 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000344/0.1028, allocations: 278.8 kB / 0.5017 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.103, allocations: 73.25 kB / 0.5018 GB, free: 9.785 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002012/0.1032, allocations: 115.5 kB / 0.5019 GB, free: 9.672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.1035, allocations: 123.4 kB / 0.502 GB, free: 9.551 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.052e-05/0.1035, allocations: 16 kB / 0.502 GB, free: 9.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.393e-05/0.1036, allocations: 24 kB / 0.502 GB, free: 9.512 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.785e-05/0.1037, allocations: 47.78 kB / 0.5021 GB, free: 9.465 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.1038, allocations: 123.3 kB / 0.5022 GB, free: 9.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.1041, allocations: 235.1 kB / 0.5024 GB, free: 9.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1041, allocations: 0 / 0.5024 GB, free: 9.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1041, allocations: 4 kB / 0.5024 GB, free: 9.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.1041, allocations: 0 / 0.5024 GB, free: 9.109 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.0009259/0.1051, allocations: 0.5529 MB / 0.503 GB, free: 8.508 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1051, allocations: 15.89 kB / 0.503 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.1052, allocations: 32.56 kB / 0.503 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.1056, allocations: 274.7 kB / 0.5033 GB, free: 8.152 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.848e-05/0.1057, allocations: 38.27 kB / 0.5033 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.3e-05/0.1057, allocations: 20.38 kB / 0.5033 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.1061, allocations: 178.9 kB / 0.5035 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.1061, allocations: 4 kB / 0.5035 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.1062, allocations: 8 kB / 0.5035 GB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1062, allocations: 4 kB / 0.5035 GB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002907/0.1065, allocations: 119.9 kB / 0.5036 GB, free: 7.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009798/0.1075, allocations: 0.6733 MB / 0.5043 GB, free: 7.035 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.1078, allocations: 150.4 kB / 0.5044 GB, free: 6.879 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.108, allocations: 88.75 kB / 0.5045 GB, free: 6.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.108, allocations: 4 kB / 0.5045 GB, free: 6.785 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.108, allocations: 38.56 kB / 0.5046 GB, free: 6.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.1081, allocations: 0 / 0.5046 GB, free: 6.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=19): time 0.001155/0.1092, allocations: 0.5756 MB / 0.5051 GB, free: 6.109 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.1093, allocations: 51.41 kB / 0.5052 GB, free: 6.047 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.1095, allocations: 245 kB / 0.5054 GB, free: 5.801 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1095, allocations: 25.7 kB / 0.5054 GB, free: 5.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.1096, allocations: 148.3 kB / 0.5056 GB, free: 5.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.267e-05/0.1097, allocations: 71 kB / 0.5056 GB, free: 5.551 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.784e-05/0.1098, allocations: 41.7 kB / 0.5057 GB, free: 5.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1099, allocations: 338.8 kB / 0.506 GB, free: 5.164 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.11, allocations: 55.97 kB / 0.5061 GB, free: 5.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.1102, allocations: 83.2 kB / 0.5061 GB, free: 5.023 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.1105, allocations: 137.5 kB / 0.5063 GB, free: 4.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1105, allocations: 0 / 0.5063 GB, free: 4.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003831/0.1109, allocations: 205.2 kB / 0.5065 GB, free: 4.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1109, allocations: 8.031 kB / 0.5065 GB, free: 4.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1109, allocations: 0 / 0.5065 GB, free: 4.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1109, allocations: 4 kB / 0.5065 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004213/0.1114, allocations: 79.94 kB / 0.5066 GB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.1114, allocations: 4 kB / 0.5066 GB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.1115, allocations: 12 kB / 0.5066 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.1115, allocations: 4 kB / 0.5066 GB, free: 4.566 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.0001142/0.1117, allocations: 137.7 kB / 0.5067 GB, free: 4.422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.1117, allocations: 23.72 kB / 0.5067 GB, free: 4.398 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.064e-05/0.1118, allocations: 30.17 kB / 0.5068 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1118, allocations: 0 / 0.5068 GB, free: 4.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1118, allocations: 3.984 kB / 0.5068 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.25e-05/0.1119, allocations: 104.8 kB / 0.5069 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.1119, allocations: 8 kB / 0.5069 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.1121, allocations: 15.92 kB / 0.5069 GB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.1122, allocations: 11.98 kB / 0.5069 GB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007646/0.1129, allocations: 308.7 kB / 0.5072 GB, free: 3.898 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005857/0.1135, allocations: 442.6 kB / 0.5076 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000146/0.1137, allocations: 68 kB / 0.5077 GB, free: 3.383 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001514/0.1138, allocations: 172.5 kB / 0.5078 GB, free: 3.215 MB / 398.1 MB Notification: Performance of Backend: time 5.41e-07/0.1139, allocations: 0 / 0.5078 GB, free: 3.215 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005275/0.1144, allocations: 174.2 kB / 0.508 GB, free: 3.039 MB / 398.1 MB Notification: Performance of SimCode: time 0.001177/0.1156, allocations: 1.084 MB / 0.5091 GB, free: 1.906 MB / 398.1 MB Notification: Performance of Templates: time 0.005979/0.1216, allocations: 2.555 MB / 0.5116 GB, free: 15.35 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)