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_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_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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00919/0.00919, allocations: 110.6 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.001117/0.001116, allocations: 184.1 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 1.82/1.82, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.285/2.285, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004985/0.0004986, allocations: 8 kB / 0.5869 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5423/0.5428, allocations: 98.72 MB / 0.6833 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.242/0.7848, allocations: 172.6 MB / 0.8519 GB, free: 1.633 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/0.7852, allocations: 95.94 kB / 0.852 GB, free: 1.539 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.573/2.358, allocations: 320.9 MB / 1.165 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.372e-06/2.358, allocations: 0 / 1.165 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.000562/2.359, allocations: 171.9 kB / 1.165 GB, free: 9.973 MB / 0.7605 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.02355/2.383, allocations: 6.13 MB / 1.171 GB, free: 3.762 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/2.383, allocations: 8.031 kB / 1.171 GB, free: 3.754 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01691/2.4, allocations: 1.779 MB / 1.173 GB, free: 1.957 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01743/2.417, allocations: 5.043 MB / 1.178 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006213/2.418, allocations: 460.1 kB / 1.179 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003013/2.421, allocations: 0.5896 MB / 1.179 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03215/2.453, allocations: 9.989 MB / 1.189 GB, free: 1.316 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003303/2.453, allocations: 31.72 kB / 1.189 GB, free: 1.285 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002596/2.456, allocations: 271.9 kB / 1.189 GB, free: 1.02 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005889/2.457, allocations: 372.1 kB / 1.19 GB, free: 0.6523 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03651/2.493, allocations: 7.839 MB / 1.197 GB, free: 8.793 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6007/3.094, allocations: 46.37 MB / 1.242 GB, free: 122.1 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008007/3.102, allocations: 4.184 MB / 1.247 GB, free: 122.1 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004666/3.102, allocations: 36.47 kB / 1.247 GB, free: 122.1 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.768e-05/3.102, allocations: 73.28 kB / 1.247 GB, free: 122 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=353): time 8.561e-06/3.102, allocations: 0 / 1.247 GB, free: 122 MB / 0.8073 GB Notification: Performance of matching and sorting (n=578): time 0.6114/3.714, allocations: 106.4 MB / 1.351 GB, free: 114 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.854e-05/3.714, allocations: 117 kB / 1.351 GB, free: 113.9 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003785/3.718, allocations: 2.148 MB / 1.353 GB, free: 113.7 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.001132/3.719, allocations: 119.6 kB / 1.353 GB, free: 113.6 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001923/3.721, allocations: 2.692 MB / 1.356 GB, free: 112.8 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.002524/3.723, allocations: 1.955 MB / 1.357 GB, free: 111.6 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006663/3.724, allocations: 116.7 kB / 1.358 GB, free: 111.6 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003966/3.724, allocations: 0.5288 MB / 1.358 GB, free: 111.3 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007445/3.732, allocations: 3.789 MB / 1.362 GB, free: 111.3 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008559/3.741, allocations: 4.902 MB / 1.367 GB, free: 109.2 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008936/3.75, allocations: 4.58 MB / 1.371 GB, free: 107.1 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.062e-05/3.75, allocations: 8 kB / 1.371 GB, free: 107 MB / 0.8073 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.04284/3.792, allocations: 15.99 MB / 1.387 GB, free: 95.8 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.897e-05/3.793, allocations: 20.03 kB / 1.387 GB, free: 95.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.038e-05/3.793, allocations: 32 kB / 1.387 GB, free: 95.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03009/3.823, allocations: 7.744 MB / 1.394 GB, free: 89.72 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003192/3.826, allocations: 0.5521 MB / 1.395 GB, free: 89.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1176/3.944, allocations: 70.52 MB / 1.464 GB, free: 25.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005429/3.949, allocations: 236.1 kB / 1.464 GB, free: 25.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001096/3.95, allocations: 204 kB / 1.464 GB, free: 25.53 MB / 0.8073 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 () * Number of clocked 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.006091/3.956, allocations: 2.449 MB / 1.466 GB, free: 23.51 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001359/3.958, allocations: 470.4 kB / 1.467 GB, free: 23.05 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04184/4, allocations: 15.9 MB / 1.482 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.413e-05/4, allocations: 61.53 kB / 1.483 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001849/4, allocations: 72 kB / 1.483 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001037/4, allocations: 27.89 kB / 1.483 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0764/4.076, allocations: 23.98 MB / 1.506 GB, free: 1.777 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.044e-05/4.077, allocations: 11.12 kB / 1.506 GB, free: 1.77 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004072/4.081, allocations: 319.4 kB / 1.506 GB, free: 1.473 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05563/4.136, allocations: 6.879 MB / 1.513 GB, free: 10.56 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00172/4.138, allocations: 111.9 kB / 1.513 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7225/4.861, allocations: 67.36 MB / 1.579 GB, free: 160.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-05/4.861, allocations: 14.58 kB / 1.579 GB, free: 160.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06454/4.925, allocations: 20.95 MB / 1.599 GB, free: 158.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004319/4.93, allocations: 1.257 MB / 1.601 GB, free: 158.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002087/4.932, allocations: 106.1 kB / 1.601 GB, free: 158.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004817/4.937, allocations: 239.7 kB / 1.601 GB, free: 158.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00278/4.939, allocations: 0.5168 MB / 1.601 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001107/4.941, allocations: 137.3 kB / 1.602 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003689/4.944, allocations: 1.623 MB / 1.603 GB, free: 158 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.494e-06/4.944, allocations: 2.906 kB / 1.603 GB, free: 158 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01096/4.955, allocations: 2.313 MB / 1.605 GB, free: 158 MB / 0.8542 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 () * Number of clocked 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.001409/4.957, allocations: 236.4 kB / 1.606 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.03105/4.988, allocations: 13.83 MB / 1.619 GB, free: 155.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/4.988, allocations: 4.938 kB / 1.619 GB, free: 155.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.02149/5.009, allocations: 9.05 MB / 1.628 GB, free: 154.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006734/5.016, allocations: 1.096 MB / 1.629 GB, free: 154.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03307/5.049, allocations: 17.93 MB / 1.647 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009641/5.059, allocations: 5.02 MB / 1.652 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004123/5.063, allocations: 0.7484 MB / 1.652 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008377/5.064, allocations: 192.4 kB / 1.652 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.849e-06/5.064, allocations: 0 / 1.652 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.2553/5.319, allocations: 125 MB / 1.774 GB, free: 83.67 MB / 0.8542 GB