Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",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.01059/0.01059, allocations: 107.1 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.001136/0.001136, allocations: 184.9 kB / 15.95 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.888/1.888, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.215/2.215, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004786/0.0004788, allocations: 12 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6578/0.6583, allocations: 98.72 MB / 0.6834 GB, free: 16.67 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2556/0.914, allocations: 145.3 MB / 0.8254 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003463/0.9144, allocations: 83.95 kB / 0.8255 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06575/0.9802, allocations: 16.26 MB / 0.8413 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.394e-06/0.9802, allocations: 0 / 0.8413 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.097e-05/0.9803, allocations: 4 kB / 0.8413 GB, free: 12.26 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001132/0.9814, allocations: 0.5423 MB / 0.8419 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.9815, allocations: 12.03 kB / 0.8419 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.42e-05/0.9816, allocations: 58.48 kB / 0.8419 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.9828, allocations: 91.61 kB / 0.842 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/0.9832, allocations: 258.6 kB / 0.8423 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.9833, allocations: 12.38 kB / 0.8423 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.032e-05/0.9834, allocations: 24 kB / 0.8423 GB, free: 11.17 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009483/0.9843, allocations: 377.7 kB / 0.8427 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.9843, allocations: 0 / 0.8427 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.862e-05/0.9844, allocations: 11.98 kB / 0.8427 GB, free: 10.76 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.801e-05/0.9845, allocations: 32.25 kB / 0.8427 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.9855, allocations: 332.6 kB / 0.843 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002686/0.9882, allocations: 1.724 MB / 0.8447 GB, free: 8.543 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.9894, allocations: 341 kB / 0.845 GB, free: 8.191 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001972/0.9896, allocations: 89.09 kB / 0.8451 GB, free: 8.086 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.9897, allocations: 38.56 kB / 0.8452 GB, free: 8.039 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=20): time 2.655e-06/0.9897, allocations: 0 / 0.8452 GB, free: 8.039 MB / 0.6667 GB Notification: Performance of matching and sorting (n=21): time 0.002196/0.9919, allocations: 0.6039 MB / 0.8457 GB, free: 7.406 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.992, allocations: 77.11 kB / 0.8458 GB, free: 7.312 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.9922, allocations: 187 kB / 0.846 GB, free: 7.125 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.9923, allocations: 25.7 kB / 0.846 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.9924, allocations: 171.1 kB / 0.8462 GB, free: 6.926 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.711e-05/0.9925, allocations: 74.94 kB / 0.8463 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.9926, allocations: 4 kB / 0.8463 GB, free: 6.848 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.9927, allocations: 334.8 kB / 0.8466 GB, free: 6.512 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004319/0.9931, allocations: 131.9 kB / 0.8467 GB, free: 6.383 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004936/0.9937, allocations: 210.4 kB / 0.8469 GB, free: 6.137 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005061/0.9942, allocations: 162.9 kB / 0.8471 GB, free: 5.98 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.9942, allocations: 4 kB / 0.8471 GB, free: 5.977 MB / 0.6667 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001388/0.9956, allocations: 432.9 kB / 0.8475 GB, free: 5.547 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004415/0.996, allocations: 1.051 MB / 0.8485 GB, free: 4.414 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.9961, allocations: 4 kB / 0.8485 GB, free: 4.41 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003333/0.9964, allocations: 44.75 kB / 0.8486 GB, free: 4.363 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005988/0.997, allocations: 79.88 kB / 0.8486 GB, free: 4.285 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.999, allocations: 1.509 MB / 0.8501 GB, free: 2.641 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000432/0.9995, allocations: 35.84 kB / 0.8501 GB, free: 2.605 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.836e-05/0.9995, allocations: 19.98 kB / 0.8502 GB, free: 2.586 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.9995, allocations: 4 kB / 0.8502 GB, free: 2.582 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001277/1.001, allocations: 362.9 kB / 0.8505 GB, free: 2.227 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/1.001, allocations: 4 kB / 0.8505 GB, free: 2.223 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002345/1.001, allocations: 40.81 kB / 0.8505 GB, free: 2.18 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005267/1.002, allocations: 72.17 kB / 0.8506 GB, free: 2.109 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/1.003, allocations: 1.501 MB / 0.8521 GB, free: 480 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003508/1.004, allocations: 43.83 kB / 0.8521 GB, free: 436 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/1.004, allocations: 8 kB / 0.8521 GB, free: 428 kB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003096/1.004, allocations: 233 kB / 0.8524 GB, free: 184 kB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.718e-05/1.004, allocations: 15.81 kB / 0.8524 GB, free: 168 kB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/1.005, allocations: 370 kB / 0.8527 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/1.005, allocations: 4 kB / 0.8527 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.005, allocations: 0 / 0.8527 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/1.005, allocations: 7.953 kB / 0.8527 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/1.008, allocations: 0.9733 MB / 0.8537 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/1.008, allocations: 3.938 kB / 0.8537 GB, free: 14.72 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004518/1.008, allocations: 51.95 kB / 0.8537 GB, free: 14.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002103/1.009, allocations: 32.83 kB / 0.8538 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/1.009, allocations: 11.94 kB / 0.8538 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/1.01, allocations: 1.414 MB / 0.8552 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/1.01, allocations: 7.969 kB / 0.8552 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/1.012, allocations: 0.6243 MB / 0.8558 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/1.012, allocations: 128.8 kB / 0.8559 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.756e-05/1.012, allocations: 19.94 kB / 0.8559 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004141/1.012, allocations: 15.98 kB / 0.8559 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.57e-05/1.012, allocations: 19.97 kB / 0.856 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/1.012, allocations: 8 kB / 0.856 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002134/1.013, allocations: 163.7 kB / 0.8561 GB, free: 12 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.8e-07/1.013, allocations: 0 / 0.8561 GB, free: 12 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008773/1.013, allocations: 119.9 kB / 0.8562 GB, free: 11.89 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001978/1.015, allocations: 1.659 MB / 0.8579 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002134/1.018, allocations: 0.7438 MB / 0.8586 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.018, allocations: 0 / 0.8586 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006951/1.018, allocations: 284.8 kB / 0.8588 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004808/1.019, allocations: 35.83 kB / 0.8589 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004649/1.024, allocations: 3.321 MB / 0.8621 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004881/1.024, allocations: 0.7717 MB / 0.8629 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004851/1.025, allocations: 85.86 kB / 0.863 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/1.025, allocations: 79.41 kB / 0.863 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of SimCode: time 1.323e-06/1.025, allocations: 0 / 0.863 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03114/1.056, allocations: 5.16 MB / 0.8681 GB, free: 15.63 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003505/1.056, allocations: 212.9 kB / 0.8683 GB, free: 15.39 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.403/3.459, allocations: 3.938 kB / 0.8683 GB, free: 15.39 MB / 0.698 GB