Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009022/0.009022, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.504/1.504, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.568/1.568, allocations: 252 MB / 0.5105 GB, free: 4.559 MB / 414.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.0005816/0.0005816, allocations: 16 kB / 0.6249 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5596/0.5602, allocations: 106.3 MB / 0.7287 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03533/0.5956, allocations: 33.88 MB / 0.7618 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01766/0.6133, allocations: 9.903 MB / 0.7715 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005278/0.6186, allocations: 123.3 kB / 0.7716 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003777/0.6225, allocations: 0.7055 MB / 0.7723 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007797/0.6303, allocations: 1.913 MB / 0.7742 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005792/0.6361, allocations: 1.607 MB / 0.7757 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01284/0.649, allocations: 11.19 MB / 0.7867 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02013/0.6691, allocations: 12.17 MB / 0.7985 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005499/0.6747, allocations: 2.408 MB / 0.8009 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0062/0.6809, allocations: 3.215 MB / 0.804 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001734/0.6827, allocations: 284 kB / 0.8043 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004731/0.6874, allocations: 1.263 MB / 0.8055 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004172/0.6916, allocations: 2.096 MB / 0.8076 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007302/0.6989, allocations: 2.532 MB / 0.8101 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01355/0.7125, allocations: 9.866 MB / 0.8197 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.7125, allocations: 4 kB / 0.8197 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.046e-06/0.7125, allocations: 0 / 0.8197 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003965/0.713, allocations: 0 / 0.8197 GB, free: 13.71 MB / 0.6387 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.01181/0.7248, allocations: 4.356 MB / 0.8239 GB, free: 9.289 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.7248, allocations: 8.031 kB / 0.824 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005773/0.7306, allocations: 0.9549 MB / 0.8249 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006728/0.7374, allocations: 2.999 MB / 0.8278 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003628/0.7378, allocations: 353.9 kB / 0.8282 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001539/0.7393, allocations: 472.2 kB / 0.8286 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02061/0.7599, allocations: 7.91 MB / 0.8363 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001657/0.7602, allocations: 23.75 kB / 0.8364 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009416/0.7611, allocations: 208 kB / 0.8365 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005039/0.7616, allocations: 373.1 kB / 0.8369 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01257/0.7742, allocations: 5.929 MB / 0.8427 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04266/0.8169, allocations: 36.27 MB / 0.8781 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003723/0.8207, allocations: 2.138 MB / 0.8802 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002208/0.8229, allocations: 1.49 MB / 0.8817 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.823, allocations: 17.31 kB / 0.8817 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.793e-05/0.8231, allocations: 55.81 kB / 0.8817 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=157): time 3.317e-06/0.8231, allocations: 0 / 0.8817 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of matching and sorting (n=160): time 0.01531/0.8384, allocations: 7.568 MB / 0.8891 GB, free: 2.582 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.8385, allocations: 72.66 kB / 0.8892 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003344/0.8419, allocations: 1.864 MB / 0.891 GB, free: 0.6094 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001417/0.842, allocations: 53.7 kB / 0.8911 GB, free: 0.5508 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001598/0.8436, allocations: 2.131 MB / 0.8931 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005165/0.8442, allocations: 0.5507 MB / 0.8937 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002957/0.8445, allocations: 178.1 kB / 0.8938 GB, free: 13.66 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.37e-05/0.8446, allocations: 301.1 kB / 0.8941 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001748/0.8463, allocations: 1.062 MB / 0.8952 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002168/0.8485, allocations: 1.76 MB / 0.8969 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004255/0.8528, allocations: 3.052 MB / 0.8999 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-05/0.8528, allocations: 4 kB / 0.8999 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006993/0.8598, allocations: 3.929 MB / 0.9037 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.8599, allocations: 12 kB / 0.9037 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.585e-05/0.8599, allocations: 24 kB / 0.9037 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002476/0.8624, allocations: 0.939 MB / 0.9047 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/0.8639, allocations: 427.2 kB / 0.9051 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4919/1.356, allocations: 21.07 MB / 0.9256 GB, free: 144.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00225/1.358, allocations: 124.2 kB / 0.9258 GB, free: 144.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002075/1.358, allocations: 97.38 kB / 0.9259 GB, free: 144.3 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003423/1.362, allocations: 1.645 MB / 0.9275 GB, free: 143.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005944/1.362, allocations: 252.4 kB / 0.9277 GB, free: 143.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006076/1.368, allocations: 3.265 MB / 0.9309 GB, free: 142.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.897e-05/1.369, allocations: 16.12 kB / 0.9309 GB, free: 142.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.548e-05/1.369, allocations: 13.84 kB / 0.9309 GB, free: 142.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/1.369, allocations: 6.938 kB / 0.9309 GB, free: 142.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/1.379, allocations: 7.558 MB / 0.9383 GB, free: 139 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/1.379, allocations: 3.938 kB / 0.9383 GB, free: 139 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008832/1.38, allocations: 212 kB / 0.9385 GB, free: 139 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002157/1.383, allocations: 0.8921 MB / 0.9394 GB, free: 138.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001375/1.383, allocations: 35.86 kB / 0.9394 GB, free: 138.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01547/1.398, allocations: 21.05 MB / 0.96 GB, free: 120 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.398, allocations: 3.875 kB / 0.96 GB, free: 120 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00516/1.403, allocations: 3.384 MB / 0.9633 GB, free: 118.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/1.404, allocations: 0.5381 MB / 0.9638 GB, free: 117.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002817/1.405, allocations: 35.2 kB / 0.9638 GB, free: 117.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/1.406, allocations: 95.95 kB / 0.9639 GB, free: 117.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003656/1.406, allocations: 141.8 kB / 0.9641 GB, free: 117.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.286e-05/1.406, allocations: 42.84 kB / 0.9641 GB, free: 117.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001499/1.408, allocations: 1.225 MB / 0.9653 GB, free: 116.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.81e-07/1.408, allocations: 7.375 kB / 0.9653 GB, free: 116.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003016/1.411, allocations: 0.9062 MB / 0.9662 GB, free: 115.6 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002655/1.411, allocations: 154.9 kB / 0.9663 GB, free: 115.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005527/1.417, allocations: 4.422 MB / 0.9707 GB, free: 110.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/1.417, allocations: 3.938 kB / 0.9707 GB, free: 110.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003479/1.42, allocations: 2.998 MB / 0.9736 GB, free: 107.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004931/1.425, allocations: 0.7654 MB / 0.9743 GB, free: 106.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/1.437, allocations: 9.717 MB / 0.9838 GB, free: 97.15 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00287/1.44, allocations: 3.209 MB / 0.987 GB, free: 93.91 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001997/1.442, allocations: 0.5215 MB / 0.9875 GB, free: 93.38 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003504/1.443, allocations: 147.4 kB / 0.9876 GB, free: 93.24 MB / 0.7169 GB Notification: Performance of SimCode: time 7.62e-07/1.443, allocations: 0 / 0.9876 GB, free: 93.24 MB / 0.7169 GB Notification: Performance of Templates: time 0.06247/1.505, allocations: 40.89 MB / 1.028 GB, free: 52.95 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) Environment - environmentSimulation: