Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.588/1.588, allocations: 287.4 MB / 302.6 MB, free: 8.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 183.8 kB / 371.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.4 MB / 0.6298 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007199/0.0007198, allocations: 104.8 kB / 0.7431 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003429, allocations: 12.02 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1557, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02362/0.1793, allocations: 31.93 MB / 1.01 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01389/0.1933, allocations: 9.55 MB / 1.019 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001691/0.195, allocations: 127.2 kB / 1.019 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.1964, allocations: 0.6782 MB / 1.02 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003389/0.1998, allocations: 1.636 MB / 1.022 GB, free: 52 kB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002712/0.2026, allocations: 1.147 MB / 1.023 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.008592/0.2112, allocations: 8.936 MB / 1.031 GB, free: 5.945 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01573/0.2269, allocations: 11.99 MB / 1.043 GB, free: 9.855 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003622/0.2306, allocations: 2.439 MB / 1.046 GB, free: 7.406 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003913/0.2345, allocations: 3.122 MB / 1.049 GB, free: 4.273 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.000774/0.2353, allocations: 284 kB / 1.049 GB, free: 3.996 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002057/0.2374, allocations: 0.644 MB / 1.05 GB, free: 3.352 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002239/0.2396, allocations: 2.085 MB / 1.052 GB, free: 1.262 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001381/0.241, allocations: 1.034 MB / 1.053 GB, free: 224 kB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.008379/0.2494, allocations: 8.548 MB / 1.061 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2494, allocations: 4 kB / 1.061 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2494, allocations: 0 / 1.061 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002529/0.2497, allocations: 0 / 1.061 GB, free: 7.645 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.007294/0.257, allocations: 4.356 MB / 1.065 GB, free: 3.219 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.2571, allocations: 12.03 kB / 1.065 GB, free: 3.207 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008143/0.2579, allocations: 0.6984 MB / 1.066 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003641/0.2615, allocations: 0.9704 MB / 1.067 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3297/0.5913, allocations: 2.985 MB / 1.07 GB, free: 80.33 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/0.5915, allocations: 361.5 kB / 1.07 GB, free: 80.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000664/0.5922, allocations: 465.9 kB / 1.071 GB, free: 80.03 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01192/0.6041, allocations: 7.869 MB / 1.078 GB, free: 76.62 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.621e-05/0.6042, allocations: 27.52 kB / 1.078 GB, free: 76.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003797/0.6046, allocations: 211.7 kB / 1.078 GB, free: 76.46 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004967/0.6051, allocations: 365 kB / 1.079 GB, free: 76.41 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01087/0.616, allocations: 5.9 MB / 1.085 GB, free: 74.33 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02882/0.6448, allocations: 36.26 MB / 1.12 GB, free: 44.11 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00288/0.6478, allocations: 2.132 MB / 1.122 GB, free: 43 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001749/0.6495, allocations: 1.48 MB / 1.123 GB, free: 42.26 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.653e-05/0.6496, allocations: 21.2 kB / 1.124 GB, free: 42.26 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.6497, allocations: 56 kB / 1.124 GB, free: 42.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=157): time 3.266e-06/0.6497, allocations: 3.938 kB / 1.124 GB, free: 42.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=160): time 0.01217/0.6619, allocations: 7.551 MB / 1.131 GB, free: 37.31 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.6619, allocations: 68.03 kB / 1.131 GB, free: 37.25 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002359/0.6643, allocations: 1.846 MB / 1.133 GB, free: 36.22 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.6644, allocations: 57.55 kB / 1.133 GB, free: 36.16 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008749/0.6653, allocations: 2.122 MB / 1.135 GB, free: 34.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003088/0.6656, allocations: 0.5577 MB / 1.135 GB, free: 33.82 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.146e-05/0.6657, allocations: 45.44 kB / 1.136 GB, free: 33.79 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.208e-05/0.6658, allocations: 389 kB / 1.136 GB, free: 33.43 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.6671, allocations: 1.051 MB / 1.137 GB, free: 32.87 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/0.6687, allocations: 1.76 MB / 1.139 GB, free: 31.38 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003102/0.6718, allocations: 3.04 MB / 1.142 GB, free: 29.17 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.128e-05/0.6719, allocations: 6.688 kB / 1.142 GB, free: 29.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005287/0.6772, allocations: 3.903 MB / 1.145 GB, free: 27.04 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.6772, allocations: 15.06 kB / 1.145 GB, free: 27.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.461e-05/0.6772, allocations: 23.53 kB / 1.145 GB, free: 27.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002152/0.6794, allocations: 0.9314 MB / 1.146 GB, free: 26.53 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.6809, allocations: 423 kB / 1.147 GB, free: 26.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01406/0.6949, allocations: 21.07 MB / 1.167 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/0.6972, allocations: 123.9 kB / 1.167 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/0.6973, allocations: 92 kB / 1.168 GB, free: 3.664 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002446/0.6998, allocations: 1.652 MB / 1.169 GB, free: 2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000378/0.7002, allocations: 253.1 kB / 1.169 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004612/0.7048, allocations: 3.249 MB / 1.173 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.7048, allocations: 16 kB / 1.173 GB, free: 14.44 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-05/0.7048, allocations: 12 kB / 1.173 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.7049, allocations: 11.91 kB / 1.173 GB, free: 14.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/0.7156, allocations: 7.533 MB / 1.18 GB, free: 6.758 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/0.7156, allocations: 8.547 kB / 1.18 GB, free: 6.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008823/0.7165, allocations: 219.6 kB / 1.18 GB, free: 6.535 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002145/0.7186, allocations: 0.9003 MB / 1.181 GB, free: 5.602 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-05/0.7187, allocations: 32 kB / 1.181 GB, free: 5.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01737/0.7361, allocations: 21.02 MB / 1.202 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.7361, allocations: 7.938 kB / 1.202 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004941/0.7411, allocations: 3.369 MB / 1.205 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008577/0.742, allocations: 0.5331 MB / 1.205 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000266/0.7422, allocations: 32 kB / 1.205 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009619/0.7432, allocations: 103.8 kB / 1.206 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002742/0.7435, allocations: 137 kB / 1.206 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.7436, allocations: 48 kB / 1.206 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00152/0.7451, allocations: 1.205 MB / 1.207 GB, free: 9.398 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7451, allocations: 0 / 1.207 GB, free: 9.398 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00241/0.7476, allocations: 0.9062 MB / 1.208 GB, free: 8.492 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004912/0.7525, allocations: 3.972 MB / 1.212 GB, free: 4.391 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005793/0.7583, allocations: 4.412 MB / 1.216 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.7583, allocations: 0 / 1.216 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.003783/0.7621, allocations: 2.997 MB / 1.219 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003941/0.766, allocations: 0.7521 MB / 1.22 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03099/0.797, allocations: 21.53 MB / 1.241 GB, free: 4.922 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003248/0.8003, allocations: 3.211 MB / 1.244 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001806/0.8021, allocations: 0.5293 MB / 1.244 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001941/0.8041, allocations: 1.662 MB / 1.246 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of SimCode: time 9.92e-07/0.8041, allocations: 0 / 1.246 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4794/1.284, allocations: 68.7 MB / 1.313 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000275/1.284, allocations: 230.6 kB / 1.313 GB, free: 11.33 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.27/5.553, allocations: 0 / 1.313 GB, free: 11.33 MB / 0.8386 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)