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: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004177/0.004177, allocations: 230.6 kB / 15.82 MB, free: 6.293 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.00111/0.001111, allocations: 174.4 kB / 16.7 MB, free: 5.453 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.905/3.905, allocations: 389.1 MB / 406.5 MB, free: 11.84 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.921/3.921, allocations: 472.3 MB / 0.9024 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006466/0.0006469, allocations: 16.2 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.176, allocations: 98.71 MB / 1.105 GB, free: 42.03 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8643/1.04, allocations: 168.4 MB / 1.269 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004731/1.041, allocations: 107.8 kB / 1.269 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1661/1.207, allocations: 28.71 MB / 1.297 GB, free: 13.81 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.204e-06/1.207, allocations: 3.031 kB / 1.297 GB, free: 13.81 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 5.266e-05/1.207, allocations: 12 kB / 1.297 GB, free: 13.8 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001942/1.209, allocations: 0.7432 MB / 1.298 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/1.209, allocations: 11.97 kB / 1.298 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004603/1.214, allocations: 0.5724 MB / 1.299 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/1.215, allocations: 473.6 kB / 1.299 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.51e-05/1.215, allocations: 22.97 kB / 1.299 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/1.215, allocations: 32.8 kB / 1.299 GB, free: 12 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002607/1.218, allocations: 0.7558 MB / 1.3 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/1.218, allocations: 0 / 1.3 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.903e-05/1.218, allocations: 14.11 kB / 1.3 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.526e-05/1.218, allocations: 25.33 kB / 1.3 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003674/1.222, allocations: 0.8592 MB / 1.301 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006518/1.228, allocations: 2.867 MB / 1.304 GB, free: 7.996 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002985/1.232, allocations: 0.5217 MB / 1.304 GB, free: 7.555 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/1.233, allocations: 265.8 kB / 1.304 GB, free: 7.352 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001638/1.233, allocations: 85.09 kB / 1.304 GB, free: 7.25 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/1.233, allocations: 39.47 kB / 1.304 GB, free: 7.207 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=16): time 2.515e-06/1.233, allocations: 0 / 1.304 GB, free: 7.207 MB / 0.6667 GB Notification: Performance of matching and sorting (n=24): time 0.02113/1.254, allocations: 3.205 MB / 1.308 GB, free: 4.391 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/1.254, allocations: 85.88 kB / 1.308 GB, free: 4.293 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008128/1.255, allocations: 416.3 kB / 1.308 GB, free: 3.973 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.962e-05/1.255, allocations: 33.52 kB / 1.308 GB, free: 3.938 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/1.255, allocations: 236.8 kB / 1.308 GB, free: 3.754 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/1.256, allocations: 89.2 kB / 1.308 GB, free: 3.68 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/1.256, allocations: 7.875 kB / 1.308 GB, free: 3.676 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001747/1.256, allocations: 344.7 kB / 1.309 GB, free: 3.344 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/1.258, allocations: 361.7 kB / 1.309 GB, free: 3.082 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001704/1.259, allocations: 445.2 kB / 1.309 GB, free: 2.715 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/1.261, allocations: 398.2 kB / 1.31 GB, free: 2.441 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/1.261, allocations: 0 / 1.31 GB, free: 2.441 MB / 0.6667 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.009343/1.27, allocations: 1.55 MB / 1.311 GB, free: 1.137 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001425/1.271, allocations: 148.1 kB / 1.311 GB, free: 0.9727 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/1.271, allocations: 4 kB / 1.311 GB, free: 0.9688 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00726/1.278, allocations: 0.8506 MB / 1.312 GB, free: 184 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/1.279, allocations: 127.8 kB / 1.312 GB, free: 56 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01155/1.291, allocations: 4.658 MB / 1.317 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/1.292, allocations: 117.4 kB / 1.317 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.494e-05/1.292, allocations: 23.84 kB / 1.317 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/1.292, allocations: 4 kB / 1.317 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007809/1.3, allocations: 1.265 MB / 1.318 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/1.3, allocations: 4 kB / 1.318 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004808/1.305, allocations: 0.5536 MB / 1.319 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/1.306, allocations: 147.4 kB / 1.319 GB, free: 9.984 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006155/1.312, allocations: 2.495 MB / 1.321 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/1.314, allocations: 107.3 kB / 1.322 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.271e-05/1.314, allocations: 23.75 kB / 1.322 GB, free: 7.645 MB / 0.6823 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.0005789/1.314, allocations: 315.4 kB / 1.322 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/1.315, allocations: 39.53 kB / 1.322 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008437/1.323, allocations: 1.426 MB / 1.323 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-06/1.323, allocations: 2.719 kB / 1.323 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/1.323, allocations: 4 kB / 1.323 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/1.323, allocations: 3.953 kB / 1.323 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009751/1.333, allocations: 2.1 MB / 1.325 GB, free: 4.371 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/1.333, allocations: 0 / 1.325 GB, free: 4.371 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007583/1.334, allocations: 83.86 kB / 1.325 GB, free: 4.289 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006544/1.34, allocations: 0.8001 MB / 1.326 GB, free: 3.547 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.513e-05/1.34, allocations: 7.859 kB / 1.326 GB, free: 3.543 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009683/1.35, allocations: 4.487 MB / 1.331 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.35, allocations: 0 / 1.331 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008293/1.358, allocations: 1.438 MB / 1.332 GB, free: 14.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005474/1.359, allocations: 177.3 kB / 1.332 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/1.359, allocations: 7.75 kB / 1.332 GB, free: 14.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/1.36, allocations: 102.1 kB / 1.332 GB, free: 13.94 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/1.361, allocations: 23.41 kB / 1.332 GB, free: 13.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.133e-05/1.361, allocations: 11.98 kB / 1.332 GB, free: 13.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005851/1.361, allocations: 307.9 kB / 1.333 GB, free: 13.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/1.361, allocations: 0 / 1.333 GB, free: 13.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001343/1.363, allocations: 232.8 kB / 1.333 GB, free: 13.47 MB / 0.698 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.0003801/1.363, allocations: 156.9 kB / 1.333 GB, free: 13.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00633/1.369, allocations: 1.631 MB / 1.335 GB, free: 11.99 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.369, allocations: 0 / 1.335 GB, free: 11.99 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002207/1.372, allocations: 0.6694 MB / 1.335 GB, free: 11.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/1.373, allocations: 112.5 kB / 1.335 GB, free: 11.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003248/1.376, allocations: 1.23 MB / 1.337 GB, free: 10.21 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007411/1.377, allocations: 0.9218 MB / 1.337 GB, free: 9.297 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001001/1.378, allocations: 156.6 kB / 1.338 GB, free: 9.168 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/1.378, allocations: 31.42 kB / 1.338 GB, free: 9.137 MB / 0.698 GB Notification: Performance of SimCode: time 9.82e-07/1.378, allocations: 0 / 1.338 GB, free: 9.137 MB / 0.698 GB Notification: Performance of Templates: time 0.03319/1.411, allocations: 12.39 MB / 1.35 GB, free: 13.3 MB / 0.7136 GB