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.ACLineMatrix_RL_N.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.071/4.071, allocations: 433.2 MB / 440.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.586e-05/2.6e-05, allocations: 5.094 kB / 0.5325 GB, free: 12.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2323, allocations: 98.74 MB / 0.6289 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.304/0.5363, allocations: 152.2 MB / 0.7776 GB, free: 0.6602 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/0.5367, allocations: 91.92 kB / 0.7777 GB, free: 0.5703 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.139/1.676, allocations: 138.2 MB / 0.9126 GB, free: 28.39 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.655e-06/1.676, allocations: 0 / 0.9126 GB, free: 28.39 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003946/1.676, allocations: 95.98 kB / 0.9127 GB, free: 28.3 MB / 0.6511 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.0168/1.693, allocations: 3.318 MB / 0.916 GB, free: 24.92 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.203e-05/1.693, allocations: 12.03 kB / 0.916 GB, free: 24.91 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0143/1.707, allocations: 1.044 MB / 0.917 GB, free: 23.86 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01137/1.719, allocations: 2.599 MB / 0.9195 GB, free: 21.21 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003561/1.719, allocations: 116 kB / 0.9197 GB, free: 21.09 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002328/1.722, allocations: 215.9 kB / 0.9199 GB, free: 20.88 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01475/1.736, allocations: 4.416 MB / 0.9242 GB, free: 16.46 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0196/1.756, allocations: 6.086 MB / 0.9301 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001967/1.756, allocations: 11.88 kB / 0.9301 GB, free: 10 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00155/1.758, allocations: 8 kB / 0.9301 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001294/1.759, allocations: 395.2 kB / 0.9305 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06018/1.819, allocations: 31.34 MB / 0.9611 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005352/1.825, allocations: 2.107 MB / 0.9632 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005248/1.83, allocations: 2.162 MB / 0.9653 GB, free: 3.23 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001745/1.83, allocations: 25.3 kB / 0.9653 GB, free: 3.207 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/1.83, allocations: 47.88 kB / 0.9654 GB, free: 3.152 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=146): time 4.589e-06/1.83, allocations: 0 / 0.9654 GB, free: 3.152 MB / 0.6823 GB Notification: Performance of matching and sorting (n=251): time 0.1133/1.944, allocations: 21.96 MB / 0.9868 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.434e-05/1.944, allocations: 77.41 kB / 0.9869 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003016/1.947, allocations: 1.245 MB / 0.9881 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0008408/1.948, allocations: 25.7 kB / 0.9881 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001819/1.95, allocations: 1.731 MB / 0.9898 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001747/1.951, allocations: 0.8158 MB / 0.9906 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004987/1.952, allocations: 0 / 0.9906 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0003038/1.952, allocations: 415.1 kB / 0.991 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006914/1.959, allocations: 2.706 MB / 0.9936 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007863/1.967, allocations: 3.229 MB / 0.9968 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01076/1.978, allocations: 3.378 MB / 1 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.822e-05/1.978, allocations: 4 kB / 1 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.04589/2.024, allocations: 12.01 MB / 1.012 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/2.024, allocations: 12 kB / 1.012 GB, free: 3.188 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.27e-05/2.024, allocations: 15.94 kB / 1.012 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04432/2.068, allocations: 7.89 MB / 1.02 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002255/2.071, allocations: 287.5 kB / 1.02 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1011/2.172, allocations: 31.32 MB / 1.05 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004214/2.176, allocations: 123.5 kB / 1.051 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001148/2.177, allocations: 267.8 kB / 1.051 GB, free: 10.84 MB / 0.7761 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.001053/2.178, allocations: 144.5 kB / 1.051 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04361/2.222, allocations: 11.57 MB / 1.062 GB, free: 15.08 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001413/2.223, allocations: 233.2 kB / 1.062 GB, free: 14.85 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04415/2.268, allocations: 12.16 MB / 1.074 GB, free: 2.637 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.475e-05/2.268, allocations: 27.95 kB / 1.074 GB, free: 2.609 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.655e-05/2.268, allocations: 27.98 kB / 1.074 GB, free: 2.582 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.03e-05/2.268, allocations: 11.95 kB / 1.074 GB, free: 2.57 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6614/2.929, allocations: 17.59 MB / 1.092 GB, free: 199.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.48e-05/2.929, allocations: 9.906 kB / 1.092 GB, free: 199.1 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/2.931, allocations: 166.3 kB / 1.092 GB, free: 199.1 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04084/2.972, allocations: 7.81 MB / 1.099 GB, free: 199 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007547/2.972, allocations: 80.11 kB / 1.099 GB, free: 199 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07461/3.047, allocations: 30.89 MB / 1.13 GB, free: 193.8 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.364e-05/3.047, allocations: 13.12 kB / 1.13 GB, free: 193.8 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04061/3.088, allocations: 12.28 MB / 1.142 GB, free: 191.2 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003555/3.091, allocations: 0.9908 MB / 1.143 GB, free: 190.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001368/3.093, allocations: 7.406 kB / 1.143 GB, free: 190.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003957/3.097, allocations: 121.5 kB / 1.143 GB, free: 190.8 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001821/3.099, allocations: 263.8 kB / 1.143 GB, free: 190.8 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009727/3.1, allocations: 238.3 kB / 1.143 GB, free: 190.7 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002129/3.102, allocations: 0.9385 MB / 1.144 GB, free: 190.4 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.132e-06/3.102, allocations: 0 / 1.144 GB, free: 190.4 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.00724/3.109, allocations: 1.134 MB / 1.145 GB, free: 190.4 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.06986/3.179, allocations: 16.37 MB / 1.161 GB, free: 184 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.03288/3.212, allocations: 9.049 MB / 1.17 GB, free: 181 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.456e-05/3.212, allocations: 3.75 kB / 1.17 GB, free: 181 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.02348/3.236, allocations: 5.815 MB / 1.176 GB, free: 176.1 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004568/3.24, allocations: 429.9 kB / 1.176 GB, free: 175.8 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0262/3.266, allocations: 8.346 MB / 1.184 GB, free: 168.6 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006809/3.273, allocations: 3.188 MB / 1.187 GB, free: 166.1 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002008/3.275, allocations: 377.3 kB / 1.188 GB, free: 165.9 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003047/3.279, allocations: 1.448 MB / 1.189 GB, free: 164.5 MB / 0.7917 GB Notification: Performance of SimCode: time 1.994e-06/3.279, allocations: 0 / 1.189 GB, free: 164.5 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2252/3.504, allocations: 96.7 MB / 1.284 GB, free: 78.17 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002361/3.504, allocations: 174.1 kB / 1.284 GB, free: 77.98 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.332/8.836, allocations: 3.938 kB / 1.284 GB, free: 77.98 MB / 0.7917 GB