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_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004181/0.004187, allocations: 232.5 kB / 15.82 MB, free: 6.297 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.00109/0.00109, allocations: 173.8 kB / 16.7 MB, free: 5.457 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 3.879/3.879, allocations: 389.1 MB / 406.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.884/3.884, allocations: 472.3 MB / 0.9024 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005082/0.0005084, allocations: 11.47 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1798, allocations: 98.72 MB / 1.105 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8105/0.9904, allocations: 167.9 MB / 1.269 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/0.9908, allocations: 98.78 kB / 1.269 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1258/1.117, allocations: 31.37 MB / 1.299 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.424e-06/1.117, allocations: 0 / 1.299 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.673e-05/1.117, allocations: 15.98 kB / 1.299 GB, free: 12.18 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002174/1.119, allocations: 0.8705 MB / 1.3 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/1.119, allocations: 11.97 kB / 1.3 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002183/1.121, allocations: 196.7 kB / 1.3 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/1.123, allocations: 0.5009 MB / 1.301 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.174e-05/1.123, allocations: 35.19 kB / 1.301 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002299/1.123, allocations: 56.86 kB / 1.301 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/1.125, allocations: 0.874 MB / 1.302 GB, free: 9.809 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/1.125, allocations: 3.406 kB / 1.302 GB, free: 9.809 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.193e-05/1.125, allocations: 24.88 kB / 1.302 GB, free: 9.801 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/1.125, allocations: 52.16 kB / 1.302 GB, free: 9.75 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001421/1.126, allocations: 0.5625 MB / 1.302 GB, free: 9.367 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006986/1.133, allocations: 4.597 MB / 1.307 GB, free: 4.879 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007628/1.134, allocations: 292.7 kB / 1.307 GB, free: 4.68 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005044/1.135, allocations: 226.6 kB / 1.307 GB, free: 4.539 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.376e-05/1.135, allocations: 4.906 kB / 1.307 GB, free: 4.535 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.722e-05/1.135, allocations: 40.95 kB / 1.308 GB, free: 4.488 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=33): time 3.506e-06/1.135, allocations: 0 / 1.308 GB, free: 4.488 MB / 0.6667 GB Notification: Performance of matching and sorting (n=40): time 0.009153/1.144, allocations: 2.631 MB / 1.31 GB, free: 2.328 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/1.144, allocations: 58.84 kB / 1.31 GB, free: 2.262 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007398/1.145, allocations: 453.8 kB / 1.311 GB, free: 1.898 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.449e-05/1.145, allocations: 36.83 kB / 1.311 GB, free: 1.863 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002879/1.145, allocations: 334.7 kB / 1.311 GB, free: 1.613 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000172/1.145, allocations: 142.9 kB / 1.311 GB, free: 1.488 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/1.146, allocations: 14.44 kB / 1.311 GB, free: 1.484 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001781/1.146, allocations: 362.5 kB / 1.311 GB, free: 1.141 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005838/1.146, allocations: 234.3 kB / 1.312 GB, free: 0.9961 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007167/1.147, allocations: 390.3 kB / 1.312 GB, free: 0.6484 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006994/1.148, allocations: 284.9 kB / 1.312 GB, free: 496 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.148, allocations: 2.969 kB / 1.312 GB, free: 496 kB / 0.6667 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002722/1.151, allocations: 0.8919 MB / 1.313 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/1.151, allocations: 7.938 kB / 1.313 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/1.151, allocations: 4 kB / 1.313 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/1.152, allocations: 234.1 kB / 1.313 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009199/1.153, allocations: 111 kB / 1.313 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007231/1.16, allocations: 4.931 MB / 1.318 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008137/1.161, allocations: 33.19 kB / 1.318 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/1.161, allocations: 20.88 kB / 1.318 GB, free: 10.65 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004841/1.162, allocations: 221.5 kB / 1.319 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/1.162, allocations: 55.34 kB / 1.319 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/1.164, allocations: 0.7661 MB / 1.319 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/1.164, allocations: 4 kB / 1.319 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.164, allocations: 6.656 kB / 1.319 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/1.164, allocations: 3.984 kB / 1.319 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004094/1.168, allocations: 1.481 MB / 1.321 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/1.168, allocations: 0 / 1.321 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007623/1.169, allocations: 67.64 kB / 1.321 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001198/1.17, allocations: 207.4 kB / 1.321 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-05/1.17, allocations: 21.62 kB / 1.321 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006815/1.177, allocations: 4.867 MB / 1.326 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.177, allocations: 0 / 1.326 GB, free: 3.629 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00296/1.18, allocations: 1.137 MB / 1.327 GB, free: 2.762 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000413/1.181, allocations: 171.6 kB / 1.327 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/1.181, allocations: 11.69 kB / 1.327 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000552/1.181, allocations: 27.09 kB / 1.327 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/1.182, allocations: 36.86 kB / 1.327 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-05/1.182, allocations: 15.88 kB / 1.327 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005224/1.182, allocations: 308.4 kB / 1.328 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/1.182, allocations: 0 / 1.328 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009859/1.183, allocations: 177.8 kB / 1.328 GB, free: 2.133 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002681/1.183, allocations: 129.1 kB / 1.328 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002501/1.186, allocations: 0.9937 MB / 1.329 GB, free: 1.188 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.186, allocations: 3.938 kB / 1.329 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001585/1.188, allocations: 0.6827 MB / 1.329 GB, free: 0.5664 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/1.189, allocations: 163.5 kB / 1.33 GB, free: 460 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003243/1.193, allocations: 1.489 MB / 1.331 GB, free: 15.11 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007524/1.193, allocations: 0.9614 MB / 1.332 GB, free: 14.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006953/1.194, allocations: 113.1 kB / 1.332 GB, free: 14.04 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/1.194, allocations: 35.44 kB / 1.332 GB, free: 14.01 MB / 0.698 GB Notification: Performance of SimCode: time 1.032e-06/1.194, allocations: 0 / 1.332 GB, free: 14.01 MB / 0.698 GB Notification: Performance of Templates: time 0.03072/1.225, allocations: 8.165 MB / 1.34 GB, free: 6.234 MB / 0.698 GB