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.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008895/0.008895, allocations: 109.9 kB / 15.05 MB, free: 5.961 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.001112/0.001112, allocations: 183.2 kB / 15.94 MB, free: 5.926 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 2.057/2.057, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.159/2.159, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004537/0.0004539, allocations: 12 kB / 0.587 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5547/0.5552, allocations: 98.71 MB / 0.6833 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2941/0.8494, allocations: 178.3 MB / 0.8575 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/0.8498, allocations: 103.9 kB / 0.8576 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.8165/1.666, allocations: 64 MB / 0.9201 GB, free: 177.8 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.929e-06/1.666, allocations: 0 / 0.9201 GB, free: 177.8 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001267/1.666, allocations: 42.06 kB / 0.9201 GB, free: 177.8 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.004869/1.671, allocations: 1.656 MB / 0.9217 GB, free: 177 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/1.671, allocations: 10.02 kB / 0.9217 GB, free: 177 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004017/1.675, allocations: 0.5004 MB / 0.9222 GB, free: 176.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003518/1.679, allocations: 1.145 MB / 0.9233 GB, free: 176.6 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/1.679, allocations: 117.3 kB / 0.9234 GB, free: 176.6 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005345/1.68, allocations: 154.8 kB / 0.9236 GB, free: 176.6 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006894/1.687, allocations: 2.481 MB / 0.926 GB, free: 176.4 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.814e-05/1.687, allocations: 3.688 kB / 0.926 GB, free: 176.4 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000274/1.687, allocations: 66.38 kB / 0.9261 GB, free: 176.4 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001372/1.687, allocations: 83.89 kB / 0.9262 GB, free: 176.4 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005289/1.692, allocations: 2.043 MB / 0.9281 GB, free: 176.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01564/1.708, allocations: 10.51 MB / 0.9384 GB, free: 170.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/1.71, allocations: 0.5817 MB / 0.939 GB, free: 170.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/1.71, allocations: 88.97 kB / 0.9391 GB, free: 170.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/1.71, allocations: 35.84 kB / 0.9391 GB, free: 170.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=36): time 3.663e-06/1.71, allocations: 2.906 kB / 0.9391 GB, free: 170.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52): time 0.02066/1.73, allocations: 5.713 MB / 0.9447 GB, free: 170 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/1.731, allocations: 82.55 kB / 0.9448 GB, free: 169.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/1.732, allocations: 0.8166 MB / 0.9456 GB, free: 169.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001471/1.732, allocations: 36.39 kB / 0.9456 GB, free: 169.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004958/1.733, allocations: 0.7565 MB / 0.9463 GB, free: 169.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000236/1.733, allocations: 182.2 kB / 0.9465 GB, free: 169.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.742e-05/1.733, allocations: 21.12 kB / 0.9465 GB, free: 169.2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001594/1.733, allocations: 393.1 kB / 0.9469 GB, free: 168.9 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/1.735, allocations: 0.635 MB / 0.9475 GB, free: 168.9 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/1.736, allocations: 1.007 MB / 0.9485 GB, free: 168.2 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/1.738, allocations: 0.8178 MB / 0.9493 GB, free: 167.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/1.738, allocations: 2.812 kB / 0.9493 GB, free: 167.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009448/1.747, allocations: 2.93 MB / 0.9522 GB, free: 167.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009478/1.748, allocations: 4.534 MB / 0.9566 GB, free: 162.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-05/1.749, allocations: 19.67 kB / 0.9566 GB, free: 162.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007523/1.756, allocations: 1.556 MB / 0.9581 GB, free: 162.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/1.757, allocations: 221.6 kB / 0.9583 GB, free: 162 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/1.767, allocations: 7.123 MB / 0.9653 GB, free: 157.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/1.769, allocations: 166.8 kB / 0.9655 GB, free: 157.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/1.769, allocations: 53.95 kB / 0.9655 GB, free: 157.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/1.769, allocations: 5.375 kB / 0.9655 GB, free: 157.1 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0072/1.777, allocations: 2.4 MB / 0.9679 GB, free: 156.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.71e-05/1.777, allocations: 11.81 kB / 0.9679 GB, free: 156.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005206/1.782, allocations: 0.9996 MB / 0.9688 GB, free: 156.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/1.783, allocations: 258.9 kB / 0.9691 GB, free: 156.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008326/1.792, allocations: 5.602 MB / 0.9746 GB, free: 152.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/1.793, allocations: 133.9 kB / 0.9747 GB, free: 152.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/1.793, allocations: 48.55 kB / 0.9747 GB, free: 152.7 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.00146/1.795, allocations: 0.8405 MB / 0.9756 GB, free: 152.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/1.795, allocations: 70.53 kB / 0.9756 GB, free: 152.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008498/1.803, allocations: 2.477 MB / 0.978 GB, free: 151.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/1.804, allocations: 3.969 kB / 0.978 GB, free: 151.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/1.804, allocations: 3.531 kB / 0.978 GB, free: 151.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/1.804, allocations: 8.781 kB / 0.9781 GB, free: 151.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/1.816, allocations: 4.291 MB / 0.9822 GB, free: 150 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/1.816, allocations: 7.922 kB / 0.9823 GB, free: 150 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005552/1.816, allocations: 103.5 kB / 0.9824 GB, free: 150 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006993/1.823, allocations: 1.498 MB / 0.9838 GB, free: 149.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/1.824, allocations: 18.5 kB / 0.9838 GB, free: 149.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01465/1.838, allocations: 9.934 MB / 0.9935 GB, free: 142.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.996e-06/1.838, allocations: 0 / 0.9935 GB, free: 142.9 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00783/1.846, allocations: 2.53 MB / 0.996 GB, free: 141.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007363/1.847, allocations: 286 kB / 0.9963 GB, free: 141.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/1.847, allocations: 10.11 kB / 0.9963 GB, free: 141.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009249/1.848, allocations: 128.5 kB / 0.9964 GB, free: 141.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002386/1.848, allocations: 57.44 kB / 0.9965 GB, free: 141.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.646e-05/1.848, allocations: 15.12 kB / 0.9965 GB, free: 141.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000982/1.849, allocations: 0.6391 MB / 0.9971 GB, free: 141.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.53e-07/1.849, allocations: 0 / 0.9971 GB, free: 141.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002626/1.852, allocations: 0.5999 MB / 0.9977 GB, free: 141.4 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003456/1.852, allocations: 188.1 kB / 0.9979 GB, free: 141.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006392/1.859, allocations: 3.081 MB / 1.001 GB, free: 140 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.097e-06/1.859, allocations: 3.5 kB / 1.001 GB, free: 140 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002486/1.861, allocations: 1.28 MB / 1.002 GB, free: 139.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/1.863, allocations: 221.7 kB / 1.002 GB, free: 139.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00569/1.868, allocations: 3.536 MB / 1.006 GB, free: 137.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/1.87, allocations: 1.647 MB / 1.007 GB, free: 136.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001746/1.872, allocations: 488.6 kB / 1.008 GB, free: 136.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002132/1.872, allocations: 53.98 kB / 1.008 GB, free: 136.4 MB / 0.7292 GB Notification: Performance of SimCode: time 1.603e-06/1.872, allocations: 0 / 1.008 GB, free: 136.4 MB / 0.7292 GB Notification: Performance of Templates: time 0.06962/1.942, allocations: 22.29 MB / 1.03 GB, free: 114.8 MB / 0.7292 GB