Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.655/1.655, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001266/0.001266, allocations: 172.9 kB / 361.4 MB, free: 6.859 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.779/1.779, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008572/0.0008572, allocations: 97.48 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.287e-05/2.302e-05, allocations: 4 kB / 0.8517 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7586/0.7587, allocations: 115.3 MB / 0.9644 GB, free: 78.94 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2288/0.9876, allocations: 163.7 MB / 1.124 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.9879, allocations: 95.5 kB / 1.124 GB, free: 8.043 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.08828/1.076, allocations: 37.11 MB / 1.161 GB, free: 2.73 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.513e-06/1.076, allocations: 0 / 1.161 GB, free: 2.73 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.352e-05/1.076, allocations: 27.98 kB / 1.161 GB, free: 2.703 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002038/1.078, allocations: 0.8683 MB / 1.161 GB, free: 1.789 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/1.078, allocations: 12.03 kB / 1.161 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/1.08, allocations: 219.8 kB / 1.162 GB, free: 1.562 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/1.081, allocations: 0.5426 MB / 1.162 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/1.081, allocations: 20 kB / 1.162 GB, free: 0.957 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/1.081, allocations: 36 kB / 1.162 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009718/1.082, allocations: 0.5498 MB / 1.163 GB, free: 380 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/1.084, allocations: 0.9942 MB / 1.164 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.614e-05/1.084, allocations: 3.938 kB / 1.164 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.422e-05/1.084, allocations: 11.98 kB / 1.164 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.433e-05/1.084, allocations: 57.22 kB / 1.164 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005101/1.089, allocations: 5.629 MB / 1.169 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007664/1.09, allocations: 0.5748 MB / 1.17 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006271/1.091, allocations: 388.6 kB / 1.17 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/1.091, allocations: 4 kB / 1.17 GB, free: 8.105 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/1.091, allocations: 42.55 kB / 1.17 GB, free: 8.055 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=41): time 2.325e-06/1.091, allocations: 0 / 1.17 GB, free: 8.055 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42): time 0.00218/1.093, allocations: 1.154 MB / 1.171 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/1.093, allocations: 55.41 kB / 1.171 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/1.093, allocations: 329.2 kB / 1.172 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/1.093, allocations: 29.7 kB / 1.172 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/1.094, allocations: 383 kB / 1.172 GB, free: 6.07 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/1.094, allocations: 149.8 kB / 1.172 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/1.094, allocations: 0 / 1.172 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001806/1.094, allocations: 362.7 kB / 1.173 GB, free: 5.559 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/1.094, allocations: 221 kB / 1.173 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/1.095, allocations: 400.5 kB / 1.173 GB, free: 4.867 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004176/1.095, allocations: 304.3 kB / 1.174 GB, free: 4.57 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.095, allocations: 0 / 1.174 GB, free: 4.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001648/1.097, allocations: 0.9331 MB / 1.174 GB, free: 3.617 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/1.097, allocations: 8 kB / 1.174 GB, free: 3.609 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/1.097, allocations: 5.688 kB / 1.174 GB, free: 3.605 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000946/1.098, allocations: 315.7 kB / 1.175 GB, free: 3.285 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/1.098, allocations: 83.89 kB / 1.175 GB, free: 3.203 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006545/1.105, allocations: 6.839 MB / 1.181 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004169/1.105, allocations: 16.08 kB / 1.182 GB, free: 11.88 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/1.105, allocations: 24 kB / 1.182 GB, free: 11.85 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 45 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001519/1.106, allocations: 120.8 kB / 1.182 GB, free: 11.73 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-05/1.106, allocations: 63.28 kB / 1.182 GB, free: 11.66 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/1.107, allocations: 0.8375 MB / 1.183 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/1.107, allocations: 7.953 kB / 1.183 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.107, allocations: 4 kB / 1.183 GB, free: 10.79 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/1.107, allocations: 3.984 kB / 1.183 GB, free: 10.79 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002809/1.11, allocations: 1.72 MB / 1.184 GB, free: 8.969 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.11, allocations: 4 kB / 1.184 GB, free: 8.965 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00017/1.11, allocations: 43.91 kB / 1.184 GB, free: 8.922 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008112/1.111, allocations: 273.8 kB / 1.185 GB, free: 8.645 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.259e-05/1.111, allocations: 4 kB / 1.185 GB, free: 8.641 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0062/1.117, allocations: 6.555 MB / 1.191 GB, free: 1.613 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.117, allocations: 0 / 1.191 GB, free: 1.613 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/1.119, allocations: 0.9706 MB / 1.192 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002808/1.119, allocations: 168.5 kB / 1.192 GB, free: 380 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.26e-05/1.119, allocations: 5.031 kB / 1.192 GB, free: 376 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002554/1.12, allocations: 19.91 kB / 1.192 GB, free: 356 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.623e-05/1.12, allocations: 31.95 kB / 1.192 GB, free: 324 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/1.12, allocations: 12 kB / 1.192 GB, free: 312 kB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002851/1.12, allocations: 259 kB / 1.192 GB, free: 56 kB / 0.7917 GB Notification: Performance of sort global known variables: time 2.3e-07/1.12, allocations: 0 / 1.192 GB, free: 56 kB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0008848/1.121, allocations: 176 kB / 1.193 GB, free: 15.88 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001827/1.121, allocations: 105.2 kB / 1.193 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001602/1.123, allocations: 1.09 MB / 1.194 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.123, allocations: 0 / 1.194 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/1.124, allocations: 0.78 MB / 1.194 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008003/1.125, allocations: 162.7 kB / 1.195 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/1.126, allocations: 0.8855 MB / 1.195 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006208/1.127, allocations: 1.008 MB / 1.196 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002949/1.127, allocations: 98.64 kB / 1.197 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.655e-05/1.127, allocations: 31.44 kB / 1.197 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of SimCode: time 6.02e-07/1.127, allocations: 0 / 1.197 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of Templates: time 0.01433/1.142, allocations: 8.123 MB / 1.205 GB, free: 3.586 MB / 0.8073 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)