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_L.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_L,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.15/4.15, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.428e-05/2.43e-05, allocations: 4.625 kB / 0.5325 GB, free: 12.65 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2075, allocations: 98.73 MB / 0.6289 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9141/1.122, allocations: 156.7 MB / 0.7819 GB, free: 61.76 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003454/1.122, allocations: 92.03 kB / 0.782 GB, free: 61.76 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7149/1.837, allocations: 178.9 MB / 0.9567 GB, free: 14.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.086e-06/1.837, allocations: 0 / 0.9567 GB, free: 14.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0006072/1.838, allocations: 119.9 kB / 0.9569 GB, free: 14.27 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.02451/1.862, allocations: 3.822 MB / 0.9606 GB, free: 10.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.124e-05/1.862, allocations: 8.031 kB / 0.9606 GB, free: 10.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01015/1.872, allocations: 0.9463 MB / 0.9615 GB, free: 9.426 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01175/1.884, allocations: 2.987 MB / 0.9644 GB, free: 6.379 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003526/1.885, allocations: 156 kB / 0.9646 GB, free: 6.227 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00235/1.887, allocations: 275.8 kB / 0.9648 GB, free: 5.957 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01704/1.904, allocations: 4.529 MB / 0.9693 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02569/1.93, allocations: 6.547 MB / 0.9757 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003257/1.93, allocations: 24 kB / 0.9757 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001799/1.932, allocations: 12 kB / 0.9757 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005676/1.933, allocations: 284.9 kB / 0.976 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05887/1.992, allocations: 34.08 MB / 1.009 GB, free: 4.84 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004736/1.996, allocations: 2.085 MB / 1.011 GB, free: 2.641 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002892/1.999, allocations: 1.21 MB / 1.012 GB, free: 1.434 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001888/2, allocations: 13.31 kB / 1.012 GB, free: 1.422 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.311e-05/2, allocations: 47.88 kB / 1.013 GB, free: 1.367 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=133): time 4.679e-06/2, allocations: 0 / 1.013 GB, free: 1.367 MB / 0.7449 GB Notification: Performance of matching and sorting (n=136): time 0.0147/2.014, allocations: 4.375 MB / 1.017 GB, free: 12.94 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/2.014, allocations: 72.66 kB / 1.017 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002551/2.017, allocations: 1.059 MB / 1.018 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0003358/2.017, allocations: 25.7 kB / 1.018 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002004/2.019, allocations: 1.991 MB / 1.02 GB, free: 9.75 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009467/2.02, allocations: 469.1 kB / 1.02 GB, free: 9.285 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/2.021, allocations: 0 / 1.02 GB, free: 9.285 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003112/2.021, allocations: 381.9 kB / 1.021 GB, free: 8.906 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002251/2.023, allocations: 0.8473 MB / 1.022 GB, free: 8.059 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003025/2.026, allocations: 1.488 MB / 1.023 GB, free: 6.273 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002928/2.029, allocations: 1.115 MB / 1.024 GB, free: 5.156 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.552e-05/2.029, allocations: 8 kB / 1.024 GB, free: 5.148 MB / 0.7605 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.01053/2.04, allocations: 3.219 MB / 1.027 GB, free: 1.883 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.833e-05/2.04, allocations: 16 kB / 1.027 GB, free: 1.867 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.906e-05/2.04, allocations: 20 kB / 1.027 GB, free: 1.848 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004613/2.045, allocations: 0.8766 MB / 1.028 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002522/2.047, allocations: 347.4 kB / 1.028 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03063/2.078, allocations: 20.36 MB / 1.048 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/2.08, allocations: 63.92 kB / 1.048 GB, free: 10.79 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003915/2.081, allocations: 87.98 kB / 1.048 GB, free: 10.71 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 170 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(3,77.8%) 5,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000484/2.081, allocations: 156.4 kB / 1.049 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008633/2.09, allocations: 2.679 MB / 1.051 GB, free: 7.824 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008321/2.091, allocations: 189.8 kB / 1.051 GB, free: 7.637 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01151/2.102, allocations: 2.814 MB / 1.054 GB, free: 4.766 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.374e-05/2.102, allocations: 16 kB / 1.054 GB, free: 4.75 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.422e-05/2.102, allocations: 15.95 kB / 1.054 GB, free: 4.734 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.498e-05/2.102, allocations: 3.984 kB / 1.054 GB, free: 4.73 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0269/2.129, allocations: 6.392 MB / 1.06 GB, free: 14.12 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.346e-05/2.129, allocations: 4 kB / 1.06 GB, free: 14.11 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00226/2.132, allocations: 175.7 kB / 1.061 GB, free: 13.94 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006038/2.138, allocations: 0.7989 MB / 1.061 GB, free: 13.11 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003479/2.138, allocations: 8 kB / 1.061 GB, free: 13.1 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03613/2.174, allocations: 19.45 MB / 1.08 GB, free: 8.266 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/2.174, allocations: 11.98 kB / 1.08 GB, free: 8.254 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008765/2.183, allocations: 3.147 MB / 1.083 GB, free: 4.887 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001729/2.185, allocations: 454.5 kB / 1.084 GB, free: 4.422 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005747/2.185, allocations: 7.953 kB / 1.084 GB, free: 4.414 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/2.187, allocations: 51.91 kB / 1.084 GB, free: 4.363 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006586/2.188, allocations: 121 kB / 1.084 GB, free: 4.246 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000165/2.188, allocations: 36 kB / 1.084 GB, free: 4.211 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001897/2.19, allocations: 0.781 MB / 1.085 GB, free: 3.438 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.02e-07/2.19, allocations: 3.938 kB / 1.085 GB, free: 3.434 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004973/2.195, allocations: 0.7422 MB / 1.086 GB, free: 2.691 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 79 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.6086/2.804, allocations: 4.876 MB / 1.09 GB, free: 198.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.009465/2.813, allocations: 3.744 MB / 1.094 GB, free: 197.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/2.813, allocations: 1.25 kB / 1.094 GB, free: 197.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.006017/2.819, allocations: 2.571 MB / 1.097 GB, free: 195.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005382/2.825, allocations: 0.5911 MB / 1.097 GB, free: 195.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02594/2.851, allocations: 6.665 MB / 1.104 GB, free: 194.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008819/2.86, allocations: 3.187 MB / 1.107 GB, free: 193.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002869/2.863, allocations: 449.6 kB / 1.107 GB, free: 193.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00335/2.866, allocations: 1.547 MB / 1.109 GB, free: 193.6 MB / 0.823 GB Notification: Performance of SimCode: time 2.995e-06/2.866, allocations: 0 / 1.109 GB, free: 193.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1589/3.025, allocations: 56.59 MB / 1.164 GB, free: 191.6 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002468/3.025, allocations: 169.5 kB / 1.164 GB, free: 191.4 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.041/7.067, allocations: 3.625 kB / 1.164 GB, free: 191.4 MB / 0.823 GB