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_RL_N.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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.93/2.93, allocations: 287.3 MB / 302.3 MB, free: 8.316 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.001562/0.001562, allocations: 177.1 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.175/2.175, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001186/0.001185, allocations: 100.9 kB / 0.7428 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000496/0.0004961, allocations: 13.59 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2236, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02518/0.2488, allocations: 17.64 MB / 0.9954 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01296/0.2618, allocations: 6.211 MB / 1.001 GB, free: 4.484 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002157/0.2641, allocations: 71.56 kB / 1.002 GB, free: 4.414 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00191/0.266, allocations: 393.5 kB / 1.002 GB, free: 4.027 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003937/0.27, allocations: 0.8684 MB / 1.003 GB, free: 3.156 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00367/0.2737, allocations: 0.7794 MB / 1.004 GB, free: 2.379 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004876/0.2786, allocations: 2.315 MB / 1.006 GB, free: 60 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01566/0.2944, allocations: 6.379 MB / 1.012 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003609/0.298, allocations: 1.316 MB / 1.013 GB, free: 8.305 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003793/0.3019, allocations: 1.366 MB / 1.015 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0009766/0.3029, allocations: 179.9 kB / 1.015 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002245/0.3052, allocations: 407.6 kB / 1.015 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002586/0.3078, allocations: 1.243 MB / 1.016 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001599/0.3095, allocations: 0.6408 MB / 1.017 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.008739/0.3182, allocations: 5.295 MB / 1.022 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3183, allocations: 0 / 1.022 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of FrontEnd: time 6.402e-06/0.3183, allocations: 4 kB / 1.022 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002013/0.3185, allocations: 0 / 1.022 GB, free: 15.15 MB / 0.6511 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.009789/0.3283, allocations: 2.837 MB / 1.025 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.3284, allocations: 12.02 kB / 1.025 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005278/0.3337, allocations: 0.6207 MB / 1.026 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00627/0.34, allocations: 1.896 MB / 1.027 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002636/0.3403, allocations: 222 kB / 1.028 GB, free: 9.441 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001035/0.3414, allocations: 296 kB / 1.028 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01409/0.3555, allocations: 4.839 MB / 1.033 GB, free: 4.113 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001642/0.3557, allocations: 11.84 kB / 1.033 GB, free: 4.102 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005511/0.3563, allocations: 132 kB / 1.033 GB, free: 3.973 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007123/0.357, allocations: 233.6 kB / 1.033 GB, free: 3.742 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01168/0.3687, allocations: 3.731 MB / 1.037 GB, free: 0 / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03573/0.4045, allocations: 21.61 MB / 1.058 GB, free: 8.398 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003169/0.4077, allocations: 1.304 MB / 1.059 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.4078, allocations: 13 kB / 1.059 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/0.4079, allocations: 43.56 kB / 1.059 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=107): time 4.589e-06/0.4079, allocations: 0 / 1.059 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of matching and sorting (n=138): time 0.7143/1.122, allocations: 8.655 MB / 1.068 GB, free: 82.75 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.565e-05/1.122, allocations: 67.88 kB / 1.068 GB, free: 82.68 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002935/1.125, allocations: 1.117 MB / 1.069 GB, free: 82.26 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003564/1.126, allocations: 52.02 kB / 1.069 GB, free: 82.21 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001338/1.127, allocations: 1.298 MB / 1.07 GB, free: 81.58 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008194/1.128, allocations: 483.8 kB / 1.07 GB, free: 81.21 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/1.128, allocations: 34.91 kB / 1.071 GB, free: 81.19 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001899/1.128, allocations: 370 kB / 1.071 GB, free: 80.86 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002814/1.131, allocations: 0.9077 MB / 1.072 GB, free: 80.52 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003282/1.135, allocations: 1.316 MB / 1.073 GB, free: 79.69 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003181/1.138, allocations: 1.132 MB / 1.074 GB, free: 79.22 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.437e-05/1.138, allocations: 4.031 kB / 1.074 GB, free: 79.22 MB / 0.6823 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.01162/1.149, allocations: 3.447 MB / 1.078 GB, free: 77.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.037e-05/1.15, allocations: 10.59 kB / 1.078 GB, free: 77.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.977e-05/1.15, allocations: 12.12 kB / 1.078 GB, free: 77.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006091/1.156, allocations: 1.193 MB / 1.079 GB, free: 77.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002012/1.158, allocations: 255.4 kB / 1.079 GB, free: 77.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02971/1.188, allocations: 13.18 MB / 1.092 GB, free: 69.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/1.19, allocations: 94.12 kB / 1.092 GB, free: 69.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000246/1.19, allocations: 67.16 kB / 1.092 GB, free: 69.53 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003155/1.193, allocations: 1.111 MB / 1.093 GB, free: 69.01 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005737/1.194, allocations: 158.9 kB / 1.093 GB, free: 68.93 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01001/1.204, allocations: 3.163 MB / 1.096 GB, free: 67.65 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/1.204, allocations: 15.69 kB / 1.096 GB, free: 67.65 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.836e-05/1.204, allocations: 11.91 kB / 1.096 GB, free: 67.65 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.531e-05/1.204, allocations: 6.984 kB / 1.096 GB, free: 67.65 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01801/1.222, allocations: 6.241 MB / 1.102 GB, free: 65.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.453e-05/1.222, allocations: 5 kB / 1.102 GB, free: 65.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/1.223, allocations: 147.2 kB / 1.103 GB, free: 65.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00541/1.229, allocations: 1.066 MB / 1.104 GB, free: 64.77 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002727/1.229, allocations: 29.75 kB / 1.104 GB, free: 64.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02635/1.255, allocations: 12.91 MB / 1.116 GB, free: 56 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.918e-06/1.255, allocations: 5.656 kB / 1.116 GB, free: 56 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009027/1.264, allocations: 3.397 MB / 1.12 GB, free: 53.73 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/1.266, allocations: 434.7 kB / 1.12 GB, free: 53.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004454/1.266, allocations: 26.5 kB / 1.12 GB, free: 53.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/1.268, allocations: 88.86 kB / 1.12 GB, free: 53.35 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005614/1.269, allocations: 123.3 kB / 1.12 GB, free: 53.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/1.269, allocations: 41.2 kB / 1.12 GB, free: 53.27 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001631/1.27, allocations: 0.7528 MB / 1.121 GB, free: 52.84 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.41e-07/1.27, allocations: 0 / 1.121 GB, free: 52.84 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003645/1.274, allocations: 0.6573 MB / 1.122 GB, free: 52.79 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004543/1.275, allocations: 146.4 kB / 1.122 GB, free: 52.66 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009561/1.284, allocations: 3.124 MB / 1.125 GB, free: 50.83 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/1.284, allocations: 0 / 1.125 GB, free: 50.83 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004771/1.289, allocations: 1.966 MB / 1.127 GB, free: 49.58 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003265/1.292, allocations: 441.5 kB / 1.127 GB, free: 49.38 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/1.306, allocations: 6.447 MB / 1.133 GB, free: 44.43 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003718/1.31, allocations: 2.387 MB / 1.136 GB, free: 42.01 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00187/1.312, allocations: 354.1 kB / 1.136 GB, free: 41.66 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003707/1.312, allocations: 95.42 kB / 1.136 GB, free: 41.56 MB / 0.6823 GB Notification: Performance of SimCode: time 1.223e-06/1.312, allocations: 3.938 kB / 1.136 GB, free: 41.56 MB / 0.6823 GB Notification: Performance of Templates: time 0.07603/1.388, allocations: 30.18 MB / 1.166 GB, free: 11.78 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)