Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001232/0.001232, allocations: 187.3 kB / 16.25 MB, free: 6.145 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.536/1.536, allocations: 205.1 MB / 222.1 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.742/1.742, allocations: 292.2 MB / 0.5485 GB, free: 13.61 MB / 462.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.001373/0.001373, allocations: 66.16 kB / 0.671 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2725, allocations: 114.6 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.022/0.2945, allocations: 20.02 MB / 0.8024 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01138/0.3059, allocations: 6.454 MB / 0.8087 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002532/0.3085, allocations: 79.56 kB / 0.8088 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005842/0.3145, allocations: 2.078 MB / 0.8108 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003894/0.3184, allocations: 1.097 MB / 0.8119 GB, free: 72 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003476/0.3219, allocations: 1.181 MB / 0.813 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005989/0.3279, allocations: 4.866 MB / 0.8178 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009536/0.3375, allocations: 6.751 MB / 0.8244 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003678/0.3412, allocations: 2.111 MB / 0.8265 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00384/0.345, allocations: 2.458 MB / 0.8289 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0009702/0.346, allocations: 432 kB / 0.8293 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002413/0.3484, allocations: 1.002 MB / 0.8302 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00183/0.3503, allocations: 1.665 MB / 0.8319 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002502/0.3528, allocations: 1.918 MB / 0.8337 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006892/0.3597, allocations: 6.532 MB / 0.8401 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.3597, allocations: 0 / 0.8401 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3598, allocations: 0 / 0.8401 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.00017/0.3599, allocations: 0 / 0.8401 GB, free: 3.043 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007377/0.3673, allocations: 3.444 MB / 0.8435 GB, free: 15.54 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3674, allocations: 11.97 kB / 0.8435 GB, free: 15.52 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00337/0.3707, allocations: 0.6371 MB / 0.8441 GB, free: 14.88 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003496/0.3743, allocations: 1.936 MB / 0.846 GB, free: 12.89 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000177/0.3745, allocations: 226.3 kB / 0.8462 GB, free: 12.66 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005717/0.375, allocations: 296.2 kB / 0.8465 GB, free: 12.38 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008624/0.3837, allocations: 4.898 MB / 0.8513 GB, free: 7.277 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-05/0.3838, allocations: 7.938 kB / 0.8513 GB, free: 7.27 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003287/0.3841, allocations: 128 kB / 0.8514 GB, free: 7.145 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004541/0.3846, allocations: 225.7 kB / 0.8516 GB, free: 6.922 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007165/0.3918, allocations: 3.75 MB / 0.8553 GB, free: 3.16 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0265/0.4183, allocations: 21.57 MB / 0.8764 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.4201, allocations: 1.308 MB / 0.8776 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/0.4215, allocations: 1.049 MB / 0.8787 GB, free: 9.223 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.293e-05/0.4216, allocations: 13 kB / 0.8787 GB, free: 9.207 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.4216, allocations: 47.56 kB / 0.8787 GB, free: 9.152 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=107): time 2.465e-06/0.4217, allocations: 0 / 0.8787 GB, free: 9.152 MB / 0.7012 GB Notification: Performance of matching and sorting (n=138): time 0.02311/0.4448, allocations: 8.641 MB / 0.8872 GB, free: 456 kB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.4448, allocations: 64.72 kB / 0.8872 GB, free: 380 kB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.4463, allocations: 1.134 MB / 0.8883 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001537/0.4464, allocations: 53.7 kB / 0.8884 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000799/0.4473, allocations: 1.296 MB / 0.8896 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004044/0.4477, allocations: 485.1 kB / 0.8901 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004231/0.4481, allocations: 291.3 kB / 0.8904 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.477e-05/0.4482, allocations: 309 kB / 0.8907 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.4494, allocations: 0.9135 MB / 0.8916 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/0.4508, allocations: 1.33 MB / 0.8929 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002924/0.4538, allocations: 2.426 MB / 0.8952 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.4538, allocations: 4 kB / 0.8952 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006278/0.4601, allocations: 3.456 MB / 0.8986 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.4601, allocations: 19.94 kB / 0.8986 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.4602, allocations: 12 kB / 0.8987 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003147/0.4633, allocations: 1.193 MB / 0.8998 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000944/0.4643, allocations: 255.6 kB / 0.9001 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01759/0.4819, allocations: 13.85 MB / 0.9136 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.4832, allocations: 88.11 kB / 0.9137 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.4833, allocations: 71.97 kB / 0.9137 GB, free: 4.387 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001618/0.4849, allocations: 1.118 MB / 0.9148 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003119/0.4853, allocations: 162.1 kB / 0.915 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.409/0.8943, allocations: 3.162 MB / 0.9181 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.787e-05/0.8943, allocations: 17.53 kB / 0.9181 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.592e-05/0.8944, allocations: 12.53 kB / 0.9181 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.796e-05/0.8944, allocations: 7.359 kB / 0.9181 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/0.9051, allocations: 6.247 MB / 0.9242 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.9052, allocations: 9.406 kB / 0.9242 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005553/0.9057, allocations: 149.7 kB / 0.9244 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002698/0.9084, allocations: 1.075 MB / 0.9254 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.944e-05/0.9085, allocations: 32.59 kB / 0.9254 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01532/0.9239, allocations: 13.53 MB / 0.9387 GB, free: 117.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.9239, allocations: 8.781 kB / 0.9387 GB, free: 117.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0063/0.9302, allocations: 3.154 MB / 0.9418 GB, free: 116.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/0.9313, allocations: 426 kB / 0.9422 GB, free: 115.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002389/0.9315, allocations: 32.22 kB / 0.9422 GB, free: 115.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007849/0.9323, allocations: 81.86 kB / 0.9423 GB, free: 115.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005003/0.9328, allocations: 129.6 kB / 0.9424 GB, free: 115.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-05/0.9329, allocations: 38.75 kB / 0.9424 GB, free: 115.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001258/0.9342, allocations: 0.7653 MB / 0.9432 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9342, allocations: 0 / 0.9432 GB, free: 115.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002392/0.9366, allocations: 0.661 MB / 0.9438 GB, free: 115.5 MB / 0.7325 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002555/0.9369, allocations: 141.1 kB / 0.944 GB, free: 115.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005741/0.9426, allocations: 3.631 MB / 0.9475 GB, free: 114 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.9426, allocations: 1.281 kB / 0.9475 GB, free: 114 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002812/0.9455, allocations: 1.957 MB / 0.9494 GB, free: 113 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/0.9476, allocations: 0.501 MB / 0.9499 GB, free: 112.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00925/0.9569, allocations: 6.735 MB / 0.9565 GB, free: 109.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002131/0.9591, allocations: 2.34 MB / 0.9588 GB, free: 108 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001482/0.9606, allocations: 349.8 kB / 0.9591 GB, free: 108 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/0.9608, allocations: 92.92 kB / 0.9592 GB, free: 108 MB / 0.7325 GB Notification: Performance of SimCode: time 1.533e-06/0.9608, allocations: 0 / 0.9592 GB, free: 108 MB / 0.7325 GB Notification: Performance of Templates: time 0.04618/1.007, allocations: 32.85 MB / 0.9913 GB, free: 81.8 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)