Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.825/1.825, allocations: 287.5 MB / 302.6 MB, free: 8.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.0009307/0.0009307, allocations: 181.2 kB / 371.2 MB, free: 10.84 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.544/1.544, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0009019/0.0009016, allocations: 105.4 kB / 0.7432 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004863/0.0004864, allocations: 12.73 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2757, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01329/0.2891, allocations: 13.22 MB / 0.9916 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01289/0.302, allocations: 9.69 MB / 1.001 GB, free: 5.203 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/0.304, allocations: 51.62 kB / 1.001 GB, free: 5.152 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001704/0.3058, allocations: 281.8 kB / 1.001 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006691/0.3125, allocations: 1.47 MB / 1.003 GB, free: 3.406 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002586/0.3151, allocations: 0.5119 MB / 1.003 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005382/0.3205, allocations: 2.922 MB / 1.006 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003825/0.3244, allocations: 1.944 MB / 1.008 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002557/0.3269, allocations: 1.301 MB / 1.009 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.3285, allocations: 1.039 MB / 1.01 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.3287, allocations: 68 kB / 1.01 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.3299, allocations: 431.5 kB / 1.011 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005546/0.3305, allocations: 0.4984 MB / 1.011 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004537/0.331, allocations: 356.7 kB / 1.012 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002221/0.3332, allocations: 2.112 MB / 1.014 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.657e-06/0.3332, allocations: 4 kB / 1.014 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3332, allocations: 0 / 1.014 GB, free: 8.156 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.903e-05/0.3333, allocations: 0 / 1.014 GB, free: 8.156 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.003381/0.3367, allocations: 1.839 MB / 1.016 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.3367, allocations: 8.031 kB / 1.016 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/0.3479, allocations: 2.183 MB / 1.018 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002884/0.3508, allocations: 1.202 MB / 1.019 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.144e-05/0.3509, allocations: 86.67 kB / 1.019 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002553/0.3511, allocations: 128.1 kB / 1.019 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005827/0.357, allocations: 2.694 MB / 1.022 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.324e-05/0.357, allocations: 11.92 kB / 1.022 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/0.3572, allocations: 47.98 kB / 1.022 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006555/0.3579, allocations: 198.1 kB / 1.022 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007289/0.3652, allocations: 2.834 MB / 1.025 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01517/0.3803, allocations: 10.56 MB / 1.035 GB, free: 1.516 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006508/0.3869, allocations: 2.379 MB / 1.037 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003056/0.39, allocations: 1.296 MB / 1.039 GB, free: 13.81 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.737e-05/0.3901, allocations: 13 kB / 1.039 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.3901, allocations: 43.56 kB / 1.039 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=89): time 3.256e-06/0.3901, allocations: 0 / 1.039 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of matching and sorting (n=153): time 0.05821/0.4483, allocations: 16.52 MB / 1.055 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/0.4485, allocations: 68.72 kB / 1.055 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001826/0.4503, allocations: 1.156 MB / 1.056 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001753/0.4505, allocations: 49.7 kB / 1.056 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006297/0.4511, allocations: 0.7435 MB / 1.057 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000542/0.4517, allocations: 0.516 MB / 1.057 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.4518, allocations: 28 kB / 1.057 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002104/0.452, allocations: 373.8 kB / 1.058 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003562/0.4556, allocations: 1.518 MB / 1.059 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003774/0.4594, allocations: 1.799 MB / 1.061 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007277/0.4667, allocations: 3.393 MB / 1.064 GB, free: 3.188 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.832e-06/0.4667, allocations: 4 kB / 1.064 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.6044/1.071, allocations: 5.299 MB / 1.069 GB, free: 85.26 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.217e-05/1.071, allocations: 10.23 kB / 1.069 GB, free: 85.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/1.071, allocations: 6.812 kB / 1.069 GB, free: 85.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007814/1.079, allocations: 1.891 MB / 1.071 GB, free: 84.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/1.081, allocations: 427.4 kB / 1.072 GB, free: 84.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03166/1.113, allocations: 22.13 MB / 1.093 GB, free: 69.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003141/1.116, allocations: 316.1 kB / 1.094 GB, free: 69.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002418/1.117, allocations: 70.73 kB / 1.094 GB, free: 69.58 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.001294/1.118, allocations: 465.1 kB / 1.094 GB, free: 69.29 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004043/1.118, allocations: 174.5 kB / 1.094 GB, free: 69.25 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01516/1.133, allocations: 5.354 MB / 1.099 GB, free: 67.44 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/1.134, allocations: 16.45 kB / 1.099 GB, free: 67.44 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.78e-05/1.134, allocations: 22.28 kB / 1.099 GB, free: 67.43 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.167e-05/1.134, allocations: 8.719 kB / 1.1 GB, free: 67.43 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/1.149, allocations: 7.456 MB / 1.107 GB, free: 64.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/1.149, allocations: 3.875 kB / 1.107 GB, free: 64.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001682/1.151, allocations: 366.9 kB / 1.107 GB, free: 64.76 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006048/1.157, allocations: 1.699 MB / 1.109 GB, free: 63.91 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000206/1.157, allocations: 46.41 kB / 1.109 GB, free: 63.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02532/1.183, allocations: 21.34 MB / 1.13 GB, free: 46.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/1.183, allocations: 7.344 kB / 1.13 GB, free: 46.69 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/1.195, allocations: 4.921 MB / 1.135 GB, free: 43.89 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/1.196, allocations: 495.8 kB / 1.135 GB, free: 43.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/1.197, allocations: 27.94 kB / 1.135 GB, free: 43.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001935/1.199, allocations: 331.7 kB / 1.135 GB, free: 43.35 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005505/1.199, allocations: 153.7 kB / 1.135 GB, free: 43.26 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/1.199, allocations: 59.83 kB / 1.136 GB, free: 43.24 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001026/1.2, allocations: 0.7747 MB / 1.136 GB, free: 42.81 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/1.2, allocations: 0 / 1.136 GB, free: 42.81 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002453/1.203, allocations: 0.6596 MB / 1.137 GB, free: 42.74 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.0002915/1.203, allocations: 140.7 kB / 1.137 GB, free: 42.62 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01022/1.213, allocations: 5.184 MB / 1.142 GB, free: 38.84 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/1.213, allocations: 3.938 kB / 1.142 GB, free: 38.84 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.006201/1.22, allocations: 3.378 MB / 1.145 GB, free: 35.37 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00314/1.223, allocations: 0.5121 MB / 1.146 GB, free: 34.86 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007668/1.231, allocations: 4.852 MB / 1.151 GB, free: 29.96 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/1.232, allocations: 1.571 MB / 1.152 GB, free: 28.36 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001676/1.233, allocations: 390.4 kB / 1.153 GB, free: 27.97 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003322/1.234, allocations: 103.4 kB / 1.153 GB, free: 27.87 MB / 0.6823 GB Notification: Performance of SimCode: time 9.92e-07/1.234, allocations: 0 / 1.153 GB, free: 27.87 MB / 0.6823 GB Notification: Performance of Templates: time 0.06143/1.295, allocations: 41.44 MB / 1.193 GB, free: 2.797 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)