Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.006014/0.006019, allocations: 231.7 kB / 15.82 MB, free: 6.297 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.001655/0.001656, allocations: 177.5 kB / 16.71 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.921/3.921, allocations: 389 MB / 406.5 MB, free: 11.83 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.989/3.989, allocations: 472.3 MB / 0.9024 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006602/0.0006607, allocations: 12 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1888, allocations: 98.72 MB / 1.105 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8625/1.051, allocations: 178.3 MB / 1.279 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003797/1.052, allocations: 107.9 kB / 1.279 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.2601/1.312, allocations: 63.95 MB / 1.341 GB, free: 6.473 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.407e-06/1.312, allocations: 7.344 kB / 1.341 GB, free: 6.469 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001697/1.312, allocations: 39.98 kB / 1.341 GB, free: 6.43 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.006701/1.319, allocations: 1.657 MB / 1.343 GB, free: 4.832 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/1.319, allocations: 17.16 kB / 1.343 GB, free: 4.816 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004654/1.324, allocations: 0.4941 MB / 1.343 GB, free: 4.328 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004259/1.328, allocations: 1.147 MB / 1.345 GB, free: 3.262 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/1.328, allocations: 118.4 kB / 1.345 GB, free: 3.148 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009419/1.329, allocations: 152 kB / 1.345 GB, free: 3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008508/1.338, allocations: 2.489 MB / 1.347 GB, free: 460 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.681e-05/1.338, allocations: 0 / 1.347 GB, free: 460 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003482/1.338, allocations: 70.98 kB / 1.347 GB, free: 392 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001769/1.338, allocations: 83.06 kB / 1.347 GB, free: 308 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00697/1.345, allocations: 2.041 MB / 1.349 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02222/1.368, allocations: 10.52 MB / 1.36 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/1.37, allocations: 0.5734 MB / 1.36 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001148/1.371, allocations: 391.8 kB / 1.361 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002103/1.371, allocations: 93.69 kB / 1.361 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/1.371, allocations: 42.5 kB / 1.361 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 3.947e-06/1.371, allocations: 0.5 kB / 1.361 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.03883/1.41, allocations: 6.253 MB / 1.367 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.412e-05/1.41, allocations: 85.55 kB / 1.367 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00198/1.412, allocations: 0.9019 MB / 1.368 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001931/1.412, allocations: 33.7 kB / 1.368 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007249/1.413, allocations: 0.7499 MB / 1.369 GB, free: 9.73 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003029/1.413, allocations: 185.4 kB / 1.369 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/1.413, allocations: 16 kB / 1.369 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002396/1.414, allocations: 390.8 kB / 1.369 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001879/1.416, allocations: 0.634 MB / 1.37 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002194/1.418, allocations: 1.003 MB / 1.371 GB, free: 7.355 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002253/1.42, allocations: 0.8102 MB / 1.372 GB, free: 6.562 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.528e-05/1.42, allocations: 7.281 kB / 1.372 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01687/1.437, allocations: 3.198 MB / 1.375 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003708/1.437, allocations: 435.4 kB / 1.375 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/1.438, allocations: 15.95 kB / 1.375 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0149/1.452, allocations: 1.853 MB / 1.377 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/1.454, allocations: 228.4 kB / 1.377 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02462/1.479, allocations: 10.17 MB / 1.387 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002265/1.481, allocations: 178.3 kB / 1.387 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001755/1.481, allocations: 48.55 kB / 1.387 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/1.481, allocations: 5.844 kB / 1.387 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01318/1.495, allocations: 2.598 MB / 1.39 GB, free: 3.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.464e-05/1.495, allocations: 12 kB / 1.39 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009848/1.505, allocations: 1.201 MB / 1.391 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001915/1.506, allocations: 257.7 kB / 1.391 GB, free: 1.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/1.522, allocations: 5.733 MB / 1.397 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/1.524, allocations: 145 kB / 1.397 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/1.524, allocations: 49.2 kB / 1.397 GB, free: 11.62 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.002009/1.526, allocations: 0.8376 MB / 1.398 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003449/1.526, allocations: 86.95 kB / 1.398 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01477/1.541, allocations: 2.676 MB / 1.401 GB, free: 8.004 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/1.541, allocations: 4.188 kB / 1.401 GB, free: 8 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/1.541, allocations: 5.281 kB / 1.401 GB, free: 7.996 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-05/1.541, allocations: 7.969 kB / 1.401 GB, free: 7.988 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01922/1.56, allocations: 4.608 MB / 1.405 GB, free: 3.289 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.776e-05/1.56, allocations: 4 kB / 1.405 GB, free: 3.285 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008282/1.561, allocations: 96.69 kB / 1.405 GB, free: 3.191 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01331/1.575, allocations: 1.705 MB / 1.407 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001688/1.575, allocations: 11.95 kB / 1.407 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02137/1.596, allocations: 9.708 MB / 1.416 GB, free: 7.266 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/1.596, allocations: 4.031 kB / 1.416 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01442/1.611, allocations: 2.644 MB / 1.419 GB, free: 4.586 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000976/1.612, allocations: 280.1 kB / 1.419 GB, free: 4.293 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003563/1.612, allocations: 12 kB / 1.419 GB, free: 4.281 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001821/1.614, allocations: 134.5 kB / 1.419 GB, free: 4.152 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003789/1.614, allocations: 47.86 kB / 1.419 GB, free: 4.105 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-05/1.614, allocations: 20 kB / 1.419 GB, free: 4.086 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001593/1.616, allocations: 0.6416 MB / 1.42 GB, free: 3.449 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.855e-06/1.616, allocations: 3.938 kB / 1.42 GB, free: 3.445 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003772/1.62, allocations: 0.6288 MB / 1.421 GB, free: 2.816 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (42): * Single equations (assignments): 38 * 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 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005518/1.62, allocations: 198 kB / 1.421 GB, free: 2.625 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01129/1.632, allocations: 3.375 MB / 1.424 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/1.632, allocations: 0 / 1.424 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.003641/1.635, allocations: 1.267 MB / 1.425 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/1.637, allocations: 208.2 kB / 1.426 GB, free: 13.69 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009158/1.647, allocations: 3.559 MB / 1.429 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00242/1.649, allocations: 1.646 MB / 1.431 GB, free: 8.457 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002466/1.652, allocations: 493.7 kB / 1.431 GB, free: 7.992 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/1.652, allocations: 59.42 kB / 1.431 GB, free: 7.934 MB / 0.7917 GB Notification: Performance of SimCode: time 1.222e-06/1.652, allocations: 0.8438 kB / 1.431 GB, free: 7.934 MB / 0.7917 GB Notification: Performance of Templates: time 0.06376/1.716, allocations: 23.69 MB / 1.454 GB, free: 476 kB / 0.8073 GB