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.004212/0.004211, allocations: 233.5 kB / 15.82 MB, free: 6.293 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.001144/0.001144, allocations: 174 kB / 16.7 MB, free: 5.449 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 3.809/3.809, allocations: 389.1 MB / 406.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.989/3.989, allocations: 472.3 MB / 0.9024 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000718/0.0007183, allocations: 8 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1766, allocations: 98.73 MB / 1.105 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.823/0.9996, allocations: 158.1 MB / 1.259 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003702/1, allocations: 102.6 kB / 1.259 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.8124/1.812, allocations: 202.1 MB / 1.456 GB, free: 15.43 MB / 0.823 GB Notification: Performance of FrontEnd: time 4.028e-06/1.813, allocations: 0 / 1.456 GB, free: 15.43 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0005679/1.813, allocations: 147.9 kB / 1.457 GB, free: 15.29 MB / 0.823 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.02316/1.836, allocations: 5.244 MB / 1.462 GB, free: 9.977 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/1.836, allocations: 8.031 kB / 1.462 GB, free: 9.969 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01104/1.847, allocations: 1.147 MB / 1.463 GB, free: 8.816 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01438/1.862, allocations: 3.7 MB / 1.466 GB, free: 5.062 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006199/1.863, allocations: 427.6 kB / 1.467 GB, free: 4.645 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002921/1.865, allocations: 0.5508 MB / 1.467 GB, free: 4.094 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6135/2.479, allocations: 8.856 MB / 1.476 GB, free: 160.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000391/2.479, allocations: 25.22 kB / 1.476 GB, free: 160.7 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002609/2.482, allocations: 255.2 kB / 1.476 GB, free: 160.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006722/2.483, allocations: 296.3 kB / 1.477 GB, free: 160.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02371/2.506, allocations: 6.438 MB / 1.483 GB, free: 160.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0663/2.573, allocations: 41.47 MB / 1.523 GB, free: 134.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007136/2.58, allocations: 3.109 MB / 1.526 GB, free: 134.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004797/2.585, allocations: 2.138 MB / 1.529 GB, free: 134.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002429/2.585, allocations: 25.95 kB / 1.529 GB, free: 134.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.112e-05/2.585, allocations: 63.73 kB / 1.529 GB, free: 134.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=209): time 5.691e-06/2.585, allocations: 0 / 1.529 GB, free: 134.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=212): time 0.0407/2.626, allocations: 10.48 MB / 1.539 GB, free: 133.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/2.626, allocations: 74.62 kB / 1.539 GB, free: 133 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003913/2.63, allocations: 1.934 MB / 1.541 GB, free: 132.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005446/2.631, allocations: 65.3 kB / 1.541 GB, free: 132.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00196/2.633, allocations: 2.366 MB / 1.543 GB, free: 131.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001126/2.634, allocations: 0.7347 MB / 1.544 GB, free: 131.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000253/2.634, allocations: 51.22 kB / 1.544 GB, free: 131.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001896/2.634, allocations: 415.7 kB / 1.544 GB, free: 131 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003312/2.638, allocations: 1.319 MB / 1.546 GB, free: 131 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00427/2.642, allocations: 2.106 MB / 1.548 GB, free: 130.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004331/2.646, allocations: 1.687 MB / 1.549 GB, free: 130 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.539e-05/2.646, allocations: 9.469 kB / 1.549 GB, free: 130 MB / 0.823 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01423/2.661, allocations: 4.962 MB / 1.554 GB, free: 129.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.457e-05/2.661, allocations: 16.73 kB / 1.554 GB, free: 129.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.891e-05/2.661, allocations: 25.91 kB / 1.554 GB, free: 129.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006263/2.667, allocations: 1.538 MB / 1.556 GB, free: 129.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003243/2.67, allocations: 439.3 kB / 1.556 GB, free: 129.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03098/2.701, allocations: 17.04 MB / 1.573 GB, free: 120.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003635/2.705, allocations: 150.4 kB / 1.573 GB, free: 120.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006524/2.706, allocations: 109.6 kB / 1.573 GB, free: 120.7 MB / 0.823 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.005183/2.711, allocations: 1.942 MB / 1.575 GB, free: 119.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009265/2.712, allocations: 290 kB / 1.575 GB, free: 119.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01726/2.729, allocations: 4.437 MB / 1.58 GB, free: 117.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.009e-05/2.729, allocations: 21.66 kB / 1.58 GB, free: 117.9 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-05/2.729, allocations: 19.91 kB / 1.58 GB, free: 117.9 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.627e-05/2.729, allocations: 8.484 kB / 1.58 GB, free: 117.9 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02659/2.756, allocations: 9.64 MB / 1.589 GB, free: 114.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.78e-05/2.756, allocations: 7.156 kB / 1.589 GB, free: 114.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002103/2.758, allocations: 229.5 kB / 1.589 GB, free: 114.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005465/2.764, allocations: 1.404 MB / 1.591 GB, free: 113.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003642/2.764, allocations: 42.16 kB / 1.591 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03035/2.794, allocations: 17.03 MB / 1.607 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/2.794, allocations: 11.89 kB / 1.607 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01163/2.806, allocations: 4.528 MB / 1.612 GB, free: 101.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002442/2.809, allocations: 0.631 MB / 1.612 GB, free: 101.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/2.81, allocations: 42.73 kB / 1.612 GB, free: 101.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002748/2.812, allocations: 118.8 kB / 1.612 GB, free: 101.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007761/2.813, allocations: 180.9 kB / 1.613 GB, free: 101.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002209/2.814, allocations: 60.8 kB / 1.613 GB, free: 101.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002493/2.816, allocations: 1.266 MB / 1.614 GB, free: 100.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.81e-07/2.816, allocations: 0 / 1.614 GB, free: 100.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005765/2.822, allocations: 1.174 MB / 1.615 GB, free: 100.6 MB / 0.823 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.0007428/2.823, allocations: 176.6 kB / 1.615 GB, free: 100.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01139/2.834, allocations: 4.619 MB / 1.62 GB, free: 98.54 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.812e-05/2.834, allocations: 4.438 kB / 1.62 GB, free: 98.54 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.007349/2.842, allocations: 2.913 MB / 1.623 GB, free: 97.15 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006635/2.848, allocations: 0.7979 MB / 1.623 GB, free: 96.94 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02553/2.874, allocations: 11.19 MB / 1.634 GB, free: 90.98 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007711/2.882, allocations: 3.778 MB / 1.638 GB, free: 89.61 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003423/2.885, allocations: 0.5461 MB / 1.639 GB, free: 89.53 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000797/2.886, allocations: 147.5 kB / 1.639 GB, free: 89.52 MB / 0.823 GB Notification: Performance of SimCode: time 1.333e-06/2.886, allocations: 0 / 1.639 GB, free: 89.52 MB / 0.823 GB Notification: Performance of Templates: time 0.1442/3.03, allocations: 47.59 MB / 1.685 GB, free: 81.66 MB / 0.823 GB