Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.825/1.825, allocations: 288.4 MB / 303.4 MB, free: 8.102 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.001001/0.001001, allocations: 181.1 kB / 372 MB, free: 10.29 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.628/1.628, allocations: 205.4 MB / 0.6307 GB, free: 10.03 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.0009006/0.0009007, allocations: 86.27 kB / 0.7441 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003905, allocations: 12.88 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2172, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0182/0.2354, allocations: 24.2 MB / 1.003 GB, free: 3.418 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01218/0.2476, allocations: 7.727 MB / 1.011 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002459/0.2501, allocations: 103.4 kB / 1.011 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001461/0.2516, allocations: 0.5154 MB / 1.011 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003391/0.255, allocations: 1.279 MB / 1.013 GB, free: 9.762 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003001/0.258, allocations: 0.9904 MB / 1.014 GB, free: 8.773 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008103/0.2661, allocations: 6.876 MB / 1.02 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01291/0.2791, allocations: 8.18 MB / 1.028 GB, free: 9.637 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0041/0.2832, allocations: 1.879 MB / 1.03 GB, free: 7.75 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004622/0.2879, allocations: 2.394 MB / 1.032 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0007826/0.2887, allocations: 212 kB / 1.033 GB, free: 5.141 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002236/0.2909, allocations: 0.597 MB / 1.033 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.00193/0.2929, allocations: 1.66 MB / 1.035 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001432/0.2943, allocations: 0.8044 MB / 1.036 GB, free: 2.066 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.007313/0.3016, allocations: 6.624 MB / 1.042 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.592e-05/0.3017, allocations: 0 / 1.042 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.926e-06/0.3017, allocations: 3.938 kB / 1.042 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002581/0.302, allocations: 4 kB / 1.042 GB, free: 11.42 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.008463/0.3105, allocations: 3.456 MB / 1.046 GB, free: 7.898 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.227e-05/0.3105, allocations: 12.02 kB / 1.046 GB, free: 7.887 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004692/0.3152, allocations: 0.8031 MB / 1.046 GB, free: 7.078 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005087/0.3203, allocations: 2.37 MB / 1.049 GB, free: 4.652 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002224/0.3206, allocations: 271.3 kB / 1.049 GB, free: 4.387 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000931/0.3215, allocations: 379.8 kB / 1.049 GB, free: 4.016 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01156/0.3331, allocations: 5.97 MB / 1.055 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-05/0.3333, allocations: 11.94 kB / 1.055 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003933/0.3337, allocations: 156 kB / 1.055 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005998/0.3343, allocations: 290.9 kB / 1.056 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007991/0.3423, allocations: 4.496 MB / 1.06 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4415/0.7838, allocations: 27.67 MB / 1.087 GB, free: 63.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002176/0.786, allocations: 1.119 MB / 1.088 GB, free: 62.76 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001848/0.7879, allocations: 1.02 MB / 1.089 GB, free: 62.37 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.328e-05/0.788, allocations: 12.98 kB / 1.089 GB, free: 62.37 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.301e-05/0.788, allocations: 49.78 kB / 1.089 GB, free: 62.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=110): time 4.398e-06/0.7881, allocations: 0 / 1.089 GB, free: 62.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=131): time 0.02346/0.8115, allocations: 9.654 MB / 1.098 GB, free: 58.11 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.8116, allocations: 69.92 kB / 1.099 GB, free: 58.04 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002216/0.8138, allocations: 1.48 MB / 1.1 GB, free: 57.48 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.814, allocations: 48.14 kB / 1.1 GB, free: 57.43 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009431/0.8149, allocations: 1.663 MB / 1.102 GB, free: 56.16 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003636/0.8153, allocations: 478.2 kB / 1.102 GB, free: 55.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.114e-05/0.8154, allocations: 34.97 kB / 1.102 GB, free: 55.78 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.8155, allocations: 380 kB / 1.103 GB, free: 55.44 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.8169, allocations: 0.912 MB / 1.103 GB, free: 55.09 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/0.8186, allocations: 1.453 MB / 1.105 GB, free: 54.06 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.8202, allocations: 1.144 MB / 1.106 GB, free: 53.55 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/0.8202, allocations: 4.906 kB / 1.106 GB, free: 53.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006371/0.8266, allocations: 3.268 MB / 1.109 GB, free: 52.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.053e-05/0.8266, allocations: 17.11 kB / 1.109 GB, free: 52.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.46e-05/0.8267, allocations: 18.81 kB / 1.109 GB, free: 52.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002428/0.8291, allocations: 0.7422 MB / 1.11 GB, free: 51.94 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/0.8308, allocations: 388.6 kB / 1.11 GB, free: 51.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/0.8432, allocations: 15.76 MB / 1.126 GB, free: 37.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/0.8451, allocations: 97.97 kB / 1.126 GB, free: 37.85 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/0.8453, allocations: 72.03 kB / 1.126 GB, free: 37.84 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(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%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002464/0.8478, allocations: 1.311 MB / 1.127 GB, free: 37.02 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004355/0.8482, allocations: 202.7 kB / 1.127 GB, free: 36.91 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004924/0.8531, allocations: 2.784 MB / 1.13 GB, free: 35.23 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.8532, allocations: 13.41 kB / 1.13 GB, free: 35.23 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/0.8532, allocations: 6.281 kB / 1.13 GB, free: 35.23 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/0.8532, allocations: 13.39 kB / 1.13 GB, free: 35.22 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/0.8639, allocations: 6.202 MB / 1.136 GB, free: 31.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.864, allocations: 5.719 kB / 1.136 GB, free: 31.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/0.8652, allocations: 233.9 kB / 1.136 GB, free: 31.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00195/0.8672, allocations: 0.6703 MB / 1.137 GB, free: 30.98 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/0.8673, allocations: 41.5 kB / 1.137 GB, free: 30.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01161/0.879, allocations: 15.49 MB / 1.152 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/0.879, allocations: 14.14 kB / 1.152 GB, free: 16.54 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005755/0.8848, allocations: 3.994 MB / 1.156 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009021/0.8857, allocations: 465.1 kB / 1.157 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/0.886, allocations: 38.72 kB / 1.157 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000955/0.8869, allocations: 82.69 kB / 1.157 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002675/0.8872, allocations: 113.1 kB / 1.157 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-05/0.8873, allocations: 41.94 kB / 1.157 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001148/0.8884, allocations: 0.976 MB / 1.158 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.51e-07/0.8885, allocations: 0 / 1.158 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002256/0.8907, allocations: 0.6841 MB / 1.158 GB, free: 13.06 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002462/0.891, allocations: 156.2 kB / 1.159 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004424/0.8954, allocations: 3.499 MB / 1.162 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.8954, allocations: 0 / 1.162 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00255/0.898, allocations: 2.276 MB / 1.164 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00271/0.9007, allocations: 0.62 MB / 1.165 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009939/0.9107, allocations: 7.849 MB / 1.172 GB, free: 15.38 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002682/0.9134, allocations: 2.669 MB / 1.175 GB, free: 12.68 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00172/0.9151, allocations: 485.4 kB / 1.176 GB, free: 12.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/0.9155, allocations: 119.4 kB / 1.176 GB, free: 12.09 MB / 0.698 GB Notification: Performance of SimCode: time 9.01e-07/0.9155, allocations: 4 kB / 1.176 GB, free: 12.08 MB / 0.698 GB Notification: Performance of Templates: time 0.0532/0.9687, allocations: 31.19 MB / 1.206 GB, free: 13.35 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)