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.GeneratorLoadGrid.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.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008993/0.008993, allocations: 109.9 kB / 15.06 MB, free: 6.031 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.0011/0.0011, allocations: 189.2 kB / 15.95 MB, free: 5.965 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.922/1.922, allocations: 194.6 MB / 211.3 MB, free: 11.11 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.167/2.167, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006085/0.0006086, allocations: 8 kB / 0.5869 GB, free: 2.191 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.582/0.5827, allocations: 98.71 MB / 0.6833 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2093/0.792, allocations: 145.4 MB / 0.8253 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.7924, allocations: 87.94 kB / 0.8254 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.06076/0.8532, allocations: 16.25 MB / 0.8412 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.705e-06/0.8532, allocations: 0 / 0.8412 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.584e-05/0.8532, allocations: 11.98 kB / 0.8413 GB, free: 12.38 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009892/0.8542, allocations: 0.526 MB / 0.8418 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.8543, allocations: 12.03 kB / 0.8418 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.8554, allocations: 103.5 kB / 0.8419 GB, free: 11.69 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004573/0.8559, allocations: 266 kB / 0.8421 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.8559, allocations: 16.38 kB / 0.8421 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.087e-05/0.856, allocations: 16 kB / 0.8422 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008381/0.8568, allocations: 373.7 kB / 0.8425 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.8569, allocations: 4 kB / 0.8425 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.51e-05/0.8569, allocations: 8 kB / 0.8425 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.928e-05/0.857, allocations: 20.31 kB / 0.8425 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008644/0.8579, allocations: 336.6 kB / 0.8429 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/0.8604, allocations: 1.732 MB / 0.8446 GB, free: 8.738 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009586/0.8614, allocations: 341 kB / 0.8449 GB, free: 8.387 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000184/0.8617, allocations: 89.05 kB / 0.845 GB, free: 8.281 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.8617, allocations: 38.56 kB / 0.845 GB, free: 8.234 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=20): time 3.461e-06/0.8617, allocations: 0 / 0.845 GB, free: 8.234 MB / 0.6667 GB Notification: Performance of matching and sorting (n=21): time 0.001864/0.8636, allocations: 0.6052 MB / 0.8456 GB, free: 7.602 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.8637, allocations: 81.3 kB / 0.8457 GB, free: 7.504 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.8639, allocations: 182.9 kB / 0.8458 GB, free: 7.32 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.992e-05/0.864, allocations: 33.7 kB / 0.8459 GB, free: 7.281 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.8641, allocations: 159.8 kB / 0.846 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.51e-05/0.8642, allocations: 70.98 kB / 0.8461 GB, free: 7.051 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.288e-05/0.8643, allocations: 4 kB / 0.8461 GB, free: 7.047 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.8645, allocations: 326.8 kB / 0.8464 GB, free: 6.719 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/0.8648, allocations: 139.9 kB / 0.8466 GB, free: 6.582 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004207/0.8653, allocations: 218.3 kB / 0.8468 GB, free: 6.328 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004167/0.8657, allocations: 166.8 kB / 0.8469 GB, free: 6.168 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.317e-06/0.8657, allocations: 4 kB / 0.8469 GB, free: 6.164 MB / 0.6667 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001171/0.8669, allocations: 428.8 kB / 0.8473 GB, free: 5.738 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000566/0.8675, allocations: 1.052 MB / 0.8484 GB, free: 4.605 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.8675, allocations: 0 / 0.8484 GB, free: 4.605 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002973/0.8678, allocations: 48.83 kB / 0.8484 GB, free: 4.555 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004589/0.8683, allocations: 71.88 kB / 0.8485 GB, free: 4.484 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.8703, allocations: 1.509 MB / 0.8499 GB, free: 2.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/0.8707, allocations: 35.81 kB / 0.85 GB, free: 2.805 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.172e-05/0.8708, allocations: 12 kB / 0.85 GB, free: 2.793 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.8708, allocations: 4 kB / 0.85 GB, free: 2.789 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001025/0.8718, allocations: 370.8 kB / 0.8503 GB, free: 2.426 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.8718, allocations: 352 / 0.8503 GB, free: 2.426 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000225/0.8721, allocations: 49.16 kB / 0.8504 GB, free: 2.375 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.8725, allocations: 63.89 kB / 0.8505 GB, free: 2.312 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.8743, allocations: 1.504 MB / 0.8519 GB, free: 0.668 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.8747, allocations: 27.83 kB / 0.852 GB, free: 0.6406 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.8747, allocations: 23.89 kB / 0.852 GB, free: 0.6172 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000304/0.875, allocations: 233 kB / 0.8522 GB, free: 388 kB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.681e-05/0.8752, allocations: 19.88 kB / 0.8522 GB, free: 368 kB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.8762, allocations: 360.6 kB / 0.8526 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.078e-06/0.8762, allocations: 8 kB / 0.8526 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.8762, allocations: 0 / 0.8526 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.865e-06/0.8762, allocations: 7.953 kB / 0.8526 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.8783, allocations: 0.9676 MB / 0.8535 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.645e-06/0.8784, allocations: 4 kB / 0.8535 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000336/0.8787, allocations: 51.89 kB / 0.8536 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001982/0.8789, allocations: 45.05 kB / 0.8536 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.879, allocations: 4 kB / 0.8536 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/0.8806, allocations: 1.421 MB / 0.855 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.039e-06/0.8807, allocations: 7.969 kB / 0.855 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.8818, allocations: 0.6218 MB / 0.8556 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.882, allocations: 128.8 kB / 0.8557 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.134e-05/0.8821, allocations: 11.95 kB / 0.8558 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003385/0.8824, allocations: 23.97 kB / 0.8558 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.482e-05/0.8825, allocations: 19.98 kB / 0.8558 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.8826, allocations: 8 kB / 0.8558 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002175/0.8828, allocations: 155.7 kB / 0.856 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.07e-07/0.8828, allocations: 0 / 0.856 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008839/0.8837, allocations: 123.9 kB / 0.8561 GB, free: 12.08 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002156/0.8839, allocations: 131.1 kB / 0.8562 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001822/0.8858, allocations: 0.7396 MB / 0.8569 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.645e-06/0.8858, allocations: 0 / 0.8569 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005947/0.8864, allocations: 273.1 kB / 0.8572 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.8869, allocations: 39.03 kB / 0.8572 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.8883, allocations: 0.6656 MB / 0.8579 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.8889, allocations: 0.7717 MB / 0.8586 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003801/0.8893, allocations: 93.84 kB / 0.8587 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.8894, allocations: 23.42 kB / 0.8587 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of SimCode: time 2.097e-06/0.8894, allocations: 3.938 kB / 0.8587 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of Templates: time 0.009559/0.899, allocations: 2.983 MB / 0.8617 GB, free: 6.262 MB / 0.6823 GB