Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.333/4.333, allocations: 433.2 MB / 440.7 MB, free: 4.539 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.694e-05/2.706e-05, allocations: 3.844 kB / 0.5325 GB, free: 12.76 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2712, allocations: 98.72 MB / 0.6289 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3173/0.5886, allocations: 148.2 MB / 0.7736 GB, free: 4.688 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003765/0.5891, allocations: 91.94 kB / 0.7737 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.9054/1.494, allocations: 85.86 MB / 0.8575 GB, free: 84.98 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.234e-06/1.495, allocations: 0 / 0.8575 GB, free: 84.98 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001005/1.495, allocations: 43.98 kB / 0.8576 GB, free: 84.94 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003443/1.498, allocations: 1.533 MB / 0.8591 GB, free: 83.35 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/1.498, allocations: 8.031 kB / 0.8591 GB, free: 83.34 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006754/1.505, allocations: 0.6183 MB / 0.8597 GB, free: 82.72 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002142/1.507, allocations: 0.8842 MB / 0.8606 GB, free: 81.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.104e-05/1.507, allocations: 44 kB / 0.8606 GB, free: 81.75 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002561/1.507, allocations: 83.89 kB / 0.8607 GB, free: 81.67 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00307/1.51, allocations: 1.345 MB / 0.862 GB, free: 80.32 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003647/1.514, allocations: 2.109 MB / 0.8641 GB, free: 77.92 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.675e-05/1.514, allocations: 11.88 kB / 0.8641 GB, free: 77.91 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001923/1.514, allocations: 8 kB / 0.8641 GB, free: 77.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002536/1.515, allocations: 142.3 kB / 0.8642 GB, free: 77.76 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01521/1.53, allocations: 12.23 MB / 0.8761 GB, free: 64.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005835/1.536, allocations: 1.788 MB / 0.8779 GB, free: 62.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/1.537, allocations: 0.5747 MB / 0.8785 GB, free: 62.22 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002551/1.537, allocations: 98.41 kB / 0.8785 GB, free: 62.11 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/1.538, allocations: 55.86 kB / 0.8786 GB, free: 62.05 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=103): time 4.088e-06/1.538, allocations: 0 / 0.8786 GB, free: 62.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=110): time 0.007128/1.545, allocations: 2.411 MB / 0.881 GB, free: 59.62 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/1.545, allocations: 64.72 kB / 0.881 GB, free: 59.55 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/1.546, allocations: 0.6561 MB / 0.8817 GB, free: 58.87 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001385/1.546, allocations: 25.7 kB / 0.8817 GB, free: 58.84 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.00045/1.546, allocations: 0.716 MB / 0.8824 GB, free: 58.11 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000355/1.547, allocations: 370.5 kB / 0.8827 GB, free: 57.75 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.901e-05/1.547, allocations: 3.938 kB / 0.8827 GB, free: 57.74 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001147/1.547, allocations: 369.9 kB / 0.8831 GB, free: 57.38 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/1.548, allocations: 0.5545 MB / 0.8836 GB, free: 56.82 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001445/1.55, allocations: 0.9895 MB / 0.8846 GB, free: 55.64 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002714/1.552, allocations: 0.8531 MB / 0.8854 GB, free: 54.79 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.752e-05/1.553, allocations: 4 kB / 0.8854 GB, free: 54.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.005732/1.558, allocations: 1.998 MB / 0.8874 GB, free: 52.76 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/1.558, allocations: 8 kB / 0.8874 GB, free: 52.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/1.558, allocations: 16 kB / 0.8874 GB, free: 52.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/1.56, allocations: 251.2 kB / 0.8876 GB, free: 52.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002372/1.562, allocations: 355.4 kB / 0.888 GB, free: 52.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007994/1.57, allocations: 10.33 MB / 0.8981 GB, free: 40.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/1.572, allocations: 95.84 kB / 0.8982 GB, free: 40.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/1.572, allocations: 64.16 kB / 0.8982 GB, free: 40.71 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 171 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003027/1.573, allocations: 152.5 kB / 0.8984 GB, free: 40.55 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003779/1.576, allocations: 1.482 MB / 0.8998 GB, free: 39.04 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002325/1.577, allocations: 122.5 kB / 0.8999 GB, free: 38.92 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005503/1.582, allocations: 1.631 MB / 0.9015 GB, free: 37.25 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/1.582, allocations: 12 kB / 0.9015 GB, free: 37.23 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.582, allocations: 4 kB / 0.9015 GB, free: 37.23 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/1.582, allocations: 7.938 kB / 0.9016 GB, free: 37.22 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007262/1.589, allocations: 3.043 MB / 0.9045 GB, free: 34.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/1.59, allocations: 11.95 kB / 0.9045 GB, free: 34.03 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/1.591, allocations: 219.6 kB / 0.9047 GB, free: 33.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/1.592, allocations: 239 kB / 0.905 GB, free: 33.56 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.501e-05/1.592, allocations: 8 kB / 0.905 GB, free: 33.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007776/1.6, allocations: 10.3 MB / 0.915 GB, free: 22.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.31e-05/1.6, allocations: 11.94 kB / 0.9151 GB, free: 22.31 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00422/1.604, allocations: 2.033 MB / 0.917 GB, free: 20.05 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00075/1.605, allocations: 323.4 kB / 0.9173 GB, free: 19.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/1.605, allocations: 7.984 kB / 0.9174 GB, free: 19.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/1.607, allocations: 71.88 kB / 0.9174 GB, free: 19.64 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/1.607, allocations: 96.56 kB / 0.9175 GB, free: 19.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.169e-05/1.607, allocations: 32 kB / 0.9175 GB, free: 19.51 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007685/1.608, allocations: 0.4938 MB / 0.918 GB, free: 19.01 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.608, allocations: 3.938 kB / 0.918 GB, free: 19 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001869/1.61, allocations: 348 kB / 0.9184 GB, free: 18.66 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 101 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004517/1.614, allocations: 4.124 MB / 0.9224 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004455/1.619, allocations: 2.3 MB / 0.9246 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.968e-06/1.619, allocations: 0 / 0.9246 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002836/1.622, allocations: 1.538 MB / 0.9261 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/1.624, allocations: 274.1 kB / 0.9264 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006734/1.631, allocations: 2.373 MB / 0.9287 GB, free: 7.578 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/1.632, allocations: 1.355 MB / 0.93 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001889/1.634, allocations: 346.4 kB / 0.9304 GB, free: 5.848 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/1.635, allocations: 0.5149 MB / 0.9309 GB, free: 5.332 MB / 0.6511 GB Notification: Performance of SimCode: time 1.533e-06/1.635, allocations: 0 / 0.9309 GB, free: 5.332 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09824/1.733, allocations: 24.85 MB / 0.9551 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003292/1.734, allocations: 167.9 kB / 0.9553 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.571/5.305, allocations: 0 / 0.9553 GB, free: 12.38 MB / 0.6823 GB