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.ACLineMatrix_RL_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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadModel(Buildings): time 4.044/4.044, allocations: 433.4 MB / 440.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.242e-05/2.26e-05, allocations: 4 kB / 0.5325 GB, free: 1.852 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5051/0.5052, allocations: 98.7 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2297/0.7349, allocations: 152.2 MB / 0.7776 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/0.7353, allocations: 95.88 kB / 0.7777 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.8918/1.627, allocations: 138.2 MB / 0.9127 GB, free: 64.74 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.893e-06/1.627, allocations: 0 / 0.9127 GB, free: 64.74 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002678/1.627, allocations: 95.97 kB / 0.9127 GB, free: 64.65 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.0104/1.638, allocations: 3.314 MB / 0.916 GB, free: 61.27 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/1.638, allocations: 12.02 kB / 0.916 GB, free: 61.26 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008343/1.646, allocations: 1.052 MB / 0.917 GB, free: 60.2 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006887/1.653, allocations: 2.599 MB / 0.9196 GB, free: 57.55 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/1.653, allocations: 116 kB / 0.9197 GB, free: 57.44 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001592/1.655, allocations: 215.9 kB / 0.9199 GB, free: 57.23 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01054/1.666, allocations: 4.412 MB / 0.9242 GB, free: 52.81 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01563/1.681, allocations: 6.086 MB / 0.9301 GB, free: 46.37 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001202/1.681, allocations: 15.88 kB / 0.9301 GB, free: 46.36 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000652/1.682, allocations: 8 kB / 0.9302 GB, free: 46.35 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008169/1.683, allocations: 387.2 kB / 0.9305 GB, free: 45.97 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04042/1.723, allocations: 31.35 MB / 0.9611 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003447/1.727, allocations: 2.107 MB / 0.9632 GB, free: 9.742 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003416/1.73, allocations: 2.158 MB / 0.9653 GB, free: 7.582 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/1.73, allocations: 25.27 kB / 0.9653 GB, free: 7.559 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/1.73, allocations: 51.88 kB / 0.9654 GB, free: 7.496 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=146): time 5.582e-06/1.731, allocations: 0 / 0.9654 GB, free: 7.496 MB / 0.6667 GB Notification: Performance of matching and sorting (n=251): time 0.07932/1.81, allocations: 21.95 MB / 0.9868 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.442e-05/1.81, allocations: 77.41 kB / 0.9869 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002648/1.813, allocations: 1.245 MB / 0.9881 GB, free: 160 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006135/1.813, allocations: 25.7 kB / 0.9881 GB, free: 128 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001654/1.815, allocations: 1.727 MB / 0.9898 GB, free: 14.37 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001416/1.816, allocations: 0.8198 MB / 0.9906 GB, free: 13.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003652/1.817, allocations: 0 / 0.9906 GB, free: 13.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003061/1.817, allocations: 415 kB / 0.991 GB, free: 13.13 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00546/1.823, allocations: 2.703 MB / 0.9937 GB, free: 10.42 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006222/1.829, allocations: 3.225 MB / 0.9968 GB, free: 6.984 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008545/1.837, allocations: 3.382 MB / 1 GB, free: 3.602 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.212e-05/1.837, allocations: 4 kB / 1 GB, free: 3.598 MB / 0.698 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.03369/1.871, allocations: 12 MB / 1.012 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.323e-05/1.871, allocations: 26.02 kB / 1.012 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-05/1.871, allocations: 16 kB / 1.012 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03265/1.904, allocations: 7.883 MB / 1.02 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/1.906, allocations: 283.5 kB / 1.02 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0676/1.973, allocations: 31.32 MB / 1.05 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002934/1.976, allocations: 119.6 kB / 1.051 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008015/1.977, allocations: 267.8 kB / 1.051 GB, free: 15.19 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(19,68.1%) 19,(12,50.0%) 18,(12,53.5%) 10} * Non-linear torn systems: 3 {20 18,12 18,12 10} Notification: Performance of prepare postOptimizeDAE: time 0.000794/1.978, allocations: 148.5 kB / 1.051 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008281/1.979, allocations: 233.3 kB / 1.051 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05558/2.034, allocations: 12.17 MB / 1.063 GB, free: 2.578 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-05/2.034, allocations: 24 kB / 1.063 GB, free: 2.555 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.581e-05/2.034, allocations: 20 kB / 1.063 GB, free: 2.535 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.539e-05/2.035, allocations: 16.17 kB / 1.063 GB, free: 2.52 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06563/2.1, allocations: 17.59 MB / 1.08 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.704e-05/2.1, allocations: 4.844 kB / 1.08 GB, free: 0.7656 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009679/2.101, allocations: 175.6 kB / 1.08 GB, free: 0.5938 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03186/2.133, allocations: 7.803 MB / 1.088 GB, free: 8.77 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006492/2.134, allocations: 83.86 kB / 1.088 GB, free: 8.688 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5358/2.67, allocations: 30.9 MB / 1.118 GB, free: 203.6 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.277e-05/2.67, allocations: 10.09 kB / 1.118 GB, free: 203.6 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02834/2.698, allocations: 12.28 MB / 1.13 GB, free: 202.4 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002562/2.701, allocations: 0.9889 MB / 1.131 GB, free: 202.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008192/2.701, allocations: 13.16 kB / 1.131 GB, free: 202.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002354/2.704, allocations: 116.3 kB / 1.131 GB, free: 202.3 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001128/2.705, allocations: 262.4 kB / 1.132 GB, free: 202.3 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005604/2.706, allocations: 237.4 kB / 1.132 GB, free: 202.3 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001681/2.707, allocations: 0.9323 MB / 1.133 GB, free: 202.2 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.107e-06/2.707, allocations: 0 / 1.133 GB, free: 202.2 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.00507/2.712, allocations: 1.142 MB / 1.134 GB, free: 202.2 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(12,53.5%) 10,(12,50.0%) 18,(19,54.8%) 19} * Non-linear torn systems: 3 {12 10,12 18,20 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006953/2.713, allocations: 151.1 kB / 1.134 GB, free: 202.1 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0201/2.733, allocations: 9.042 MB / 1.143 GB, free: 201.6 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/2.733, allocations: 0 / 1.143 GB, free: 201.6 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.01532/2.749, allocations: 5.828 MB / 1.149 GB, free: 201.1 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003047/2.752, allocations: 426.9 kB / 1.149 GB, free: 201.1 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/2.766, allocations: 7.234 MB / 1.156 GB, free: 198.9 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00482/2.771, allocations: 3.192 MB / 1.159 GB, free: 197.7 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001523/2.773, allocations: 368 kB / 1.16 GB, free: 197.7 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003025/2.773, allocations: 92.11 kB / 1.16 GB, free: 197.6 MB / 0.7917 GB Notification: Performance of SimCode: time 1.689e-06/2.773, allocations: 0 / 1.16 GB, free: 197.6 MB / 0.7917 GB Notification: Performance of Templates: time 0.128/2.901, allocations: 68.92 MB / 1.227 GB, free: 155.3 MB / 0.7917 GB