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.001147/0.001147, allocations: 110.3 kB / 17.06 MB, free: 6.129 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.001313/0.001313, allocations: 191 kB / 18 MB, free: 5.207 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.308/1.308, allocations: 205.1 MB / 223.9 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.267/0.267, allocations: 48.84 MB / 320.1 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.001438/0.001438, allocations: 67.91 kB / 450.5 MB, free: 8.566 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1076, allocations: 59.15 MB / 0.4977 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.003668/0.1113, allocations: 2.642 MB / 0.5003 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1128, allocations: 0.7487 MB / 0.501 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001582/0.113, allocations: 7.938 kB / 0.501 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001901/0.1132, allocations: 47.47 kB / 0.5011 GB, free: 9.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003485/0.1136, allocations: 127 kB / 0.5012 GB, free: 9.684 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.1138, allocations: 79.89 kB / 0.5013 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004386/0.1142, allocations: 398.2 kB / 0.5017 GB, free: 9.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.1145, allocations: 89.55 kB / 0.5018 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.1147, allocations: 163.3 kB / 0.5019 GB, free: 8.965 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.1149, allocations: 159.1 kB / 0.5021 GB, free: 8.809 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.873e-05/0.115, allocations: 28 kB / 0.5021 GB, free: 8.781 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.285e-05/0.1151, allocations: 32 kB / 0.5021 GB, free: 8.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.908e-05/0.1151, allocations: 63.75 kB / 0.5022 GB, free: 8.688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.1153, allocations: 175 kB / 0.5023 GB, free: 8.516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003283/0.1156, allocations: 322.8 kB / 0.5027 GB, free: 8.199 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1156, allocations: 3.938 kB / 0.5027 GB, free: 8.195 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1156, allocations: 0 / 0.5027 GB, free: 8.195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1156, allocations: 0 / 0.5027 GB, free: 8.195 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.00106/0.1167, allocations: 0.6658 MB / 0.5033 GB, free: 7.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1168, allocations: 11.89 kB / 0.5033 GB, free: 7.469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.1169, allocations: 44.47 kB / 0.5034 GB, free: 7.426 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004029/0.1173, allocations: 320 kB / 0.5037 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.1173, allocations: 16.81 kB / 0.5037 GB, free: 7.062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.989e-05/0.1174, allocations: 24.38 kB / 0.5037 GB, free: 7.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004436/0.1178, allocations: 250.9 kB / 0.5039 GB, free: 6.777 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1178, allocations: 0 / 0.5039 GB, free: 6.777 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.1179, allocations: 8 kB / 0.504 GB, free: 6.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.1179, allocations: 8 kB / 0.504 GB, free: 6.762 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004029/0.1183, allocations: 177.6 kB / 0.5041 GB, free: 6.586 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.1195, allocations: 0.8633 MB / 0.505 GB, free: 5.66 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/0.1198, allocations: 187.2 kB / 0.5052 GB, free: 5.469 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.1201, allocations: 108.8 kB / 0.5053 GB, free: 5.359 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.1201, allocations: 4 kB / 0.5053 GB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.1201, allocations: 42.5 kB / 0.5053 GB, free: 5.305 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 2.615e-06/0.1201, allocations: 3.984 kB / 0.5053 GB, free: 5.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=27): time 0.001374/0.1215, allocations: 0.732 MB / 0.506 GB, free: 4.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.1216, allocations: 55.41 kB / 0.5061 GB, free: 4.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/0.1219, allocations: 304.6 kB / 0.5064 GB, free: 4.141 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.1219, allocations: 29.7 kB / 0.5064 GB, free: 4.105 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.1221, allocations: 184.5 kB / 0.5066 GB, free: 3.922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.764e-05/0.1221, allocations: 98.62 kB / 0.5067 GB, free: 3.824 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.555e-05/0.1222, allocations: 57.61 kB / 0.5067 GB, free: 3.762 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1224, allocations: 338.8 kB / 0.507 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.1225, allocations: 79.95 kB / 0.5071 GB, free: 3.344 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.1227, allocations: 102.8 kB / 0.5072 GB, free: 3.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.1231, allocations: 188.2 kB / 0.5074 GB, free: 3.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1231, allocations: 8 kB / 0.5074 GB, free: 3.035 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006291/0.1237, allocations: 318.9 kB / 0.5077 GB, free: 2.715 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1238, allocations: 4 kB / 0.5077 GB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1238, allocations: 0 / 0.5077 GB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002697/0.1241, allocations: 60.88 kB / 0.5078 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003848/0.1245, allocations: 75.89 kB / 0.5078 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/0.1269, allocations: 3.024 MB / 0.5108 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.1271, allocations: 16.08 kB / 0.5108 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.1271, allocations: 11.94 kB / 0.5108 GB, free: 15.24 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.0001503/0.1273, allocations: 145.7 kB / 0.511 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.074e-05/0.1273, allocations: 35.53 kB / 0.511 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004684/0.1278, allocations: 257.3 kB / 0.5112 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1278, allocations: 0 / 0.5112 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.1278, allocations: 4.188 kB / 0.5112 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1278, allocations: 8 kB / 0.5112 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009156/0.1288, allocations: 0.6588 MB / 0.5119 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/0.1288, allocations: 7.969 kB / 0.5119 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.1291, allocations: 75.84 kB / 0.512 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1291, allocations: 0 / 0.512 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.1292, allocations: 7.938 kB / 0.512 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1292, allocations: 11.94 kB / 0.512 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1292, allocations: 0 / 0.512 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000651/0.1298, allocations: 452.4 kB / 0.5124 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-05/0.1299, allocations: 116.8 kB / 0.5125 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.944e-05/0.13, allocations: 11.94 kB / 0.5125 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.1302, allocations: 15.98 kB / 0.5126 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.1303, allocations: 15.98 kB / 0.5126 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.1303, allocations: 8 kB / 0.5126 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002047/0.1305, allocations: 215.1 kB / 0.5128 GB, free: 13.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1305, allocations: 0 / 0.5128 GB, free: 13.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003327/0.1308, allocations: 68 kB / 0.5129 GB, free: 13.05 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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 Backend phase and start with SimCode phase: time 9.079e-05/0.1309, allocations: 103.2 kB / 0.513 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008073/0.1317, allocations: 366.5 kB / 0.5133 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1318, allocations: 0 / 0.5133 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.132, allocations: 108 kB / 0.5134 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.1324, allocations: 53.06 kB / 0.5135 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.1339, allocations: 0.9155 MB / 0.5143 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.1343, allocations: 0.7875 MB / 0.5151 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.1344, allocations: 38.95 kB / 0.5152 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.069e-05/0.1345, allocations: 27.44 kB / 0.5152 GB, free: 10.58 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1345, allocations: 0 / 0.5152 GB, free: 10.58 MB / 414.1 MB Notification: Performance of Templates: time 0.007107/0.1416, allocations: 3.501 MB / 0.5186 GB, free: 7.07 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)