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.Examples.GridDCLoad.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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009618/0.009622, 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.001142/0.001141, 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 2.019/2.019, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.276/2.276, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007945/0.0007947, allocations: 12 kB / 0.5869 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5507/0.5515, allocations: 98.71 MB / 0.6833 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2271/0.7787, allocations: 155.1 MB / 0.8348 GB, free: 3.066 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/0.779, allocations: 91.94 kB / 0.8349 GB, free: 2.977 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:43:5-43:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.06659/0.8456, allocations: 17.97 MB / 0.8524 GB, free: 0.793 MB / 0.6667 GB Notification: Performance of FrontEnd: time 5.777e-06/0.8457, allocations: 0 / 0.8524 GB, free: 0.793 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.145e-05/0.8457, allocations: 7.938 kB / 0.8524 GB, free: 0.7852 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009844/0.8467, allocations: 0.5459 MB / 0.8529 GB, free: 196 kB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.8468, allocations: 12.03 kB / 0.853 GB, free: 184 kB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.8479, allocations: 115.5 kB / 0.8531 GB, free: 68 kB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004808/0.8484, allocations: 246.7 kB / 0.8533 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.8485, allocations: 24.41 kB / 0.8533 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.181e-05/0.8486, allocations: 20 kB / 0.8533 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007204/0.8493, allocations: 345.1 kB / 0.8537 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.8493, allocations: 4 kB / 0.8537 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.06e-05/0.8494, allocations: 8 kB / 0.8537 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-05/0.8494, allocations: 24.42 kB / 0.8537 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006863/0.8501, allocations: 293.5 kB / 0.854 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/0.853, allocations: 1.741 MB / 0.8557 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006603/0.8537, allocations: 322.1 kB / 0.856 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001443/0.8539, allocations: 93.08 kB / 0.8561 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.854, allocations: 38.81 kB / 0.8561 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=16): time 3.45e-06/0.854, allocations: 0 / 0.8561 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23): time 0.003237/0.8572, allocations: 0.9792 MB / 0.8571 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.8573, allocations: 77.3 kB / 0.8572 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.8576, allocations: 194.8 kB / 0.8573 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.609e-05/0.8577, allocations: 33.7 kB / 0.8574 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.8578, allocations: 172.2 kB / 0.8575 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.428e-05/0.8579, allocations: 86.75 kB / 0.8576 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.858, allocations: 4 kB / 0.8576 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.8582, allocations: 330.8 kB / 0.8579 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.8584, allocations: 131.9 kB / 0.8581 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/0.8588, allocations: 205.3 kB / 0.8583 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.8591, allocations: 155.9 kB / 0.8584 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.18e-06/0.8592, allocations: 4 kB / 0.8584 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001289/0.8605, allocations: 0.5041 MB / 0.8589 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.8605, allocations: 4.312 kB / 0.8589 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.783e-06/0.8605, allocations: 8 kB / 0.8589 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006914/0.8612, allocations: 147.3 kB / 0.8591 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.8616, allocations: 63.89 kB / 0.8591 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004079/0.8657, allocations: 3.993 MB / 0.863 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003263/0.866, allocations: 27.84 kB / 0.863 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/0.8661, allocations: 12 kB / 0.8631 GB, free: 5.074 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002592/0.8664, allocations: 157.8 kB / 0.8632 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.8665, allocations: 24 kB / 0.8632 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.8677, allocations: 473.3 kB / 0.8637 GB, free: 4.402 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.8677, allocations: 11.98 kB / 0.8637 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.96e-06/0.8678, allocations: 4 kB / 0.8637 GB, free: 4.387 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.84e-06/0.8678, allocations: 4 kB / 0.8637 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/0.87, allocations: 1.01 MB / 0.8647 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.799e-06/0.87, allocations: 4 kB / 0.8647 GB, free: 3.277 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.8702, allocations: 31.92 kB / 0.8647 GB, free: 3.246 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006285/0.8709, allocations: 151.6 kB / 0.8649 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.8709, allocations: 8 kB / 0.8649 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003964/0.8749, allocations: 3.969 MB / 0.8687 GB, free: 14.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.126e-06/0.8749, allocations: 7.938 kB / 0.8688 GB, free: 14.78 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.8762, allocations: 0.7308 MB / 0.8695 GB, free: 13.94 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.8764, allocations: 128.8 kB / 0.8696 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.799e-05/0.8765, allocations: 8 kB / 0.8696 GB, free: 13.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/0.8768, allocations: 23.97 kB / 0.8696 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.66e-05/0.8769, allocations: 23.94 kB / 0.8696 GB, free: 13.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.877, allocations: 8 kB / 0.8697 GB, free: 13.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002121/0.8772, allocations: 157.5 kB / 0.8698 GB, free: 13.58 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.95e-07/0.8772, allocations: 3.938 kB / 0.8698 GB, free: 13.58 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007589/0.878, allocations: 103.9 kB / 0.8699 GB, free: 13.48 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002554/0.8782, allocations: 147.1 kB / 0.87 GB, free: 13.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001148/0.8794, allocations: 0.5587 MB / 0.8706 GB, free: 12.74 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.826e-06/0.8794, allocations: 0 / 0.8706 GB, free: 12.74 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007317/0.8802, allocations: 402.3 kB / 0.871 GB, free: 12.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.8806, allocations: 36.66 kB / 0.871 GB, free: 12.29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.882, allocations: 0.7144 MB / 0.8717 GB, free: 11.53 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/0.8826, allocations: 0.791 MB / 0.8725 GB, free: 10.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000253/0.8828, allocations: 70.23 kB / 0.8725 GB, free: 10.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.155e-05/0.8829, allocations: 19.44 kB / 0.8726 GB, free: 10.63 MB / 0.698 GB Notification: Performance of SimCode: time 1.534e-06/0.8829, allocations: 0 / 0.8726 GB, free: 10.63 MB / 0.698 GB Notification: Performance of Templates: time 0.01093/0.8939, allocations: 3.848 MB / 0.8763 GB, free: 6.805 MB / 0.698 GB