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.009298/0.009297, allocations: 110.6 kB / 15.05 MB, free: 5.961 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.001103/0.001103, allocations: 184.1 kB / 15.94 MB, free: 5.926 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.854/1.854, allocations: 194.6 MB / 211.3 MB, free: 11.24 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.173/2.173, allocations: 236.2 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004723, allocations: 12 kB / 0.587 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.579/0.5795, allocations: 98.71 MB / 0.6833 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3241/0.9036, allocations: 168.4 MB / 0.8478 GB, free: 5.684 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.9039, allocations: 111.8 kB / 0.8479 GB, free: 5.574 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1067/1.011, allocations: 28.75 MB / 0.876 GB, free: 8.477 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.068e-06/1.011, allocations: 0 / 0.876 GB, free: 8.477 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.102e-05/1.011, allocations: 12 kB / 0.876 GB, free: 8.465 MB / 0.698 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.0015/1.012, allocations: 0.74 MB / 0.8767 GB, free: 7.676 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/1.012, allocations: 15.97 kB / 0.8768 GB, free: 7.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003159/1.015, allocations: 0.5727 MB / 0.8773 GB, free: 7.086 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/1.017, allocations: 474.7 kB / 0.8778 GB, free: 6.578 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/1.017, allocations: 20.66 kB / 0.8778 GB, free: 6.555 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/1.017, allocations: 28 kB / 0.8778 GB, free: 6.527 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/1.019, allocations: 0.763 MB / 0.8786 GB, free: 5.734 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.442e-05/1.019, allocations: 3.984 kB / 0.8786 GB, free: 5.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/1.019, allocations: 12 kB / 0.8786 GB, free: 5.719 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-05/1.019, allocations: 20.66 kB / 0.8786 GB, free: 5.699 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002621/1.022, allocations: 0.8609 MB / 0.8794 GB, free: 4.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005412/1.027, allocations: 2.87 MB / 0.8822 GB, free: 1.742 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/1.029, allocations: 0.5175 MB / 0.8828 GB, free: 1.215 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001445/1.029, allocations: 85.09 kB / 0.8828 GB, free: 1.113 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/1.029, allocations: 38.56 kB / 0.8829 GB, free: 1.066 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 3.117e-06/1.029, allocations: 0 / 0.8829 GB, free: 1.066 MB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.01184/1.041, allocations: 2.945 MB / 0.8857 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/1.041, allocations: 85.05 kB / 0.8858 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000681/1.042, allocations: 384.6 kB / 0.8862 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-05/1.042, allocations: 25.7 kB / 0.8862 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/1.042, allocations: 235.9 kB / 0.8864 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/1.043, allocations: 90.73 kB / 0.8865 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/1.043, allocations: 4 kB / 0.8865 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001934/1.043, allocations: 346.8 kB / 0.8869 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/1.044, allocations: 359.7 kB / 0.8872 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/1.045, allocations: 445.2 kB / 0.8876 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/1.047, allocations: 388.8 kB / 0.888 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.039e-06/1.047, allocations: 8 kB / 0.888 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005347/1.052, allocations: 1.402 MB / 0.8894 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004538/1.052, allocations: 0.7878 MB / 0.8901 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.052, allocations: 4 kB / 0.8902 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003686/1.056, allocations: 0.7077 MB / 0.8908 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007742/1.057, allocations: 127.8 kB / 0.891 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005717/1.063, allocations: 3.265 MB / 0.8942 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009284/1.064, allocations: 111.8 kB / 0.8943 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.605e-05/1.064, allocations: 19.98 kB / 0.8943 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/1.064, allocations: 4 kB / 0.8943 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004354/1.068, allocations: 1.149 MB / 0.8954 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/1.068, allocations: 4 kB / 0.8954 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002304/1.07, allocations: 468.4 kB / 0.8959 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008416/1.071, allocations: 143.8 kB / 0.896 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004648/1.076, allocations: 2.526 MB / 0.8985 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008492/1.077, allocations: 99.84 kB / 0.8986 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.205e-05/1.077, allocations: 19.98 kB / 0.8986 GB, free: 0.4922 MB / 0.7136 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.0005273/1.078, allocations: 317.7 kB / 0.8989 GB, free: 176 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/1.078, allocations: 39.48 kB / 0.8989 GB, free: 136 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004908/1.083, allocations: 1.321 MB / 0.9002 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/1.083, allocations: 4 kB / 0.9002 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.187e-06/1.083, allocations: 0 / 0.9002 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.549e-06/1.083, allocations: 4.281 kB / 0.9002 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006171/1.089, allocations: 1.986 MB / 0.9021 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/1.089, allocations: 3.984 kB / 0.9022 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005013/1.089, allocations: 84 kB / 0.9022 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003485/1.093, allocations: 0.6921 MB / 0.9029 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-05/1.093, allocations: 11.98 kB / 0.9029 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007911/1.101, allocations: 4.571 MB / 0.9074 GB, free: 7.098 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.303e-06/1.101, allocations: 3.938 kB / 0.9074 GB, free: 7.094 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00469/1.106, allocations: 1.368 MB / 0.9087 GB, free: 5.676 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000365/1.106, allocations: 164.7 kB / 0.9089 GB, free: 5.496 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.125e-05/1.106, allocations: 8 kB / 0.9089 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000675/1.107, allocations: 95.84 kB / 0.909 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/1.107, allocations: 23.97 kB / 0.909 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.425e-05/1.107, allocations: 7.938 kB / 0.909 GB, free: 5.363 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005464/1.108, allocations: 311.1 kB / 0.9093 GB, free: 5.059 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.53e-07/1.108, allocations: 0 / 0.9093 GB, free: 5.059 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001106/1.109, allocations: 216 kB / 0.9095 GB, free: 4.848 MB / 0.7292 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.0003347/1.109, allocations: 176.4 kB / 0.9097 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004443/1.114, allocations: 1.503 MB / 0.9112 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.359e-06/1.114, allocations: 0 / 0.9112 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001673/1.115, allocations: 0.6729 MB / 0.9118 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000751/1.116, allocations: 120.1 kB / 0.9119 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/1.119, allocations: 1.207 MB / 0.9131 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007396/1.119, allocations: 0.921 MB / 0.914 GB, free: 136 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.5202/1.64, allocations: 147.3 kB / 0.9141 GB, free: 194.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004038/1.64, allocations: 33.73 kB / 0.9142 GB, free: 194.8 MB / 0.7292 GB Notification: Performance of SimCode: time 2.557e-06/1.64, allocations: 0 / 0.9142 GB, free: 194.8 MB / 0.7292 GB Notification: Performance of Templates: time 0.03405/1.674, allocations: 11.77 MB / 0.9257 GB, free: 194.5 MB / 0.7292 GB