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.ACLineMedium.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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.694/1.694, allocations: 288.3 MB / 303.2 MB, free: 8.184 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.001199/0.001199, allocations: 189.1 kB / 371.8 MB, free: 10.3 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.752/1.752, allocations: 205.4 MB / 0.6306 GB, free: 10.05 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.001063/0.001063, allocations: 98.84 kB / 0.7439 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004718/0.000472, allocations: 11.78 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2879, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01263/0.3006, allocations: 12.47 MB / 0.9916 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01216/0.3128, allocations: 9.442 MB / 1.001 GB, free: 5.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001431/0.3143, allocations: 47.62 kB / 1.001 GB, free: 5.684 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007712/0.3151, allocations: 266.2 kB / 1.001 GB, free: 5.422 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004546/0.3196, allocations: 1.458 MB / 1.003 GB, free: 3.965 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.3212, allocations: 0.5131 MB / 1.003 GB, free: 3.453 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002487/0.3237, allocations: 1.762 MB / 1.005 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002526/0.3262, allocations: 1.803 MB / 1.007 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001787/0.328, allocations: 1.196 MB / 1.008 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.3292, allocations: 0.8561 MB / 1.009 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.3294, allocations: 72 kB / 1.009 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009644/0.3304, allocations: 383.4 kB / 1.009 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000394/0.3308, allocations: 466.6 kB / 1.009 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003313/0.3311, allocations: 352.8 kB / 1.01 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.3331, allocations: 2.081 MB / 1.012 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3332, allocations: 0 / 1.012 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3332, allocations: 0 / 1.012 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.178e-05/0.3332, allocations: 0 / 1.012 GB, free: 10.45 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003454/0.3367, allocations: 1.843 MB / 1.014 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.3367, allocations: 12.02 kB / 1.014 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01129/0.348, allocations: 2.186 MB / 1.016 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003405/0.3515, allocations: 1.17 MB / 1.017 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.765e-05/0.3516, allocations: 86.31 kB / 1.017 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000317/0.3519, allocations: 112 kB / 1.017 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006013/0.3579, allocations: 2.682 MB / 1.02 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.432e-05/0.358, allocations: 4 kB / 1.02 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/0.3582, allocations: 47.98 kB / 1.02 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006675/0.3589, allocations: 198.1 kB / 1.02 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007615/0.3665, allocations: 2.834 MB / 1.023 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01614/0.3826, allocations: 10.57 MB / 1.033 GB, free: 3.844 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00659/0.3893, allocations: 2.387 MB / 1.035 GB, free: 1.43 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.915e-05/0.3894, allocations: 12.94 kB / 1.035 GB, free: 1.418 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.3895, allocations: 43.56 kB / 1.035 GB, free: 1.367 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 3.457e-06/0.3895, allocations: 0 / 1.035 GB, free: 1.367 MB / 0.6511 GB Notification: Performance of matching and sorting (n=153): time 0.05828/0.4478, allocations: 16.5 MB / 1.052 GB, free: 0.7109 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.4479, allocations: 68.72 kB / 1.052 GB, free: 0.6328 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/0.4495, allocations: 1.156 MB / 1.053 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002119/0.4498, allocations: 53.7 kB / 1.053 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005763/0.4504, allocations: 0.7436 MB / 1.053 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006184/0.451, allocations: 0.516 MB / 1.054 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.4511, allocations: 28 kB / 1.054 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002192/0.4513, allocations: 365.9 kB / 1.054 GB, free: 13.74 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003635/0.455, allocations: 1.522 MB / 1.056 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003757/0.4588, allocations: 1.795 MB / 1.058 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003823/0.4626, allocations: 1.638 MB / 1.059 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.4626, allocations: 0 / 1.059 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01333/0.476, allocations: 5.3 MB / 1.064 GB, free: 3.348 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.476, allocations: 9.094 kB / 1.064 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.4761, allocations: 8 kB / 1.064 GB, free: 3.332 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006732/0.4828, allocations: 1.888 MB / 1.066 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00206/0.4849, allocations: 427.3 kB / 1.067 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5926/1.078, allocations: 22.84 MB / 1.089 GB, free: 70.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003034/1.081, allocations: 317.4 kB / 1.089 GB, free: 70.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002522/1.081, allocations: 66.72 kB / 1.089 GB, free: 70.77 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00109/1.082, allocations: 467.2 kB / 1.09 GB, free: 70.48 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003827/1.082, allocations: 174 kB / 1.09 GB, free: 70.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01492/1.097, allocations: 5.346 MB / 1.095 GB, free: 68.66 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.582e-05/1.097, allocations: 16.81 kB / 1.095 GB, free: 68.66 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.998e-05/1.097, allocations: 23.89 kB / 1.095 GB, free: 68.66 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-05/1.097, allocations: 7.406 kB / 1.095 GB, free: 68.66 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01765/1.115, allocations: 7.448 MB / 1.102 GB, free: 66.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/1.115, allocations: 2.219 kB / 1.102 GB, free: 66.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001711/1.117, allocations: 367.7 kB / 1.103 GB, free: 66.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005903/1.123, allocations: 1.699 MB / 1.104 GB, free: 65.61 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001954/1.123, allocations: 40.83 kB / 1.105 GB, free: 65.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02918/1.152, allocations: 22.06 MB / 1.126 GB, free: 48.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.152, allocations: 3.156 kB / 1.126 GB, free: 48.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01963/1.172, allocations: 5.065 MB / 1.131 GB, free: 45.47 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002078/1.174, allocations: 493.6 kB / 1.131 GB, free: 45.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000567/1.175, allocations: 29.62 kB / 1.132 GB, free: 45.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004194/1.179, allocations: 330.8 kB / 1.132 GB, free: 44.93 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008181/1.18, allocations: 150.4 kB / 1.132 GB, free: 44.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002404/1.18, allocations: 55.03 kB / 1.132 GB, free: 44.82 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001908/1.182, allocations: 0.7776 MB / 1.133 GB, free: 44.39 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.6e-07/1.182, allocations: 0 / 1.133 GB, free: 44.39 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004147/1.186, allocations: 0.6555 MB / 1.133 GB, free: 44.32 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003954/1.186, allocations: 148.2 kB / 1.134 GB, free: 44.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01928/1.206, allocations: 5.187 MB / 1.139 GB, free: 41.04 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/1.206, allocations: 0 / 1.139 GB, free: 41.04 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01198/1.218, allocations: 3.375 MB / 1.142 GB, free: 38.32 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004106/1.222, allocations: 0.5014 MB / 1.142 GB, free: 37.83 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/1.232, allocations: 4.864 MB / 1.147 GB, free: 32.93 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001255/1.234, allocations: 1.603 MB / 1.149 GB, free: 31.29 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001708/1.235, allocations: 382.4 kB / 1.149 GB, free: 30.91 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003978/1.236, allocations: 107.4 kB / 1.149 GB, free: 30.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.794e-06/1.236, allocations: 0 / 1.149 GB, free: 30.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.08458/1.32, allocations: 41.42 MB / 1.19 GB, free: 5.785 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)