Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadModel(Buildings): time 3.973/3.973, allocations: 433.4 MB / 440.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.899e-05/3.922e-05, allocations: 4 kB / 0.5325 GB, free: 1.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5057/0.5058, allocations: 98.69 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.25/0.7557, allocations: 171.8 MB / 0.7967 GB, free: 3.637 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/0.7561, allocations: 95.94 kB / 0.7968 GB, free: 3.543 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.984/2.74, allocations: 317.8 MB / 1.107 GB, free: 128.6 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.232e-06/2.74, allocations: 5.219 kB / 1.107 GB, free: 128.6 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0006509/2.741, allocations: 173.5 kB / 1.107 GB, free: 128.6 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02275/2.764, allocations: 5.505 MB / 1.113 GB, free: 126.5 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/2.764, allocations: 13.77 kB / 1.113 GB, free: 126.5 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01735/2.781, allocations: 1.759 MB / 1.114 GB, free: 126.2 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01715/2.798, allocations: 5.036 MB / 1.119 GB, free: 125.3 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003968/2.799, allocations: 192.2 kB / 1.12 GB, free: 125.3 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003159/2.802, allocations: 358.8 kB / 1.12 GB, free: 125.2 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01879/2.821, allocations: 6.834 MB / 1.127 GB, free: 125.2 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02776/2.849, allocations: 8.973 MB / 1.135 GB, free: 123.9 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003633/2.849, allocations: 35.47 kB / 1.135 GB, free: 123.9 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002595/2.852, allocations: 18.73 kB / 1.135 GB, free: 123.9 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005034/2.852, allocations: 380 kB / 1.136 GB, free: 123.8 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06574/2.918, allocations: 45.11 MB / 1.18 GB, free: 97.34 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00684/2.925, allocations: 4.045 MB / 1.184 GB, free: 97.3 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006366/2.931, allocations: 3.456 MB / 1.187 GB, free: 97.25 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003887/2.932, allocations: 38.62 kB / 1.187 GB, free: 97.25 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.171e-05/2.932, allocations: 70.44 kB / 1.187 GB, free: 97.2 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=353): time 8.074e-06/2.932, allocations: 0 / 1.187 GB, free: 97.2 MB / 0.7917 GB Notification: Performance of matching and sorting (n=578): time 0.125/3.057, allocations: 37.29 MB / 1.224 GB, free: 93.52 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/3.057, allocations: 109.8 kB / 1.224 GB, free: 93.45 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003279/3.06, allocations: 1.828 MB / 1.226 GB, free: 92.71 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.001021/3.061, allocations: 25.7 kB / 1.226 GB, free: 92.68 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001598/3.063, allocations: 2.709 MB / 1.228 GB, free: 90.62 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.00235/3.065, allocations: 1.877 MB / 1.23 GB, free: 89.12 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005928/3.066, allocations: 0 / 1.23 GB, free: 89.12 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003606/3.066, allocations: 0.5272 MB / 1.231 GB, free: 88.73 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007113/3.073, allocations: 3.614 MB / 1.234 GB, free: 87.18 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008278/3.082, allocations: 4.701 MB / 1.239 GB, free: 84.37 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008334/3.09, allocations: 4.403 MB / 1.243 GB, free: 82.5 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.956e-05/3.09, allocations: 18.52 kB / 1.243 GB, free: 82.5 MB / 0.7917 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.04498/3.135, allocations: 15.17 MB / 1.258 GB, free: 77.2 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 4.623e-05/3.135, allocations: 18.5 kB / 1.258 GB, free: 77.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.983e-05/3.135, allocations: 33.23 kB / 1.258 GB, free: 77.2 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03296/3.168, allocations: 7.308 MB / 1.265 GB, free: 75.33 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003222/3.172, allocations: 0.5557 MB / 1.266 GB, free: 75.31 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1094/3.281, allocations: 65.16 MB / 1.329 GB, free: 19.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00599/3.287, allocations: 127.5 kB / 1.329 GB, free: 19.42 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001306/3.288, allocations: 200.1 kB / 1.33 GB, free: 19.23 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 275 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(6,77.8%) 40,(6,77.8%) 72,(14,57.1%) 72,(14,51.0%) 72,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001286/3.29, allocations: 182.8 kB / 1.33 GB, free: 19.08 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001351/3.291, allocations: 454.5 kB / 1.33 GB, free: 18.63 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04085/3.332, allocations: 15.15 MB / 1.345 GB, free: 6.625 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.483e-05/3.332, allocations: 56 kB / 1.345 GB, free: 6.57 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001295/3.332, allocations: 72 kB / 1.345 GB, free: 6.5 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000108/3.332, allocations: 30.33 kB / 1.345 GB, free: 6.5 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06239/3.395, allocations: 22.41 MB / 1.367 GB, free: 5.223 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.902e-05/3.395, allocations: 8.125 kB / 1.367 GB, free: 5.215 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002401/3.397, allocations: 325.8 kB / 1.367 GB, free: 4.977 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03205/3.429, allocations: 6.833 MB / 1.374 GB, free: 15.94 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001117/3.43, allocations: 19.66 kB / 1.374 GB, free: 15.92 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6272/4.058, allocations: 62.33 MB / 1.435 GB, free: 151.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.44e-05/4.058, allocations: 17.31 kB / 1.435 GB, free: 151.3 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04703/4.105, allocations: 20.16 MB / 1.455 GB, free: 149.3 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004043/4.109, allocations: 1.233 MB / 1.456 GB, free: 149.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001513/4.11, allocations: 17.5 kB / 1.456 GB, free: 149.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004464/4.115, allocations: 143.7 kB / 1.456 GB, free: 149.2 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002368/4.117, allocations: 0.532 MB / 1.456 GB, free: 149.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008429/4.118, allocations: 135.6 kB / 1.457 GB, free: 149.2 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002891/4.121, allocations: 1.328 MB / 1.458 GB, free: 149 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.086e-06/4.121, allocations: 0 / 1.458 GB, free: 149 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.01115/4.132, allocations: 2.012 MB / 1.46 GB, free: 149 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 131 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(7,71.4%) 71,(14,57.1%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001318/4.134, allocations: 151.3 kB / 1.46 GB, free: 148.9 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.02986/4.163, allocations: 13.01 MB / 1.473 GB, free: 147.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.903e-06/4.163, allocations: 0 / 1.473 GB, free: 147.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.02118/4.185, allocations: 8.494 MB / 1.481 GB, free: 145.6 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006743/4.191, allocations: 0.9734 MB / 1.482 GB, free: 145.6 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02883/4.22, allocations: 12.68 MB / 1.494 GB, free: 143.2 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01873/4.239, allocations: 5.013 MB / 1.499 GB, free: 142.3 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00869/4.248, allocations: 0.7272 MB / 1.5 GB, free: 142.2 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001648/4.25, allocations: 189.1 kB / 1.5 GB, free: 142.2 MB / 0.8386 GB Notification: Performance of SimCode: time 3.139e-06/4.25, allocations: 0 / 1.5 GB, free: 142.2 MB / 0.8386 GB Notification: Performance of Templates: time 0.3473/4.597, allocations: 119.9 MB / 1.617 GB, free: 91.2 MB / 0.8386 GB