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.ACLine_R.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.ACLine_R,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.01161/0.01161, 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.001198/0.001198, 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 2.074/2.074, 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.241/2.241, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004741/0.0004742, allocations: 12 kB / 0.587 GB, free: 2.039 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6538/0.6543, allocations: 98.72 MB / 0.6834 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2548/0.9092, allocations: 146.7 MB / 0.8267 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003844/0.9096, allocations: 103.9 kB / 0.8268 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1497/1.059, allocations: 36.73 MB / 0.8626 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.204e-06/1.059, allocations: 0 / 0.8626 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.801e-05/1.06, allocations: 20 kB / 0.8626 GB, free: 6.121 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002949/1.062, allocations: 1.037 MB / 0.8637 GB, free: 5.027 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/1.063, allocations: 8.031 kB / 0.8637 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003345/1.063, allocations: 134.5 kB / 0.8638 GB, free: 4.879 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002592/1.066, allocations: 238.7 kB / 0.864 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/1.067, allocations: 0.5277 MB / 0.8645 GB, free: 4.074 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.347e-05/1.067, allocations: 53.94 kB / 0.8646 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/1.067, allocations: 67.98 kB / 0.8646 GB, free: 3.957 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00259/1.07, allocations: 1.131 MB / 0.8658 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.82e-05/1.07, allocations: 7.938 kB / 0.8658 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/1.07, allocations: 32 kB / 0.8658 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001229/1.07, allocations: 57.27 kB / 0.8658 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002112/1.072, allocations: 0.7426 MB / 0.8666 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009087/1.082, allocations: 5.928 MB / 0.8724 GB, free: 11.49 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/1.083, allocations: 0.5515 MB / 0.8729 GB, free: 10.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.446e-05/1.083, allocations: 4.438 kB / 0.8729 GB, free: 10.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/1.083, allocations: 43 kB / 0.8729 GB, free: 10.87 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 3.477e-06/1.083, allocations: 0 / 0.8729 GB, free: 10.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.00666/1.09, allocations: 1.972 MB / 0.8749 GB, free: 8.805 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/1.09, allocations: 59.83 kB / 0.8749 GB, free: 8.734 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009383/1.091, allocations: 495.3 kB / 0.8754 GB, free: 8.242 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/1.091, allocations: 33.7 kB / 0.8754 GB, free: 8.203 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003924/1.092, allocations: 407.1 kB / 0.8758 GB, free: 7.801 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002397/1.092, allocations: 165.6 kB / 0.876 GB, free: 7.637 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.067e-05/1.092, allocations: 12 kB / 0.876 GB, free: 7.625 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001882/1.092, allocations: 370.8 kB / 0.8763 GB, free: 7.254 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000708/1.093, allocations: 277.1 kB / 0.8766 GB, free: 6.984 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008452/1.094, allocations: 458.8 kB / 0.877 GB, free: 6.453 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008541/1.095, allocations: 346 kB / 0.8774 GB, free: 6.117 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/1.095, allocations: 0 / 0.8774 GB, free: 6.117 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003128/1.098, allocations: 1.064 MB / 0.8784 GB, free: 5.031 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/1.098, allocations: 5.562 kB / 0.8784 GB, free: 5.027 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/1.098, allocations: 12 kB / 0.8784 GB, free: 5.016 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001457/1.099, allocations: 275.2 kB / 0.8787 GB, free: 4.734 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009861/1.1, allocations: 115.8 kB / 0.8788 GB, free: 4.621 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009761/1.11, allocations: 6.709 MB / 0.8854 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/1.111, allocations: 35.97 kB / 0.8854 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.014e-05/1.111, allocations: 24 kB / 0.8854 GB, free: 13.32 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (63): * Single equations (assignments): 59 * 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: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005886/1.112, allocations: 253.7 kB / 0.8857 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/1.112, allocations: 71.16 kB / 0.8857 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002688/1.115, allocations: 0.8807 MB / 0.8866 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/1.115, allocations: 8 kB / 0.8866 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/1.115, allocations: 4 kB / 0.8866 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/1.115, allocations: 3.984 kB / 0.8866 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004495/1.12, allocations: 1.709 MB / 0.8883 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/1.12, allocations: 4 kB / 0.8883 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005343/1.12, allocations: 63.89 kB / 0.8883 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001378/1.122, allocations: 263.8 kB / 0.8886 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-05/1.122, allocations: 15.95 kB / 0.8886 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009425/1.131, allocations: 6.697 MB / 0.8951 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/1.131, allocations: 8.094 kB / 0.8951 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002731/1.134, allocations: 1.048 MB / 0.8962 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000512/1.134, allocations: 188.7 kB / 0.8963 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/1.135, allocations: 8 kB / 0.8964 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006431/1.135, allocations: 35.95 kB / 0.8964 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/1.135, allocations: 39.91 kB / 0.8964 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.177e-05/1.135, allocations: 16 kB / 0.8964 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007191/1.136, allocations: 383.1 kB / 0.8968 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.136, allocations: 4 kB / 0.8968 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001214/1.137, allocations: 232 kB / 0.897 GB, free: 0.6562 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003235/1.141, allocations: 2.028 MB / 0.899 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003182/1.144, allocations: 1.259 MB / 0.9002 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.144, allocations: 3.938 kB / 0.9002 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002056/1.146, allocations: 0.8816 MB / 0.9011 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/1.148, allocations: 193.5 kB / 0.9013 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/1.16, allocations: 8.281 MB / 0.9094 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000831/1.161, allocations: 1.024 MB / 0.9104 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000805/1.162, allocations: 117.9 kB / 0.9105 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004935/1.162, allocations: 255.4 kB / 0.9107 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of SimCode: time 1.052e-06/1.162, allocations: 0 / 0.9107 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6328/1.795, allocations: 16.24 MB / 0.9266 GB, free: 189.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/1.795, allocations: 219 kB / 0.9268 GB, free: 189.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.984/4.779, allocations: 0 / 0.9268 GB, free: 189.1 MB / 0.7292 GB