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 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_R_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.159/4.159, allocations: 433.2 MB / 440.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.515e-05/2.579e-05, allocations: 5.531 kB / 0.5325 GB, free: 12.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2211, allocations: 98.72 MB / 0.6289 GB, free: 9.148 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8829/1.104, allocations: 157.3 MB / 0.7826 GB, free: 61.79 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003626/1.105, allocations: 90.73 kB / 0.7826 GB, free: 61.79 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7748/1.879, allocations: 200.5 MB / 0.9784 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.435e-06/1.879, allocations: 4 kB / 0.9784 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0005918/1.88, allocations: 140 kB / 0.9785 GB, free: 7.652 MB / 0.7136 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.02311/1.903, allocations: 4.867 MB / 0.9833 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.197e-05/1.903, allocations: 12.03 kB / 0.9833 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/1.914, allocations: 1.133 MB / 0.9844 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01442/1.929, allocations: 3.693 MB / 0.988 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004152/1.929, allocations: 184 kB / 0.9882 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002795/1.932, allocations: 335.9 kB / 0.9885 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02034/1.953, allocations: 5.689 MB / 0.9941 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02993/1.983, allocations: 7.856 MB / 1.002 GB, free: 15.32 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003596/1.983, allocations: 23.8 kB / 1.002 GB, free: 15.3 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002369/1.985, allocations: 16 kB / 1.002 GB, free: 15.28 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005671/1.986, allocations: 295 kB / 1.002 GB, free: 14.99 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07251/2.058, allocations: 40.26 MB / 1.041 GB, free: 3.016 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007737/2.066, allocations: 2.971 MB / 1.044 GB, free: 40 kB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005136/2.071, allocations: 2.055 MB / 1.046 GB, free: 13.99 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002728/2.072, allocations: 22 kB / 1.046 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.08e-05/2.072, allocations: 64.5 kB / 1.046 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=209): time 5.721e-06/2.072, allocations: 0 / 1.046 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of matching and sorting (n=212): time 0.02006/2.092, allocations: 6.294 MB / 1.053 GB, free: 7.57 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.402e-05/2.092, allocations: 77.39 kB / 1.053 GB, free: 7.48 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003132/2.095, allocations: 1.325 MB / 1.054 GB, free: 6.129 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0005323/2.096, allocations: 25.7 kB / 1.054 GB, free: 6.098 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.002344/2.098, allocations: 2.391 MB / 1.056 GB, free: 3.676 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001315/2.099, allocations: 0.7045 MB / 1.057 GB, free: 2.961 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002679/2.1, allocations: 0 / 1.057 GB, free: 2.961 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002882/2.1, allocations: 407.1 kB / 1.057 GB, free: 2.559 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003318/2.103, allocations: 1.247 MB / 1.059 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004143/2.108, allocations: 2.02 MB / 1.061 GB, free: 14.94 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004214/2.112, allocations: 1.61 MB / 1.062 GB, free: 13.33 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.572e-05/2.112, allocations: 8 kB / 1.062 GB, free: 13.32 MB / 0.8074 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01422/2.126, allocations: 4.59 MB / 1.067 GB, free: 8.707 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 4.582e-05/2.126, allocations: 19.94 kB / 1.067 GB, free: 8.688 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.574e-05/2.126, allocations: 24.88 kB / 1.067 GB, free: 8.664 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006011/2.132, allocations: 1.397 MB / 1.068 GB, free: 7.258 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003428/2.136, allocations: 439.2 kB / 1.068 GB, free: 6.828 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03344/2.169, allocations: 16.46 MB / 1.084 GB, free: 5.902 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003325/2.173, allocations: 99.81 kB / 1.085 GB, free: 5.805 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005036/2.173, allocations: 112.1 kB / 1.085 GB, free: 5.695 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 () * 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,66.7%) 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.0006336/2.174, allocations: 168.2 kB / 1.085 GB, free: 5.523 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01119/2.185, allocations: 3.983 MB / 1.089 GB, free: 1.516 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001152/2.186, allocations: 269 kB / 1.089 GB, free: 1.25 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6328/2.819, allocations: 4.175 MB / 1.093 GB, free: 187.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.377e-05/2.819, allocations: 17.41 kB / 1.093 GB, free: 187.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.033e-05/2.819, allocations: 18.47 kB / 1.093 GB, free: 187.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.846e-05/2.819, allocations: 10.39 kB / 1.093 GB, free: 187.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02831/2.848, allocations: 8.546 MB / 1.101 GB, free: 186.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-05/2.848, allocations: 7.25 kB / 1.101 GB, free: 186.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002378/2.85, allocations: 237.2 kB / 1.102 GB, free: 186.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005883/2.856, allocations: 1.379 MB / 1.103 GB, free: 186.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004896/2.857, allocations: 5.656 kB / 1.103 GB, free: 186.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03076/2.888, allocations: 16.39 MB / 1.119 GB, free: 182.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.259e-05/2.888, allocations: 12.8 kB / 1.119 GB, free: 182.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/2.899, allocations: 4.619 MB / 1.124 GB, free: 181.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002676/2.902, allocations: 0.5987 MB / 1.124 GB, free: 181.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00104/2.903, allocations: 3.75 kB / 1.124 GB, free: 181.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002971/2.906, allocations: 82.69 kB / 1.124 GB, free: 181.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009568/2.907, allocations: 179.3 kB / 1.124 GB, free: 181.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002361/2.907, allocations: 59.53 kB / 1.124 GB, free: 181.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002053/2.909, allocations: 0.9684 MB / 1.125 GB, free: 180.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.61e-07/2.909, allocations: 0 / 1.125 GB, free: 180.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.006166/2.916, allocations: 1.053 MB / 1.126 GB, free: 180.9 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 (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.01211/2.928, allocations: 6.332 MB / 1.133 GB, free: 178.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01115/2.939, allocations: 4.334 MB / 1.137 GB, free: 177.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-05/2.939, allocations: 3 kB / 1.137 GB, free: 177.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.007761/2.947, allocations: 2.739 MB / 1.14 GB, free: 177.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006026/2.953, allocations: 0.6925 MB / 1.14 GB, free: 177.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03038/2.983, allocations: 8.714 MB / 1.149 GB, free: 175.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007996/2.991, allocations: 3.777 MB / 1.152 GB, free: 174.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003483/2.995, allocations: 0.5219 MB / 1.153 GB, free: 174.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004197/2.999, allocations: 1.945 MB / 1.155 GB, free: 174.8 MB / 0.823 GB Notification: Performance of SimCode: time 1.462e-06/2.999, allocations: 0 / 1.155 GB, free: 174.8 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2389/3.238, allocations: 76.34 MB / 1.229 GB, free: 163 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/3.238, allocations: 166.1 kB / 1.23 GB, free: 162.8 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.047/8.285, allocations: 0 / 1.23 GB, free: 162.8 MB / 0.823 GB