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.01421/0.01421, allocations: 111 kB / 15.06 MB, free: 5.562 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.001737/0.001737, allocations: 176.7 kB / 15.95 MB, free: 5.523 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.931/1.931, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.374/2.374, allocations: 236.2 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.000475, allocations: 8 kB / 0.5869 GB, free: 2.145 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5523/0.5528, allocations: 98.7 MB / 0.6833 GB, free: 16.91 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.0063/0.5591, allocations: 2.602 MB / 0.6859 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.005746/0.5649, allocations: 1.79 MB / 0.6876 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003354/0.5653, allocations: 4.312 kB / 0.6876 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002469/0.5656, allocations: 32.12 kB / 0.6877 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0008733/0.5665, allocations: 126.1 kB / 0.6878 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.5678, allocations: 181.2 kB / 0.6879 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005759/0.5684, allocations: 180 kB / 0.6881 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.5696, allocations: 312.5 kB / 0.6884 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003001/0.5699, allocations: 95.59 kB / 0.6885 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003794/0.5703, allocations: 102.7 kB / 0.6886 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.876e-05/0.5704, allocations: 10.47 kB / 0.6886 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.5715, allocations: 249.3 kB / 0.6889 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.5717, allocations: 65.03 kB / 0.6889 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.5718, allocations: 67.27 kB / 0.689 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.5729, allocations: 355.1 kB / 0.6893 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.931e-06/0.5729, allocations: 0 / 0.6893 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.492e-06/0.5729, allocations: 1.062 kB / 0.6893 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.504e-05/0.573, allocations: 0 / 0.6893 GB, free: 13.14 MB / 0.5261 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.001212/0.5742, allocations: 0.5218 MB / 0.6898 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.5743, allocations: 9.438 kB / 0.6898 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/0.5764, allocations: 122.8 kB / 0.69 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006351/0.577, allocations: 258 kB / 0.6902 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.654e-05/0.5771, allocations: 15.81 kB / 0.6902 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.027e-05/0.5772, allocations: 21.3 kB / 0.6902 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.5784, allocations: 347.7 kB / 0.6906 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.5785, allocations: 1.25 kB / 0.6906 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.558e-05/0.5786, allocations: 10.42 kB / 0.6906 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.485e-05/0.5787, allocations: 30.17 kB / 0.6906 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.5799, allocations: 292.5 kB / 0.6909 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00427/0.5842, allocations: 1.732 MB / 0.6926 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.5852, allocations: 322.7 kB / 0.6929 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001732/0.5854, allocations: 88.81 kB / 0.693 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.5855, allocations: 33.94 kB / 0.693 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 5.974e-06/0.5855, allocations: 0 / 0.693 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.005603/0.5911, allocations: 0.9828 MB / 0.694 GB, free: 9.852 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.5912, allocations: 84.08 kB / 0.694 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004548/0.5917, allocations: 214.8 kB / 0.6942 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.532e-05/0.5918, allocations: 34.83 kB / 0.6943 GB, free: 9.566 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.5919, allocations: 167.6 kB / 0.6944 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.5921, allocations: 80.2 kB / 0.6945 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.5921, allocations: 5.188 kB / 0.6945 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.5922, allocations: 334 kB / 0.6948 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004986/0.5928, allocations: 130.2 kB / 0.695 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005865/0.5934, allocations: 213.1 kB / 0.6952 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006194/0.594, allocations: 159.5 kB / 0.6953 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.159e-06/0.5941, allocations: 1.344 kB / 0.6953 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002293/0.5964, allocations: 0.5105 MB / 0.6958 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.5964, allocations: 10.11 kB / 0.6958 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.5965, allocations: 3.375 kB / 0.6958 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009717/0.5975, allocations: 149.9 kB / 0.696 GB, free: 8.457 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/0.5978, allocations: 57.25 kB / 0.696 GB, free: 8.453 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003126/0.601, allocations: 3.986 MB / 0.6999 GB, free: 4.641 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.6014, allocations: 22.36 kB / 0.6999 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.6014, allocations: 15.31 kB / 0.7 GB, free: 4.629 MB / 0.5261 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.0002422/0.6017, allocations: 170.1 kB / 0.7001 GB, free: 4.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.6018, allocations: 18.17 kB / 0.7001 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.603, allocations: 479.7 kB / 0.7006 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.864e-06/0.603, allocations: 4.125 kB / 0.7006 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.459e-06/0.603, allocations: 0.5625 kB / 0.7006 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.319e-06/0.603, allocations: 2.547 kB / 0.7006 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.6051, allocations: 1.006 MB / 0.7016 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.363e-06/0.6052, allocations: 1.812 kB / 0.7016 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.6054, allocations: 38.3 kB / 0.7016 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006279/0.606, allocations: 144.6 kB / 0.7018 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.11e-05/0.6061, allocations: 9.016 kB / 0.7018 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002938/0.609, allocations: 3.968 MB / 0.7056 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.515e-06/0.6091, allocations: 6.812 kB / 0.7057 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.6104, allocations: 0.741 MB / 0.7064 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/0.6106, allocations: 132.3 kB / 0.7065 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.948e-05/0.6107, allocations: 8.141 kB / 0.7065 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003408/0.611, allocations: 18.2 kB / 0.7065 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.3e-05/0.6111, allocations: 30.08 kB / 0.7066 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/0.6112, allocations: 12.53 kB / 0.7066 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002261/0.6114, allocations: 156.5 kB / 0.7067 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.49e-07/0.6114, allocations: 0 / 0.7067 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000737/0.6122, allocations: 93.25 kB / 0.7068 GB, free: 14.66 MB / 0.5417 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.0002591/0.6125, allocations: 138.5 kB / 0.7069 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00133/0.6138, allocations: 0.5629 MB / 0.7075 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.976e-06/0.6138, allocations: 1.438 kB / 0.7075 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007358/0.6146, allocations: 399.1 kB / 0.7079 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/0.6151, allocations: 39.19 kB / 0.7079 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.6166, allocations: 0.7304 MB / 0.7086 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/0.6172, allocations: 0.7965 MB / 0.7094 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002612/0.6174, allocations: 53.41 kB / 0.7095 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.087e-05/0.6175, allocations: 19.84 kB / 0.7095 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of SimCode: time 1.491e-06/0.6175, allocations: 0 / 0.7095 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of Templates: time 0.01128/0.6288, allocations: 3.882 MB / 0.7133 GB, free: 10.56 MB / 0.5417 GB