Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.918/3.918, allocations: 432.7 MB / 445.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.249e-05/3.259e-05, allocations: 4.312 kB / 0.5383 GB, free: 10.34 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1752, allocations: 98.73 MB / 0.6347 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7022/0.8775, allocations: 146.6 MB / 0.7778 GB, free: 142.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.8778, allocations: 90 kB / 0.7779 GB, free: 142.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1299/1.008, allocations: 36.52 MB / 0.8136 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.134e-06/1.008, allocations: 0 / 0.8136 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.577e-05/1.008, allocations: 23.98 kB / 0.8136 GB, free: 126.2 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001821/1.01, allocations: 0.955 MB / 0.8146 GB, free: 125.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/1.01, allocations: 8.031 kB / 0.8146 GB, free: 125.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002152/1.012, allocations: 238.7 kB / 0.8148 GB, free: 124.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/1.013, allocations: 0.5353 MB / 0.8153 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.829e-05/1.013, allocations: 50 kB / 0.8154 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/1.013, allocations: 67.98 kB / 0.8154 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/1.015, allocations: 1.127 MB / 0.8165 GB, free: 123 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/1.015, allocations: 0 / 0.8165 GB, free: 123 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/1.015, allocations: 32 kB / 0.8166 GB, free: 122.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.003e-05/1.016, allocations: 53.28 kB / 0.8166 GB, free: 122.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/1.017, allocations: 0.731 MB / 0.8173 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005732/1.023, allocations: 5.913 MB / 0.8231 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/1.024, allocations: 0.5439 MB / 0.8236 GB, free: 115.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005095/1.025, allocations: 318.1 kB / 0.8239 GB, free: 114.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/1.025, allocations: 8.438 kB / 0.8239 GB, free: 114.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/1.025, allocations: 46.94 kB / 0.824 GB, free: 114.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=47): time 4.8e-06/1.025, allocations: 0 / 0.824 GB, free: 114.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.002754/1.028, allocations: 1.222 MB / 0.8252 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/1.028, allocations: 59.84 kB / 0.8252 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006795/1.028, allocations: 495.2 kB / 0.8257 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.376e-05/1.028, allocations: 37.7 kB / 0.8257 GB, free: 113 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/1.029, allocations: 399.2 kB / 0.8261 GB, free: 112.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/1.029, allocations: 165.6 kB / 0.8263 GB, free: 112.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/1.029, allocations: 16 kB / 0.8263 GB, free: 112.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001047/1.029, allocations: 374.8 kB / 0.8267 GB, free: 112.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004792/1.029, allocations: 257.5 kB / 0.8269 GB, free: 111.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005677/1.03, allocations: 464.1 kB / 0.8273 GB, free: 111.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006048/1.031, allocations: 327.1 kB / 0.8277 GB, free: 111 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.166e-06/1.031, allocations: 7.938 kB / 0.8277 GB, free: 111 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002136/1.033, allocations: 1.048 MB / 0.8287 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/1.033, allocations: 8.781 kB / 0.8287 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/1.033, allocations: 4 kB / 0.8287 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/1.034, allocations: 275.7 kB / 0.829 GB, free: 109.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006035/1.035, allocations: 119.8 kB / 0.8291 GB, free: 109.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006225/1.041, allocations: 6.584 MB / 0.8355 GB, free: 102.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008003/1.042, allocations: 40.03 kB / 0.8355 GB, free: 102.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-05/1.042, allocations: 31.98 kB / 0.8356 GB, free: 102.3 MB / 0.6511 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 () * 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.000171/1.042, allocations: 136.8 kB / 0.8357 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/1.042, allocations: 71.16 kB / 0.8358 GB, free: 102.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/1.044, allocations: 0.8766 MB / 0.8366 GB, free: 101.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.361e-06/1.044, allocations: 4 kB / 0.8366 GB, free: 101.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.803e-06/1.044, allocations: 4.188 kB / 0.8366 GB, free: 101.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.849e-06/1.044, allocations: 7.984 kB / 0.8366 GB, free: 101.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003099/1.047, allocations: 1.708 MB / 0.8383 GB, free: 99.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.031e-06/1.047, allocations: 4 kB / 0.8383 GB, free: 99.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003366/1.047, allocations: 60.08 kB / 0.8384 GB, free: 99.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009577/1.048, allocations: 267.5 kB / 0.8386 GB, free: 99.05 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.928e-05/1.049, allocations: 11.95 kB / 0.8386 GB, free: 99.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006118/1.055, allocations: 6.58 MB / 0.8451 GB, free: 91.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.834e-06/1.055, allocations: 4.031 kB / 0.8451 GB, free: 91.91 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/1.057, allocations: 1.037 MB / 0.8461 GB, free: 90.79 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/1.057, allocations: 192.2 kB / 0.8463 GB, free: 90.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/1.057, allocations: 12 kB / 0.8463 GB, free: 90.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004765/1.058, allocations: 23.97 kB / 0.8463 GB, free: 90.55 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/1.058, allocations: 55.83 kB / 0.8463 GB, free: 90.49 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.607e-05/1.058, allocations: 16 kB / 0.8464 GB, free: 90.48 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005184/1.058, allocations: 375.2 kB / 0.8467 GB, free: 90.12 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.16e-07/1.058, allocations: 0 / 0.8467 GB, free: 90.12 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001064/1.059, allocations: 231.9 kB / 0.8469 GB, free: 89.89 MB / 0.6511 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 () * 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.0001827/1.06, allocations: 130.2 kB / 0.8471 GB, free: 89.75 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002103/1.062, allocations: 1.232 MB / 0.8483 GB, free: 88.47 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.538e-06/1.062, allocations: 0 / 0.8483 GB, free: 88.47 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001384/1.063, allocations: 0.8966 MB / 0.8491 GB, free: 87.52 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/1.064, allocations: 187 kB / 0.8493 GB, free: 87.34 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/1.066, allocations: 0.9684 MB / 0.8503 GB, free: 86.33 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005435/1.067, allocations: 1.028 MB / 0.8513 GB, free: 85.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005979/1.068, allocations: 122.1 kB / 0.8514 GB, free: 85.15 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/1.068, allocations: 43.44 kB / 0.8514 GB, free: 85.11 MB / 0.6511 GB Notification: Performance of SimCode: time 2.198e-06/1.068, allocations: 4 kB / 0.8514 GB, free: 85.11 MB / 0.6511 GB Notification: Performance of Templates: time 0.02405/1.092, allocations: 10.3 MB / 0.8615 GB, free: 74.85 MB / 0.6511 GB