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.Lines.Examples.ACSimpleGrid.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.008/4.008, allocations: 432.6 MB / 445.2 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.154e-05/3.163e-05, allocations: 4.719 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2133, allocations: 98.72 MB / 0.6347 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9085/1.122, allocations: 168.3 MB / 0.7991 GB, free: 46.33 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003542/1.122, allocations: 95.97 kB / 0.7992 GB, free: 46.33 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1097/1.232, allocations: 28.63 MB / 0.8272 GB, free: 43.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.833e-06/1.232, allocations: 0 / 0.8272 GB, free: 43.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.406e-05/1.232, allocations: 11.38 kB / 0.8272 GB, free: 43.6 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001439/1.234, allocations: 0.6892 MB / 0.8278 GB, free: 43.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/1.234, allocations: 11.62 kB / 0.8279 GB, free: 43.1 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001191/1.234, allocations: 74.61 kB / 0.8279 GB, free: 43.06 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004293/1.238, allocations: 0.5665 MB / 0.8285 GB, free: 42.85 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/1.239, allocations: 476.1 kB / 0.8289 GB, free: 42.54 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/1.239, allocations: 29.47 kB / 0.829 GB, free: 42.54 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/1.24, allocations: 30.97 kB / 0.829 GB, free: 42.54 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/1.241, allocations: 0.5911 MB / 0.8296 GB, free: 42.32 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/1.241, allocations: 0 / 0.8296 GB, free: 42.32 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.199e-05/1.241, allocations: 10.91 kB / 0.8296 GB, free: 42.32 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.674e-05/1.241, allocations: 20.36 kB / 0.8296 GB, free: 42.31 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/1.242, allocations: 0.5139 MB / 0.8301 GB, free: 42.23 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005481/1.248, allocations: 2.862 MB / 0.8329 GB, free: 40.19 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/1.249, allocations: 357.5 kB / 0.8332 GB, free: 40.09 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003362/1.249, allocations: 167.7 kB / 0.8334 GB, free: 40.06 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/1.249, allocations: 81.08 kB / 0.8335 GB, free: 39.96 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/1.249, allocations: 30.56 kB / 0.8335 GB, free: 39.93 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 2.524e-06/1.249, allocations: 3.875 kB / 0.8335 GB, free: 39.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24): time 0.01026/1.26, allocations: 2.044 MB / 0.8355 GB, free: 39.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/1.26, allocations: 80.92 kB / 0.8356 GB, free: 39.11 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006137/1.26, allocations: 378.5 kB / 0.8359 GB, free: 38.96 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.984e-05/1.261, allocations: 29.2 kB / 0.836 GB, free: 38.93 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/1.261, allocations: 236.1 kB / 0.8362 GB, free: 38.77 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.318e-05/1.261, allocations: 80.77 kB / 0.8363 GB, free: 38.71 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.923e-05/1.261, allocations: 7.188 kB / 0.8363 GB, free: 38.71 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.058e-05/1.261, allocations: 345.4 kB / 0.8366 GB, free: 38.39 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005263/1.261, allocations: 253.4 kB / 0.8368 GB, free: 38.35 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000582/1.262, allocations: 317.8 kB / 0.8372 GB, free: 38.23 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005801/1.263, allocations: 275.9 kB / 0.8374 GB, free: 38.18 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.263, allocations: 0 / 0.8374 GB, free: 38.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00479/1.268, allocations: 1.142 MB / 0.8385 GB, free: 37.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001806/1.268, allocations: 0.7847 MB / 0.8393 GB, free: 36.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.268, allocations: 3.938 kB / 0.8393 GB, free: 36.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004226/1.272, allocations: 0.6372 MB / 0.8399 GB, free: 36.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/1.273, allocations: 128.6 kB / 0.84 GB, free: 36.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00516/1.278, allocations: 3.121 MB / 0.8431 GB, free: 34.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/1.28, allocations: 121.1 kB / 0.8432 GB, free: 34.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-05/1.28, allocations: 15.7 kB / 0.8432 GB, free: 34.48 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/1.28, allocations: 3.875 kB / 0.8432 GB, free: 34.48 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003693/1.283, allocations: 0.8847 MB / 0.8441 GB, free: 34.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.283, allocations: 8.062 kB / 0.8441 GB, free: 34.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002569/1.286, allocations: 387.8 kB / 0.8445 GB, free: 34.08 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/1.287, allocations: 146.9 kB / 0.8446 GB, free: 34.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004281/1.292, allocations: 2.406 MB / 0.847 GB, free: 32.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/1.293, allocations: 104.6 kB / 0.8471 GB, free: 32.42 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-05/1.293, allocations: 19.48 kB / 0.8471 GB, free: 32.41 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001931/1.293, allocations: 126.2 kB / 0.8472 GB, free: 32.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/1.293, allocations: 34.72 kB / 0.8472 GB, free: 32.28 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004911/1.298, allocations: 1.122 MB / 0.8483 GB, free: 31.88 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/1.298, allocations: 3.844 kB / 0.8483 GB, free: 31.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.298, allocations: 0 / 0.8483 GB, free: 31.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/1.298, allocations: 3.984 kB / 0.8483 GB, free: 31.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006088/1.304, allocations: 1.796 MB / 0.8501 GB, free: 31.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/1.304, allocations: 0 / 0.8501 GB, free: 31.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000748/1.305, allocations: 93.83 kB / 0.8502 GB, free: 31.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004135/1.309, allocations: 0.6177 MB / 0.8508 GB, free: 30.81 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.871e-05/1.309, allocations: 7.781 kB / 0.8508 GB, free: 30.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007429/1.317, allocations: 4.382 MB / 0.8551 GB, free: 27.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/1.317, allocations: 0 / 0.8551 GB, free: 27.76 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004594/1.322, allocations: 1.165 MB / 0.8562 GB, free: 27.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003942/1.322, allocations: 171.5 kB / 0.8564 GB, free: 27.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/1.322, allocations: 10.94 kB / 0.8564 GB, free: 27.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009609/1.323, allocations: 89.17 kB / 0.8565 GB, free: 27.06 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/1.323, allocations: 30.42 kB / 0.8565 GB, free: 27.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.426e-05/1.323, allocations: 7.75 kB / 0.8565 GB, free: 27.05 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004907/1.324, allocations: 306.6 kB / 0.8568 GB, free: 26.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/1.324, allocations: 4 kB / 0.8568 GB, free: 26.93 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00111/1.325, allocations: 214.9 kB / 0.857 GB, free: 26.92 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.005205/1.33, allocations: 1.99 MB / 0.8589 GB, free: 25.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003033/1.333, allocations: 1.194 MB / 0.8601 GB, free: 25.23 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/1.333, allocations: 0.625 kB / 0.8601 GB, free: 25.23 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001311/1.335, allocations: 0.5834 MB / 0.8607 GB, free: 24.92 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009157/1.336, allocations: 109.5 kB / 0.8608 GB, free: 24.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/1.338, allocations: 0.9118 MB / 0.8617 GB, free: 24.49 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004535/1.338, allocations: 0.9204 MB / 0.8626 GB, free: 23.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001133/1.339, allocations: 219.5 kB / 0.8628 GB, free: 23.61 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003232/1.34, allocations: 135.2 kB / 0.8629 GB, free: 23.58 MB / 0.6511 GB Notification: Performance of SimCode: time 1.002e-06/1.34, allocations: 0 / 0.8629 GB, free: 23.58 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06348/1.403, allocations: 16.19 MB / 0.8787 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/1.404, allocations: 191 kB / 0.8789 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.811/4.214, allocations: 0 / 0.8789 GB, free: 15.48 MB / 0.6511 GB