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: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009251/0.009251, allocations: 110.7 kB / 15.05 MB, free: 5.965 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.001164/0.001163, allocations: 183.8 kB / 15.94 MB, free: 5.93 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.941/1.941, allocations: 194.5 MB / 211.3 MB, free: 11.08 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.289/2.289, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005322/0.0005324, allocations: 8 kB / 0.5869 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6004/0.601, allocations: 98.71 MB / 0.6833 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2237/0.8247, allocations: 146.6 MB / 0.8266 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/0.8251, allocations: 99.94 kB / 0.8267 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1363/0.9614, allocations: 36.73 MB / 0.8625 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.735e-06/0.9614, allocations: 0 / 0.8625 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.294e-05/0.9615, allocations: 24 kB / 0.8625 GB, free: 6.16 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.002366/0.9639, allocations: 1.045 MB / 0.8636 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.9639, allocations: 8.031 kB / 0.8636 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002235/0.9662, allocations: 234.7 kB / 0.8638 GB, free: 4.82 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.9676, allocations: 0.5316 MB / 0.8643 GB, free: 4.246 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.368e-05/0.9677, allocations: 49.98 kB / 0.8644 GB, free: 4.199 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/0.9679, allocations: 67.98 kB / 0.8644 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/0.9702, allocations: 1.142 MB / 0.8655 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/0.9703, allocations: 3.938 kB / 0.8655 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/0.9705, allocations: 32 kB / 0.8656 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/0.9706, allocations: 53.28 kB / 0.8656 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/0.9724, allocations: 0.7465 MB / 0.8664 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007932/0.9803, allocations: 5.917 MB / 0.8721 GB, free: 11.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.9817, allocations: 0.5476 MB / 0.8727 GB, free: 11.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-05/0.9818, allocations: 4.438 kB / 0.8727 GB, free: 11.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.9818, allocations: 43 kB / 0.8727 GB, free: 11.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 3.53e-06/0.9819, allocations: 3.938 kB / 0.8727 GB, free: 11.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.00521/0.9871, allocations: 1.98 MB / 0.8747 GB, free: 8.973 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.9872, allocations: 63.78 kB / 0.8747 GB, free: 8.898 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008562/0.988, allocations: 491.3 kB / 0.8752 GB, free: 8.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.959e-05/0.9882, allocations: 33.7 kB / 0.8752 GB, free: 8.371 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003555/0.9885, allocations: 403.1 kB / 0.8756 GB, free: 7.973 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.9888, allocations: 169.6 kB / 0.8758 GB, free: 7.805 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/0.9888, allocations: 16 kB / 0.8758 GB, free: 7.789 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000219/0.989, allocations: 370.8 kB / 0.8761 GB, free: 7.418 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005877/0.9896, allocations: 269.2 kB / 0.8764 GB, free: 7.156 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007534/0.9904, allocations: 462.8 kB / 0.8768 GB, free: 6.621 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007138/0.9911, allocations: 338 kB / 0.8771 GB, free: 6.293 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.029e-06/0.9912, allocations: 4 kB / 0.8772 GB, free: 6.289 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002593/0.9938, allocations: 1.056 MB / 0.8782 GB, free: 5.211 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.9938, allocations: 8 kB / 0.8782 GB, free: 5.203 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.9938, allocations: 8.062 kB / 0.8782 GB, free: 5.195 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/0.995, allocations: 279.2 kB / 0.8785 GB, free: 4.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000621/0.9956, allocations: 115.8 kB / 0.8786 GB, free: 4.797 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008993/1.005, allocations: 6.705 MB / 0.8851 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000802/1.005, allocations: 39.92 kB / 0.8852 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-05/1.006, allocations: 31.98 kB / 0.8852 GB, free: 13.49 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.0005501/1.006, allocations: 249.7 kB / 0.8854 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/1.006, allocations: 71.16 kB / 0.8855 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/1.009, allocations: 0.8846 MB / 0.8864 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/1.009, allocations: 8 kB / 0.8864 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/1.009, allocations: 4 kB / 0.8864 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.906e-06/1.009, allocations: 0 / 0.8864 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003936/1.013, allocations: 1.717 MB / 0.888 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.351e-06/1.013, allocations: 4 kB / 0.8881 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003559/1.013, allocations: 55.95 kB / 0.8881 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/1.014, allocations: 267.3 kB / 0.8884 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-05/1.014, allocations: 8 kB / 0.8884 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009057/1.023, allocations: 6.698 MB / 0.8949 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.647e-06/1.023, allocations: 8.031 kB / 0.8949 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002303/1.026, allocations: 1.044 MB / 0.8959 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000505/1.026, allocations: 192.3 kB / 0.8961 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/1.026, allocations: 8 kB / 0.8961 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004995/1.027, allocations: 31.97 kB / 0.8962 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/1.027, allocations: 51.77 kB / 0.8962 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/1.027, allocations: 16 kB / 0.8962 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006526/1.028, allocations: 383.1 kB / 0.8966 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.02e-07/1.028, allocations: 0 / 0.8966 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001214/1.029, allocations: 232 kB / 0.8968 GB, free: 0.8281 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.00023/1.029, allocations: 123.1 kB / 0.8969 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002901/1.032, allocations: 1.256 MB / 0.8982 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.61e-06/1.032, allocations: 0 / 0.8982 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001814/1.034, allocations: 0.8932 MB / 0.899 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/1.035, allocations: 192.1 kB / 0.8992 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005086/1.04, allocations: 1.574 MB / 0.9007 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/1.042, allocations: 1.02 MB / 0.9017 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001119/1.043, allocations: 126.1 kB / 0.9019 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002439/1.043, allocations: 43.42 kB / 0.9019 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of SimCode: time 2.035e-06/1.043, allocations: 0 / 0.9019 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of Templates: time 0.03057/1.074, allocations: 10.31 MB / 0.912 GB, free: 1.203 MB / 0.7292 GB