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_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004205/0.00421, allocations: 232 kB / 15.82 MB, free: 6.301 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.001153/0.001153, allocations: 178 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.875/3.875, allocations: 389.1 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 4.102/4.102, allocations: 472.3 MB / 0.9024 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006794/0.0006797, allocations: 12 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1794, allocations: 98.72 MB / 1.105 GB, free: 42.18 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.856/1.035, allocations: 179.1 MB / 1.28 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003618/1.036, allocations: 107.8 kB / 1.28 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.2627/1.299, allocations: 66.62 MB / 1.345 GB, free: 3.363 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.036e-06/1.299, allocations: 3.25 kB / 1.345 GB, free: 3.363 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001623/1.299, allocations: 36 kB / 1.345 GB, free: 3.328 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.007356/1.306, allocations: 1.783 MB / 1.347 GB, free: 1.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/1.306, allocations: 8.031 kB / 1.347 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005679/1.312, allocations: 0.6643 MB / 1.347 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004463/1.316, allocations: 1.245 MB / 1.348 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/1.317, allocations: 119.1 kB / 1.349 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008062/1.317, allocations: 160 kB / 1.349 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008522/1.326, allocations: 2.674 MB / 1.351 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.801e-05/1.326, allocations: 11.83 kB / 1.351 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003193/1.326, allocations: 64 kB / 1.351 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001713/1.327, allocations: 91.22 kB / 1.351 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007489/1.334, allocations: 2.217 MB / 1.354 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02324/1.357, allocations: 10.89 MB / 1.364 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00222/1.36, allocations: 0.7599 MB / 1.365 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/1.361, allocations: 0.5421 MB / 1.366 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002025/1.361, allocations: 101.4 kB / 1.366 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/1.362, allocations: 38.94 kB / 1.366 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=46): time 3.036e-06/1.362, allocations: 3.938 kB / 1.366 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=72): time 0.05422/1.416, allocations: 9.069 MB / 1.375 GB, free: 3.938 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.139e-05/1.416, allocations: 85.77 kB / 1.375 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/1.418, allocations: 0.9415 MB / 1.376 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002173/1.418, allocations: 34.33 kB / 1.376 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007329/1.419, allocations: 0.7736 MB / 1.376 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003853/1.419, allocations: 261 kB / 1.377 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/1.419, allocations: 22.22 kB / 1.377 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002432/1.42, allocations: 394.8 kB / 1.377 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002186/1.422, allocations: 0.8042 MB / 1.378 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002494/1.424, allocations: 1.174 MB / 1.379 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002496/1.427, allocations: 1 MB / 1.38 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/1.427, allocations: 4.531 kB / 1.38 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01828/1.445, allocations: 3.819 MB / 1.384 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003874/1.446, allocations: 415.4 kB / 1.384 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.446e-05/1.446, allocations: 12 kB / 1.384 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01629/1.462, allocations: 2.186 MB / 1.386 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/1.464, allocations: 217.9 kB / 1.386 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03263/1.496, allocations: 11.45 MB / 1.398 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002433/1.499, allocations: 194.2 kB / 1.398 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/1.499, allocations: 47.98 kB / 1.398 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/1.499, allocations: 4 kB / 1.398 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01445/1.514, allocations: 3.11 MB / 1.401 GB, free: 8.551 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.537e-05/1.514, allocations: 12 kB / 1.401 GB, free: 8.539 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01054/1.524, allocations: 1.364 MB / 1.402 GB, free: 7.184 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00215/1.526, allocations: 289.4 kB / 1.402 GB, free: 6.902 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02026/1.547, allocations: 6.594 MB / 1.409 GB, free: 200 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/1.549, allocations: 168.5 kB / 1.409 GB, free: 32 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001875/1.549, allocations: 51.98 kB / 1.409 GB, free: 15.98 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (95): * Single equations (assignments): 93 * 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 {(4,100.0%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.00214/1.551, allocations: 0.8972 MB / 1.41 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000331/1.552, allocations: 86.97 kB / 1.41 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01669/1.568, allocations: 3.372 MB / 1.413 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.105e-05/1.568, allocations: 8 kB / 1.413 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/1.568, allocations: 8 kB / 1.413 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.512e-05/1.569, allocations: 3.984 kB / 1.413 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02338/1.592, allocations: 5.935 MB / 1.419 GB, free: 5.574 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/1.592, allocations: 4.5 kB / 1.419 GB, free: 5.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000948/1.593, allocations: 113.2 kB / 1.419 GB, free: 5.461 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01485/1.608, allocations: 1.978 MB / 1.421 GB, free: 3.504 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002036/1.608, allocations: 12 kB / 1.421 GB, free: 3.492 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02684/1.635, allocations: 9.818 MB / 1.431 GB, free: 9.434 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/1.635, allocations: 6.156 kB / 1.431 GB, free: 9.43 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01609/1.651, allocations: 3.218 MB / 1.434 GB, free: 6.168 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/1.652, allocations: 339.8 kB / 1.434 GB, free: 5.816 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003461/1.653, allocations: 12 kB / 1.434 GB, free: 5.805 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001795/1.654, allocations: 155.8 kB / 1.434 GB, free: 5.652 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003949/1.655, allocations: 72.36 kB / 1.434 GB, free: 5.582 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.677e-05/1.655, allocations: 20 kB / 1.434 GB, free: 5.562 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001483/1.656, allocations: 0.6707 MB / 1.435 GB, free: 4.895 MB / 0.7917 GB Notification: Performance of sort global known variables: time 3.71e-07/1.656, allocations: 0 / 1.435 GB, free: 4.895 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003673/1.66, allocations: 0.7227 MB / 1.436 GB, free: 4.172 MB / 0.7917 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 (44): * Single equations (assignments): 42 * 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 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005386/1.661, allocations: 192.5 kB / 1.436 GB, free: 3.977 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01554/1.676, allocations: 4.127 MB / 1.44 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/1.676, allocations: 0.6875 kB / 1.44 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.005661/1.682, allocations: 1.468 MB / 1.442 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/1.684, allocations: 250.7 kB / 1.442 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/1.694, allocations: 4.091 MB / 1.446 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002527/1.697, allocations: 1.757 MB / 1.447 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002518/1.7, allocations: 0.5187 MB / 1.448 GB, free: 7.633 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/1.7, allocations: 55.44 kB / 1.448 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of SimCode: time 1.212e-06/1.7, allocations: 0 / 1.448 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of Templates: time 0.633/2.333, allocations: 29.81 MB / 1.477 GB, free: 230.6 MB / 0.823 GB