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.ACSimpleGrid.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01118/0.01118, allocations: 106.9 kB / 15.05 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001189/0.001189, allocations: 183.8 kB / 15.94 MB, free: 5.898 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.956/1.956, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.266/2.266, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004624/0.0004625, allocations: 12 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6598/0.6603, allocations: 98.72 MB / 0.6834 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3003/0.9607, allocations: 178.3 MB / 0.8576 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003768/0.9612, allocations: 99.94 kB / 0.8576 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.8021/1.763, allocations: 64.01 MB / 0.9202 GB, free: 177.8 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.026e-06/1.763, allocations: 0 / 0.9202 GB, free: 177.8 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001774/1.764, allocations: 35.83 kB / 0.9202 GB, free: 177.8 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.007249/1.771, allocations: 1.662 MB / 0.9218 GB, free: 177 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/1.771, allocations: 9.344 kB / 0.9218 GB, free: 177 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001111/1.772, allocations: 252.8 kB / 0.9221 GB, free: 176.9 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004901/1.777, allocations: 0.4956 MB / 0.9225 GB, free: 176.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004205/1.781, allocations: 1.149 MB / 0.9237 GB, free: 176.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/1.781, allocations: 115.5 kB / 0.9238 GB, free: 176.5 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007132/1.782, allocations: 146.4 kB / 0.9239 GB, free: 176.5 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008363/1.79, allocations: 2.478 MB / 0.9263 GB, free: 176.3 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.65e-05/1.791, allocations: 4.203 kB / 0.9263 GB, free: 176.3 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002929/1.791, allocations: 70.92 kB / 0.9264 GB, free: 176.3 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001668/1.791, allocations: 84.09 kB / 0.9265 GB, free: 176.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00708/1.798, allocations: 2.044 MB / 0.9285 GB, free: 176.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02055/1.819, allocations: 10.51 MB / 0.9388 GB, free: 170.7 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/1.821, allocations: 0.5778 MB / 0.9393 GB, free: 170.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002085/1.821, allocations: 91.83 kB / 0.9394 GB, free: 170.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/1.821, allocations: 41 kB / 0.9394 GB, free: 170.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=36): time 3.647e-06/1.821, allocations: 0 / 0.9394 GB, free: 170.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52): time 0.0315/1.853, allocations: 5.715 MB / 0.945 GB, free: 170 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/1.853, allocations: 83.3 kB / 0.9451 GB, free: 169.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/1.855, allocations: 0.8204 MB / 0.9459 GB, free: 169.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002008/1.855, allocations: 34.3 kB / 0.9459 GB, free: 169.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000625/1.855, allocations: 0.758 MB / 0.9467 GB, free: 169.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003222/1.856, allocations: 187.5 kB / 0.9469 GB, free: 169.1 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/1.856, allocations: 20.03 kB / 0.9469 GB, free: 169.1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002136/1.856, allocations: 386.3 kB / 0.9472 GB, free: 168.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001915/1.858, allocations: 0.6385 MB / 0.9479 GB, free: 168.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002187/1.86, allocations: 1.007 MB / 0.9489 GB, free: 168 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002222/1.863, allocations: 0.8129 MB / 0.9496 GB, free: 167.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-05/1.863, allocations: 3.75 kB / 0.9497 GB, free: 167.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01325/1.876, allocations: 2.932 MB / 0.9525 GB, free: 166.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001027/1.877, allocations: 4.535 MB / 0.9569 GB, free: 162.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.045e-05/1.877, allocations: 12.25 kB / 0.957 GB, free: 162.1 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01159/1.889, allocations: 1.556 MB / 0.9585 GB, free: 161.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/1.891, allocations: 228.9 kB / 0.9587 GB, free: 161.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0139/1.904, allocations: 7.119 MB / 0.9656 GB, free: 157 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002245/1.907, allocations: 169 kB / 0.9658 GB, free: 157 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002696/1.907, allocations: 43.03 kB / 0.9658 GB, free: 156.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/1.907, allocations: 5.5 kB / 0.9659 GB, free: 156.9 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01033/1.917, allocations: 2.408 MB / 0.9682 GB, free: 156.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-05/1.918, allocations: 11.41 kB / 0.9682 GB, free: 156.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007244/1.925, allocations: 0.9925 MB / 0.9692 GB, free: 156.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/1.927, allocations: 261.3 kB / 0.9694 GB, free: 156.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/1.938, allocations: 5.598 MB / 0.9749 GB, free: 152.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/1.94, allocations: 139.8 kB / 0.975 GB, free: 152.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002073/1.94, allocations: 42.31 kB / 0.9751 GB, free: 152.5 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001801/1.942, allocations: 0.8406 MB / 0.9759 GB, free: 152.1 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003234/1.943, allocations: 80.59 kB / 0.976 GB, free: 152 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/1.954, allocations: 2.471 MB / 0.9784 GB, free: 151.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/1.954, allocations: 3.75 kB / 0.9784 GB, free: 151.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/1.954, allocations: 7.844 kB / 0.9784 GB, free: 151.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-05/1.954, allocations: 3.797 kB / 0.9784 GB, free: 151.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01547/1.97, allocations: 4.296 MB / 0.9826 GB, free: 149.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/1.97, allocations: 3.219 kB / 0.9826 GB, free: 149.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008146/1.97, allocations: 102.7 kB / 0.9827 GB, free: 149.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01048/1.981, allocations: 1.509 MB / 0.9842 GB, free: 149.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001622/1.981, allocations: 7.812 kB / 0.9842 GB, free: 149.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01779/1.999, allocations: 9.93 MB / 0.9939 GB, free: 142.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.999, allocations: 0 / 0.9939 GB, free: 142.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01077/2.01, allocations: 2.53 MB / 0.9963 GB, free: 141.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008635/2.011, allocations: 282.5 kB / 0.9966 GB, free: 141.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/2.011, allocations: 21.89 kB / 0.9966 GB, free: 141.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/2.012, allocations: 119.7 kB / 0.9967 GB, free: 141.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003094/2.013, allocations: 53.38 kB / 0.9968 GB, free: 141.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.119e-05/2.013, allocations: 18.7 kB / 0.9968 GB, free: 141.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001186/2.014, allocations: 0.6339 MB / 0.9974 GB, free: 141.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.5e-07/2.014, allocations: 0 / 0.9974 GB, free: 141.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002936/2.017, allocations: 0.616 MB / 0.998 GB, free: 141.2 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01153/2.028, allocations: 3.709 MB / 1.002 GB, free: 139.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.008849/2.037, allocations: 3.095 MB / 1.005 GB, free: 137.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-05/2.037, allocations: 4.312 kB / 1.005 GB, free: 137.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003154/2.04, allocations: 1.272 MB / 1.006 GB, free: 137.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/2.042, allocations: 216.9 kB / 1.006 GB, free: 137.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.028/2.07, allocations: 17.18 MB / 1.023 GB, free: 120.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001653/2.072, allocations: 1.645 MB / 1.025 GB, free: 119.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002132/2.074, allocations: 488.5 kB / 1.025 GB, free: 118.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009463/2.075, allocations: 479.3 kB / 1.025 GB, free: 118.2 MB / 0.7292 GB Notification: Performance of SimCode: time 1.002e-06/2.075, allocations: 0 / 1.025 GB, free: 118.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1082/2.183, allocations: 33.51 MB / 1.058 GB, free: 85.39 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002275/2.184, allocations: 243.8 kB / 1.058 GB, free: 85.15 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.505/5.688, allocations: 2.5 kB / 1.058 GB, free: 85.15 MB / 0.7292 GB