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_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.ACLine_RL_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.094/4.094, allocations: 433.2 MB / 440.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.58e-05/2.553e-05, allocations: 4.812 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2153, allocations: 98.73 MB / 0.6289 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9117/1.127, allocations: 182.2 MB / 0.8068 GB, free: 52.08 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/1.127, allocations: 95.7 kB / 0.8069 GB, free: 52.08 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.4583/1.586, allocations: 112.7 MB / 0.917 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.164e-06/1.586, allocations: 4 kB / 0.917 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002558/1.586, allocations: 71.67 kB / 0.917 GB, free: 15.09 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01133/1.597, allocations: 2.675 MB / 0.9197 GB, free: 12.37 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/1.597, allocations: 8.031 kB / 0.9197 GB, free: 12.36 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00704/1.605, allocations: 0.6713 MB / 0.9203 GB, free: 11.69 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008054/1.613, allocations: 2.058 MB / 0.9223 GB, free: 9.594 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/1.613, allocations: 96 kB / 0.9224 GB, free: 9.5 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001506/1.614, allocations: 172 kB / 0.9226 GB, free: 9.332 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01094/1.625, allocations: 2.98 MB / 0.9255 GB, free: 6.348 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/1.64, allocations: 4.114 MB / 0.9295 GB, free: 1.984 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001778/1.641, allocations: 11.84 kB / 0.9295 GB, free: 1.973 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006254/1.641, allocations: 8 kB / 0.9295 GB, free: 1.965 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003249/1.641, allocations: 177.7 kB / 0.9297 GB, free: 1.789 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03914/1.681, allocations: 20.99 MB / 0.9502 GB, free: 10.92 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002973/1.684, allocations: 1.241 MB / 0.9514 GB, free: 9.668 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002391/1.686, allocations: 0.9841 MB / 0.9524 GB, free: 8.684 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001298/1.686, allocations: 13.31 kB / 0.9524 GB, free: 8.672 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.63e-05/1.686, allocations: 47.81 kB / 0.9524 GB, free: 8.617 MB / 0.698 GB Notification: Performance of pre-optimization done (n=107): time 4.118e-06/1.686, allocations: 0 / 0.9524 GB, free: 8.617 MB / 0.698 GB Notification: Performance of matching and sorting (n=138): time 0.01579/1.702, allocations: 4.716 MB / 0.957 GB, free: 3.922 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/1.702, allocations: 76.67 kB / 0.9571 GB, free: 3.836 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/1.704, allocations: 0.8189 MB / 0.9579 GB, free: 3.008 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002858/1.704, allocations: 29.64 kB / 0.9579 GB, free: 2.973 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001294/1.706, allocations: 1.311 MB / 0.9592 GB, free: 1.645 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007715/1.706, allocations: 461.1 kB / 0.9597 GB, free: 1.188 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/1.707, allocations: 0 / 0.9597 GB, free: 1.188 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002228/1.707, allocations: 373.9 kB / 0.96 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002015/1.709, allocations: 0.8245 MB / 0.9608 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002507/1.711, allocations: 1.28 MB / 0.9621 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002622/1.714, allocations: 1.068 MB / 0.9631 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-05/1.714, allocations: 4 kB / 0.9631 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01016/1.724, allocations: 3.171 MB / 0.9662 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.2e-05/1.724, allocations: 12 kB / 0.9662 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.691e-05/1.725, allocations: 16.88 kB / 0.9662 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005438/1.73, allocations: 1.082 MB / 0.9673 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/1.732, allocations: 263.6 kB / 0.9676 GB, free: 8.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02646/1.759, allocations: 12.04 MB / 0.9793 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/1.761, allocations: 55.92 kB / 0.9794 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003261/1.761, allocations: 72.05 kB / 0.9794 GB, free: 12.38 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004491/1.762, allocations: 148.2 kB / 0.9796 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009002/1.771, allocations: 2.8 MB / 0.9823 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006773/1.771, allocations: 146.2 kB / 0.9825 GB, free: 9.273 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009328/1.781, allocations: 2.945 MB / 0.9853 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.229e-05/1.781, allocations: 16.38 kB / 0.9853 GB, free: 6.289 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.351e-05/1.781, allocations: 12 kB / 0.9854 GB, free: 6.277 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.39e-05/1.781, allocations: 7.969 kB / 0.9854 GB, free: 6.27 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0171/1.798, allocations: 5.521 MB / 0.9908 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.927e-05/1.798, allocations: 4 kB / 0.9908 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/1.799, allocations: 147.8 kB / 0.9909 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004893/1.804, allocations: 1.009 MB / 0.9919 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002424/1.804, allocations: 4 kB / 0.9919 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02499/1.829, allocations: 11.73 MB / 1.003 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.494e-05/1.83, allocations: 4 kB / 1.003 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008631/1.838, allocations: 3.186 MB / 1.006 GB, free: 80 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/1.84, allocations: 407.2 kB / 1.007 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000375/1.84, allocations: 11.98 kB / 1.007 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/1.842, allocations: 55.89 kB / 1.007 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005035/1.842, allocations: 133 kB / 1.007 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/1.842, allocations: 36 kB / 1.007 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00137/1.844, allocations: 0.6165 MB / 1.008 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.7e-07/1.844, allocations: 0 / 1.008 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003312/1.847, allocations: 0.5976 MB / 1.008 GB, free: 14.21 MB / 0.7605 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009854/1.857, allocations: 4.963 MB / 1.013 GB, free: 9.086 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.007889/1.865, allocations: 2.872 MB / 1.016 GB, free: 6.184 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.865, allocations: 0 / 1.016 GB, free: 6.184 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.005247/1.87, allocations: 1.82 MB / 1.018 GB, free: 4.336 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003489/1.874, allocations: 393.1 kB / 1.018 GB, free: 3.961 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02132/1.895, allocations: 4.975 MB / 1.023 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006202/1.901, allocations: 2.391 MB / 1.025 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002852/1.904, allocations: 337.4 kB / 1.026 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003177/1.907, allocations: 0.9952 MB / 1.027 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of SimCode: time 4.058e-06/1.907, allocations: 0 / 1.027 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1755/2.083, allocations: 46.14 MB / 1.072 GB, free: 13.24 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003183/2.083, allocations: 162.6 kB / 1.072 GB, free: 13.05 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.678/5.761, allocations: 0 / 1.072 GB, free: 13.05 MB / 0.823 GB