Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009391/0.009391, allocations: 111.6 kB / 15.06 MB, free: 5.949 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001154/0.001154, allocations: 181.3 kB / 15.94 MB, free: 5.902 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.838/1.838, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.334/2.334, allocations: 236.2 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004714/0.0004716, allocations: 12 kB / 0.587 GB, free: 2.137 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5855/0.586, allocations: 98.69 MB / 0.6833 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2262/0.8123, allocations: 158.1 MB / 0.8377 GB, free: 136 kB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/0.8126, allocations: 99.92 kB / 0.8378 GB, free: 36 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.256/2.068, allocations: 202.2 MB / 1.035 GB, free: 111.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.898e-06/2.068, allocations: 0 / 1.035 GB, free: 111.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003868/2.069, allocations: 144 kB / 1.035 GB, free: 111.3 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01677/2.085, allocations: 5.242 MB / 1.041 GB, free: 106 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/2.086, allocations: 8.031 kB / 1.041 GB, free: 106 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008798/2.094, allocations: 1.14 MB / 1.042 GB, free: 104.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009885/2.104, allocations: 3.7 MB / 1.045 GB, free: 101.1 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004432/2.105, allocations: 427.6 kB / 1.046 GB, free: 100.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002268/2.107, allocations: 0.5468 MB / 1.046 GB, free: 100.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02473/2.132, allocations: 8.815 MB / 1.055 GB, free: 90.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000269/2.132, allocations: 19.78 kB / 1.055 GB, free: 90.88 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002232/2.134, allocations: 267.9 kB / 1.055 GB, free: 90.62 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003565/2.135, allocations: 299 kB / 1.055 GB, free: 90.32 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01661/2.151, allocations: 6.437 MB / 1.062 GB, free: 83.88 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04814/2.2, allocations: 41.46 MB / 1.102 GB, free: 38.68 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005366/2.205, allocations: 3.104 MB / 1.105 GB, free: 35.56 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001605/2.205, allocations: 22 kB / 1.105 GB, free: 35.54 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/2.205, allocations: 56.56 kB / 1.105 GB, free: 35.48 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=209): time 6.364e-06/2.205, allocations: 4 kB / 1.105 GB, free: 35.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=212): time 0.02796/2.233, allocations: 10.47 MB / 1.115 GB, free: 24.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/2.233, allocations: 77.41 kB / 1.116 GB, free: 24.82 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002812/2.236, allocations: 1.669 MB / 1.117 GB, free: 23.14 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003625/2.236, allocations: 65.7 kB / 1.117 GB, free: 23.07 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001317/2.238, allocations: 2.373 MB / 1.12 GB, free: 20.66 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007586/2.239, allocations: 0.724 MB / 1.12 GB, free: 19.93 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/2.239, allocations: 52 kB / 1.12 GB, free: 19.88 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001615/2.239, allocations: 411.1 kB / 1.121 GB, free: 19.47 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002313/2.241, allocations: 1.328 MB / 1.122 GB, free: 18.14 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002784/2.244, allocations: 2.097 MB / 1.124 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003019/2.247, allocations: 1.685 MB / 1.126 GB, free: 14 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.777e-05/2.247, allocations: 8 kB / 1.126 GB, free: 14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.009882/2.257, allocations: 4.972 MB / 1.131 GB, free: 9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.884e-05/2.257, allocations: 21.5 kB / 1.131 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.504e-05/2.257, allocations: 31.98 kB / 1.131 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004238/2.261, allocations: 1.532 MB / 1.132 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/2.264, allocations: 443.2 kB / 1.133 GB, free: 6.977 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02938/2.293, allocations: 17.68 MB / 1.15 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002775/2.296, allocations: 147.9 kB / 1.15 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004937/2.296, allocations: 112 kB / 1.15 GB, free: 4.523 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * 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 (219): * Single equations (assignments): 215 * 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 {(6,72.2%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005023/2.301, allocations: 1.941 MB / 1.152 GB, free: 2.57 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008534/2.302, allocations: 284.7 kB / 1.152 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/2.313, allocations: 4.439 MB / 1.157 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.129e-05/2.313, allocations: 28 kB / 1.157 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.304e-05/2.313, allocations: 16 kB / 1.157 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.846e-05/2.313, allocations: 7.969 kB / 1.157 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02442/2.337, allocations: 9.645 MB / 1.166 GB, free: 3.977 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.872e-05/2.337, allocations: 4.062 kB / 1.166 GB, free: 3.973 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/2.339, allocations: 239.6 kB / 1.166 GB, free: 3.738 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004692/2.344, allocations: 1.401 MB / 1.168 GB, free: 2.332 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003695/2.344, allocations: 36 kB / 1.168 GB, free: 2.297 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05142/2.395, allocations: 17.71 MB / 1.185 GB, free: 48 kB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.741e-05/2.396, allocations: 8 kB / 1.185 GB, free: 40 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02049/2.416, allocations: 4.872 MB / 1.19 GB, free: 10.97 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003929/2.42, allocations: 0.6264 MB / 1.19 GB, free: 10.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001238/2.421, allocations: 47.94 kB / 1.19 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003768/2.425, allocations: 111.9 kB / 1.19 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001082/2.426, allocations: 181.6 kB / 1.191 GB, free: 9.984 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004507/2.427, allocations: 64 kB / 1.191 GB, free: 9.922 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.005148/2.432, allocations: 1.26 MB / 1.192 GB, free: 8.652 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.426e-06/2.432, allocations: 0 / 1.192 GB, free: 8.652 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.009827/2.442, allocations: 1.172 MB / 1.193 GB, free: 7.48 MB / 0.7917 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 (107): * Single equations (assignments): 103 * 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 {(4,100.0%) 18,(6,66.7%) 24,(6,66.7%) 32,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001084/2.443, allocations: 171 kB / 1.193 GB, free: 7.301 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01106/2.454, allocations: 4.611 MB / 1.198 GB, free: 2.645 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/2.454, allocations: 4 kB / 1.198 GB, free: 2.641 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.006816/2.461, allocations: 2.923 MB / 1.201 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004586/2.465, allocations: 0.7625 MB / 1.201 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02436/2.49, allocations: 11.17 MB / 1.212 GB, free: 3.652 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4938/2.984, allocations: 3.783 MB / 1.216 GB, free: 193.5 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.003252/2.987, allocations: 0.5438 MB / 1.216 GB, free: 193.5 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006852/2.988, allocations: 151.9 kB / 1.217 GB, free: 193.5 MB / 0.8073 GB Notification: Performance of SimCode: time 1.725e-06/2.988, allocations: 1.094 kB / 1.217 GB, free: 193.5 MB / 0.8073 GB Notification: Performance of Templates: time 0.1232/3.111, allocations: 47.56 MB / 1.263 GB, free: 192 MB / 0.8073 GB