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 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.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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01061/0.01061, allocations: 106.6 kB / 15.05 MB, free: 5.93 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.001184/0.001184, allocations: 186.4 kB / 15.94 MB, free: 5.895 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.978/1.978, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.232/2.232, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004784, allocations: 12 kB / 0.587 GB, free: 2.039 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6486/0.6491, allocations: 98.71 MB / 0.6834 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2893/0.9384, allocations: 168.4 MB / 0.8479 GB, free: 5.633 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003934/0.9389, allocations: 95.94 kB / 0.848 GB, free: 5.539 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1255/1.064, allocations: 28.76 MB / 0.8761 GB, free: 8.43 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.156e-06/1.064, allocations: 4 kB / 0.8761 GB, free: 8.426 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.288e-05/1.065, allocations: 12 kB / 0.8761 GB, free: 8.414 MB / 0.698 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.002879/1.067, allocations: 0.7401 MB / 0.8768 GB, free: 7.625 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.963e-05/1.068, allocations: 19.91 kB / 0.8769 GB, free: 7.605 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002927/1.068, allocations: 78.52 kB / 0.8769 GB, free: 7.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007088/1.075, allocations: 0.5727 MB / 0.8775 GB, free: 6.945 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/1.077, allocations: 466.7 kB / 0.8779 GB, free: 6.445 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.482e-05/1.077, allocations: 20.66 kB / 0.878 GB, free: 6.422 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/1.077, allocations: 35.98 kB / 0.878 GB, free: 6.387 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004262/1.082, allocations: 0.7591 MB / 0.8787 GB, free: 5.598 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.96e-05/1.082, allocations: 0 / 0.8787 GB, free: 5.598 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/1.082, allocations: 19.98 kB / 0.8788 GB, free: 5.578 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-05/1.082, allocations: 24.64 kB / 0.8788 GB, free: 5.555 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005854/1.088, allocations: 0.8531 MB / 0.8796 GB, free: 4.703 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009542/1.097, allocations: 2.87 MB / 0.8824 GB, free: 1.605 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003865/1.101, allocations: 0.5175 MB / 0.8829 GB, free: 1.078 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002211/1.102, allocations: 89.11 kB / 0.883 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/1.102, allocations: 30.56 kB / 0.883 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 3.236e-06/1.102, allocations: 0 / 0.883 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.02631/1.128, allocations: 2.947 MB / 0.8859 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/1.128, allocations: 81.11 kB / 0.886 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/1.129, allocations: 384.6 kB / 0.8864 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001446/1.13, allocations: 33.7 kB / 0.8864 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003588/1.13, allocations: 231.9 kB / 0.8866 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/1.13, allocations: 90.73 kB / 0.8867 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/1.13, allocations: 8 kB / 0.8867 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002459/1.131, allocations: 342.8 kB / 0.887 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00233/1.133, allocations: 363.7 kB / 0.8874 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/1.135, allocations: 445.2 kB / 0.8878 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/1.136, allocations: 392.8 kB / 0.8882 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.137, allocations: 3.938 kB / 0.8882 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.007807/1.144, allocations: 1.407 MB / 0.8896 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.00038/1.145, allocations: 0.7878 MB / 0.8903 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/1.145, allocations: 0 / 0.8903 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005521/1.15, allocations: 0.7038 MB / 0.891 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/1.152, allocations: 131.8 kB / 0.8911 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007074/1.159, allocations: 3.249 MB / 0.8943 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/1.16, allocations: 119.9 kB / 0.8944 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.092e-05/1.16, allocations: 12 kB / 0.8944 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/1.16, allocations: 4 kB / 0.8944 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006416/1.167, allocations: 1.152 MB / 0.8956 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/1.167, allocations: 0 / 0.8956 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003607/1.17, allocations: 468.4 kB / 0.896 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/1.171, allocations: 143.8 kB / 0.8962 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005812/1.177, allocations: 2.53 MB / 0.8986 GB, free: 492 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/1.179, allocations: 107.9 kB / 0.8987 GB, free: 384 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.753e-05/1.179, allocations: 15.98 kB / 0.8987 GB, free: 368 kB / 0.7136 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 () * Number of clocked 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.0007876/1.18, allocations: 321 kB / 0.899 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/1.18, allocations: 35.53 kB / 0.8991 GB, free: 0 / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009229/1.189, allocations: 1.317 MB / 0.9004 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/1.189, allocations: 4 kB / 0.9004 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/1.189, allocations: 4 kB / 0.9004 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.662e-05/1.189, allocations: 7.984 kB / 0.9004 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01195/1.201, allocations: 1.993 MB / 0.9023 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/1.201, allocations: 0 / 0.9023 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009428/1.202, allocations: 83.98 kB / 0.9024 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006863/1.209, allocations: 0.6843 MB / 0.9031 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.125e-05/1.209, allocations: 15.94 kB / 0.9031 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01294/1.222, allocations: 4.567 MB / 0.9076 GB, free: 6.965 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/1.222, allocations: 0 / 0.9076 GB, free: 6.965 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009249/1.232, allocations: 1.37 MB / 0.9089 GB, free: 5.543 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005377/1.232, allocations: 172.7 kB / 0.9091 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/1.232, allocations: 4 kB / 0.9091 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/1.234, allocations: 87.86 kB / 0.9091 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/1.234, allocations: 27.91 kB / 0.9092 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.531e-05/1.234, allocations: 19.98 kB / 0.9092 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007874/1.235, allocations: 311.1 kB / 0.9095 GB, free: 4.914 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.91e-07/1.235, allocations: 0 / 0.9095 GB, free: 4.914 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001807/1.237, allocations: 212 kB / 0.9097 GB, free: 4.707 MB / 0.7292 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 () * Number of clocked 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.01021/1.247, allocations: 2.2 MB / 0.9118 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.008265/1.255, allocations: 1.494 MB / 0.9133 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/1.255, allocations: 0 / 0.9133 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003032/1.258, allocations: 0.6768 MB / 0.914 GB, free: 240 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/1.26, allocations: 107.7 kB / 0.9141 GB, free: 136 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5436/1.803, allocations: 5.245 MB / 0.9192 GB, free: 193.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006402/1.804, allocations: 0.919 MB / 0.9201 GB, free: 193.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001022/1.805, allocations: 152.1 kB / 0.9202 GB, free: 193.1 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003715/1.806, allocations: 136.4 kB / 0.9204 GB, free: 193.1 MB / 0.7292 GB Notification: Performance of SimCode: time 2.255e-06/1.806, allocations: 1.094 kB / 0.9204 GB, free: 193.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05683/1.862, allocations: 15.9 MB / 0.9359 GB, free: 192.4 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00026/1.863, allocations: 223.3 kB / 0.9361 GB, free: 192.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.833/4.695, allocations: 1.125 kB / 0.9361 GB, free: 192.2 MB / 0.7292 GB