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_RLC.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_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00936/0.009366, allocations: 106.7 kB / 15.06 MB, free: 5.562 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.001125/0.001124, allocations: 181.7 kB / 15.95 MB, free: 5.527 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.927/1.927, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.284/2.284, allocations: 236.2 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007595/0.0007598, allocations: 12 kB / 0.5869 GB, free: 2.105 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6192/0.62, allocations: 98.7 MB / 0.6833 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04274/0.6628, allocations: 32.65 MB / 0.7152 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.02661/0.6894, allocations: 12.54 MB / 0.7275 GB, free: 384 kB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004553/0.694, allocations: 138.2 kB / 0.7276 GB, free: 324 kB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.003203/0.6973, allocations: 0.7409 MB / 0.7283 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.008116/0.7054, allocations: 1.882 MB / 0.7302 GB, free: 14.01 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.006715/0.7122, allocations: 1.651 MB / 0.7318 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01036/0.7226, allocations: 4.813 MB / 0.7365 GB, free: 7.879 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02491/0.7475, allocations: 11.43 MB / 0.7476 GB, free: 12.35 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005954/0.7535, allocations: 2.612 MB / 0.7502 GB, free: 9.727 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005742/0.7593, allocations: 2.674 MB / 0.7528 GB, free: 7.043 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.001724/0.7611, allocations: 320 kB / 0.7531 GB, free: 6.73 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003372/0.7645, allocations: 0.6556 MB / 0.7537 GB, free: 6.074 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.003838/0.7684, allocations: 2.237 MB / 0.7559 GB, free: 3.832 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002609/0.771, allocations: 1.167 MB / 0.7571 GB, free: 2.656 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0141/0.7851, allocations: 9.581 MB / 0.7664 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.08e-06/0.7852, allocations: 0 / 0.7664 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.521e-06/0.7852, allocations: 4 kB / 0.7664 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002734/0.7855, allocations: 0 / 0.7664 GB, free: 9.047 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01453/0.8, allocations: 5.154 MB / 0.7715 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.8001, allocations: 12.03 kB / 0.7715 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01013/0.8102, allocations: 1.281 MB / 0.7727 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009043/0.8193, allocations: 3.471 MB / 0.7761 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004728/0.8198, allocations: 386.1 kB / 0.7765 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001679/0.8215, allocations: 0.5037 MB / 0.777 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02264/0.8442, allocations: 8.796 MB / 0.7856 GB, free: 4.941 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002412/0.8445, allocations: 23.78 kB / 0.7856 GB, free: 4.918 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001372/0.8459, allocations: 223.9 kB / 0.7858 GB, free: 4.699 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002638/0.8485, allocations: 0.6265 MB / 0.7864 GB, free: 4.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01866/0.8672, allocations: 6.987 MB / 0.7932 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06529/0.9326, allocations: 40.38 MB / 0.8327 GB, free: 1.453 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005856/0.9385, allocations: 2.89 MB / 0.8355 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003588/0.9389, allocations: 34.05 kB / 0.8355 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.115e-05/0.9389, allocations: 60.66 kB / 0.8356 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=265): time 7.129e-06/0.939, allocations: 0 / 0.8356 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of matching and sorting (n=424): time 0.455/1.394, allocations: 77.41 MB / 0.9112 GB, free: 356 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.957e-05/1.394, allocations: 94.73 kB / 0.9113 GB, free: 248 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4629/1.857, allocations: 2.329 MB / 0.9135 GB, free: 197.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0007099/1.858, allocations: 97.78 kB / 0.9136 GB, free: 197.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001754/1.86, allocations: 2.334 MB / 0.9159 GB, free: 196.6 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001835/1.861, allocations: 1.438 MB / 0.9173 GB, free: 195.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004356/1.862, allocations: 91.16 kB / 0.9174 GB, free: 195.4 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000306/1.862, allocations: 484.3 kB / 0.9179 GB, free: 195.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006888/1.869, allocations: 2.981 MB / 0.9208 GB, free: 193.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008198/1.877, allocations: 3.812 MB / 0.9245 GB, free: 191.6 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007821/1.885, allocations: 3.547 MB / 0.928 GB, free: 189.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.581e-05/1.885, allocations: 7 kB / 0.928 GB, free: 189.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.05589/1.941, allocations: 12.5 MB / 0.9402 GB, free: 185 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.333e-05/1.941, allocations: 18.94 kB / 0.9402 GB, free: 185 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.994e-05/1.941, allocations: 21.69 kB / 0.9402 GB, free: 185 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05575/1.997, allocations: 6.015 MB / 0.9461 GB, free: 183.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002788/2, allocations: 497.7 kB / 0.9466 GB, free: 183.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1102/2.11, allocations: 69.31 MB / 1.014 GB, free: 119.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004271/2.115, allocations: 211.8 kB / 1.014 GB, free: 119.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009113/2.116, allocations: 160 kB / 1.015 GB, free: 119.3 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004481/2.12, allocations: 1.989 MB / 1.017 GB, free: 117.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00102/2.121, allocations: 387.4 kB / 1.017 GB, free: 116.9 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04016/2.161, allocations: 12.19 MB / 1.029 GB, free: 104.6 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.972e-05/2.161, allocations: 43.95 kB / 1.029 GB, free: 104.6 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000144/2.161, allocations: 48 kB / 1.029 GB, free: 104.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.511e-05/2.162, allocations: 19.92 kB / 1.029 GB, free: 104.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05148/2.213, allocations: 19.12 MB / 1.048 GB, free: 85.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.782e-05/2.213, allocations: 8 kB / 1.048 GB, free: 85.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00186/2.215, allocations: 287.5 kB / 1.048 GB, free: 84.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.026/2.241, allocations: 5.563 MB / 1.053 GB, free: 79.29 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000764/2.242, allocations: 80 kB / 1.053 GB, free: 79.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09474/2.337, allocations: 66.9 MB / 1.119 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.596e-06/2.337, allocations: 16 kB / 1.119 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04043/2.377, allocations: 16.21 MB / 1.135 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003499/2.381, allocations: 1.051 MB / 1.136 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001168/2.382, allocations: 79.98 kB / 1.136 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003713/2.386, allocations: 215.7 kB / 1.136 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001946/2.388, allocations: 410.2 kB / 1.136 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005976/2.388, allocations: 108 kB / 1.136 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003392/2.392, allocations: 1.529 MB / 1.138 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.32e-06/2.392, allocations: 0 / 1.138 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0085/2.4, allocations: 1.848 MB / 1.14 GB, free: 3.23 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001054/2.401, allocations: 218.7 kB / 1.14 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.02977/2.431, allocations: 12.18 MB / 1.152 GB, free: 6.516 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/2.431, allocations: 3.938 kB / 1.152 GB, free: 6.512 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.021/2.452, allocations: 8.375 MB / 1.16 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006078/2.458, allocations: 1.036 MB / 1.161 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03038/2.489, allocations: 14.25 MB / 1.175 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008449/2.497, allocations: 4.191 MB / 1.179 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.003615/2.501, allocations: 0.6708 MB / 1.18 GB, free: 9.574 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008075/2.502, allocations: 179.4 kB / 1.18 GB, free: 9.398 MB / 0.7917 GB Notification: Performance of SimCode: time 1.722e-06/2.502, allocations: 0 / 1.18 GB, free: 9.398 MB / 0.7917 GB Notification: Performance of Templates: time 0.7028/3.204, allocations: 102.5 MB / 1.28 GB, free: 234.9 MB / 0.823 GB