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.009786/0.009786, 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.001156/0.001155, 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 1.929/1.929, 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.161/2.161, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000464/0.0004643, allocations: 12 kB / 0.587 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5704/0.5709, allocations: 98.72 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.282/0.853, allocations: 179.1 MB / 0.8583 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006286/0.8537, allocations: 107.9 kB / 0.8584 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7229/1.577, allocations: 66.65 MB / 0.9235 GB, free: 178 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.878e-06/1.577, allocations: 0.5 kB / 0.9235 GB, free: 178 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001367/1.577, allocations: 40.34 kB / 0.9235 GB, free: 178 MB / 0.7292 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.008282/1.585, allocations: 1.785 MB / 0.9253 GB, free: 177.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.694e-05/1.585, allocations: 8.531 kB / 0.9253 GB, free: 177.1 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009324/1.595, allocations: 0.6669 MB / 0.9259 GB, free: 177.1 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00647/1.601, allocations: 1.245 MB / 0.9272 GB, free: 176.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002545/1.601, allocations: 123.6 kB / 0.9273 GB, free: 176.7 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001219/1.603, allocations: 158.8 kB / 0.9274 GB, free: 176.7 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01272/1.615, allocations: 2.65 MB / 0.93 GB, free: 176.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001122/1.616, allocations: 4.781 kB / 0.93 GB, free: 176.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005865/1.616, allocations: 66.28 kB / 0.9301 GB, free: 176.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002435/1.616, allocations: 92.28 kB / 0.9302 GB, free: 176.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01082/1.627, allocations: 2.214 MB / 0.9323 GB, free: 176.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03122/1.659, allocations: 10.9 MB / 0.943 GB, free: 170.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003483/1.662, allocations: 0.7618 MB / 0.9437 GB, free: 170.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002836/1.662, allocations: 91.7 kB / 0.9438 GB, free: 170.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.792e-05/1.663, allocations: 40.72 kB / 0.9438 GB, free: 170.7 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=46): time 7.271e-06/1.663, allocations: 0 / 0.9438 GB, free: 170.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=70): time 0.03263/1.695, allocations: 8.395 MB / 0.952 GB, free: 169.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/1.695, allocations: 84.39 kB / 0.9521 GB, free: 169.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/1.697, allocations: 0.8599 MB / 0.953 GB, free: 168.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001861/1.697, allocations: 37.11 kB / 0.953 GB, free: 168.9 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005215/1.698, allocations: 0.7714 MB / 0.9537 GB, free: 168.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003314/1.698, allocations: 247 kB / 0.954 GB, free: 168.1 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/1.698, allocations: 24.19 kB / 0.954 GB, free: 168.1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001805/1.698, allocations: 400.4 kB / 0.9544 GB, free: 167.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/1.7, allocations: 0.7969 MB / 0.9552 GB, free: 167.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/1.702, allocations: 1.163 MB / 0.9563 GB, free: 166.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001967/1.704, allocations: 1.001 MB / 0.9573 GB, free: 166.3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/1.704, allocations: 6.219 kB / 0.9573 GB, free: 166.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01058/1.715, allocations: 3.514 MB / 0.9607 GB, free: 165.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008654/1.716, allocations: 4.27 MB / 0.9649 GB, free: 160.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/1.716, allocations: 11.53 kB / 0.9649 GB, free: 160.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008082/1.724, allocations: 1.861 MB / 0.9667 GB, free: 160.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/1.725, allocations: 225.6 kB / 0.9669 GB, free: 160.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01208/1.737, allocations: 7.041 MB / 0.9738 GB, free: 156.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/1.739, allocations: 188.2 kB / 0.974 GB, free: 156.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002002/1.739, allocations: 45.17 kB / 0.974 GB, free: 156.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/1.739, allocations: 3.938 kB / 0.974 GB, free: 156.7 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008993/1.748, allocations: 2.874 MB / 0.9768 GB, free: 155.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.396e-05/1.748, allocations: 10.84 kB / 0.9768 GB, free: 155.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005207/1.753, allocations: 1.153 MB / 0.978 GB, free: 155.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/1.755, allocations: 290.4 kB / 0.9783 GB, free: 155.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/1.765, allocations: 5.843 MB / 0.984 GB, free: 152.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/1.767, allocations: 163.2 kB / 0.9841 GB, free: 152.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/1.767, allocations: 44.72 kB / 0.9842 GB, free: 152.7 MB / 0.7292 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 (97): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001575/1.768, allocations: 0.9009 MB / 0.985 GB, free: 152.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/1.769, allocations: 86.84 kB / 0.9851 GB, free: 152.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009425/1.778, allocations: 3.105 MB / 0.9882 GB, free: 151.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/1.778, allocations: 9.781 kB / 0.9882 GB, free: 151.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/1.778, allocations: 0 / 0.9882 GB, free: 151.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.717e-05/1.778, allocations: 7.797 kB / 0.9882 GB, free: 151.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01878/1.797, allocations: 5.168 MB / 0.9932 GB, free: 149.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.558e-05/1.797, allocations: 6.812 kB / 0.9932 GB, free: 149.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005926/1.798, allocations: 110.9 kB / 0.9933 GB, free: 149.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008296/1.806, allocations: 1.78 MB / 0.9951 GB, free: 149.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001549/1.806, allocations: 19.5 kB / 0.9951 GB, free: 149.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01659/1.823, allocations: 9.984 MB / 1.005 GB, free: 140.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.803e-06/1.823, allocations: 0 / 1.005 GB, free: 140.9 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008123/1.831, allocations: 3.112 MB / 1.008 GB, free: 137.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008676/1.832, allocations: 335.9 kB / 1.008 GB, free: 137.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002695/1.832, allocations: 16 kB / 1.008 GB, free: 137.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/1.833, allocations: 143.8 kB / 1.008 GB, free: 137.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002956/1.834, allocations: 64.44 kB / 1.008 GB, free: 137.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.839e-05/1.834, allocations: 24 kB / 1.008 GB, free: 137.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001087/1.835, allocations: 0.6707 MB / 1.009 GB, free: 136.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.82e-07/1.835, allocations: 0 / 1.009 GB, free: 136.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003085/1.838, allocations: 0.6992 MB / 1.01 GB, free: 135.7 MB / 0.7292 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): 40 * 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%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.000363/1.838, allocations: 187.9 kB / 1.01 GB, free: 135.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.007843/1.846, allocations: 3.602 MB / 1.013 GB, free: 131.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.454e-06/1.846, allocations: 0 / 1.013 GB, free: 131.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002841/1.849, allocations: 1.34 MB / 1.015 GB, free: 130.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/1.851, allocations: 238.8 kB / 1.015 GB, free: 130.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007107/1.858, allocations: 4.073 MB / 1.019 GB, free: 126.2 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001712/1.86, allocations: 1.753 MB / 1.021 GB, free: 124.4 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001839/1.861, allocations: 0.5084 MB / 1.021 GB, free: 123.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/1.862, allocations: 59.42 kB / 1.021 GB, free: 123.9 MB / 0.7292 GB Notification: Performance of SimCode: time 1.631e-06/1.862, allocations: 3.938 kB / 1.021 GB, free: 123.9 MB / 0.7292 GB Notification: Performance of Templates: time 0.08027/1.942, allocations: 27.81 MB / 1.048 GB, free: 96.61 MB / 0.7292 GB