Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadModel(Buildings): time 3.896/3.896, allocations: 433.4 MB / 440.9 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.315e-05/2.327e-05, allocations: 4 kB / 0.5325 GB, free: 1.852 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4996/0.4997, allocations: 98.72 MB / 0.6289 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2364/0.7362, allocations: 156.9 MB / 0.7822 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.7365, allocations: 95.92 kB / 0.7823 GB, free: 2.441 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.157/1.894, allocations: 198.4 MB / 0.976 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.725e-06/1.894, allocations: 0 / 0.976 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000377/1.894, allocations: 140.1 kB / 0.9761 GB, free: 15.04 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01506/1.909, allocations: 4.462 MB / 0.9805 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/1.91, allocations: 12.03 kB / 0.9805 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009013/1.919, allocations: 1.039 MB / 0.9815 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01093/1.93, allocations: 3.391 MB / 0.9848 GB, free: 6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003175/1.93, allocations: 184 kB / 0.985 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002072/1.932, allocations: 335.8 kB / 0.9853 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01531/1.947, allocations: 5.434 MB / 0.9906 GB, free: 56 kB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02306/1.97, allocations: 7.683 MB / 0.9981 GB, free: 7.941 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002224/1.971, allocations: 19.78 kB / 0.9981 GB, free: 7.922 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007695/1.971, allocations: 12 kB / 0.9982 GB, free: 7.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004412/1.972, allocations: 326.7 kB / 0.9985 GB, free: 7.59 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05575/2.028, allocations: 38.95 MB / 1.037 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00508/2.033, allocations: 3.013 MB / 1.039 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00358/2.036, allocations: 1.899 MB / 1.041 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/2.037, allocations: 21.94 kB / 1.041 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/2.037, allocations: 52.56 kB / 1.041 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=179): time 6.001e-06/2.037, allocations: 0 / 1.041 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of matching and sorting (n=182): time 0.0139/2.051, allocations: 5.791 MB / 1.047 GB, free: 2.004 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/2.051, allocations: 69.41 kB / 1.047 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002189/2.053, allocations: 1.1 MB / 1.048 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002301/2.053, allocations: 25.7 kB / 1.048 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002026/2.055, allocations: 2.245 MB / 1.05 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008224/2.056, allocations: 0.6043 MB / 1.051 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/2.056, allocations: 0 / 1.051 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000286/2.056, allocations: 394.3 kB / 1.051 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002174/2.059, allocations: 1.105 MB / 1.052 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002785/2.061, allocations: 1.768 MB / 1.054 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002803/2.064, allocations: 1.446 MB / 1.056 GB, free: 8.883 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.732e-05/2.064, allocations: 4 kB / 1.056 GB, free: 8.879 MB / 0.7605 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.009921/2.074, allocations: 4.223 MB / 1.06 GB, free: 4.637 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/2.074, allocations: 16 kB / 1.06 GB, free: 4.621 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-05/2.074, allocations: 20 kB / 1.06 GB, free: 4.602 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004988/2.079, allocations: 1.443 MB / 1.061 GB, free: 3.148 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/2.081, allocations: 359.3 kB / 1.061 GB, free: 2.797 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02947/2.111, allocations: 16.4 MB / 1.078 GB, free: 1.934 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/2.113, allocations: 75.89 kB / 1.078 GB, free: 1.859 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003889/2.113, allocations: 95.98 kB / 1.078 GB, free: 1.766 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * 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: 4 {(12,30.6%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004666/2.113, allocations: 168.3 kB / 1.078 GB, free: 1.594 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000436/2.114, allocations: 217.5 kB / 1.078 GB, free: 1.379 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009027/2.123, allocations: 3.833 MB / 1.082 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-05/2.123, allocations: 27.97 kB / 1.082 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.664e-05/2.123, allocations: 16 kB / 1.082 GB, free: 13.47 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.042e-05/2.123, allocations: 7.969 kB / 1.082 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02398/2.147, allocations: 8.352 MB / 1.09 GB, free: 4.891 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.338e-05/2.147, allocations: 4 kB / 1.09 GB, free: 4.887 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001992/2.149, allocations: 187.7 kB / 1.09 GB, free: 4.703 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005714/2.155, allocations: 1.32 MB / 1.091 GB, free: 3.375 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002983/2.155, allocations: 7.953 kB / 1.091 GB, free: 3.367 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5258/2.681, allocations: 15.31 MB / 1.106 GB, free: 166.9 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.155e-05/2.681, allocations: 11.56 kB / 1.106 GB, free: 166.9 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00824/2.689, allocations: 4.146 MB / 1.11 GB, free: 166.1 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001331/2.691, allocations: 0.5115 MB / 1.111 GB, free: 166 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003569/2.691, allocations: 7.594 kB / 1.111 GB, free: 166 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/2.692, allocations: 59.27 kB / 1.111 GB, free: 166 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005171/2.693, allocations: 167 kB / 1.111 GB, free: 166 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/2.693, allocations: 46.66 kB / 1.111 GB, free: 166 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001311/2.694, allocations: 0.8024 MB / 1.112 GB, free: 165.9 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.032e-06/2.694, allocations: 0 / 1.112 GB, free: 165.9 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004361/2.699, allocations: 0.9266 MB / 1.113 GB, free: 165.9 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 81 * 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: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003328/2.699, allocations: 129.7 kB / 1.113 GB, free: 165.8 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.006919/2.706, allocations: 3.996 MB / 1.117 GB, free: 165.2 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.654e-06/2.706, allocations: 0 / 1.117 GB, free: 165.2 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.004682/2.711, allocations: 2.493 MB / 1.119 GB, free: 164.7 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003285/2.714, allocations: 0.6273 MB / 1.12 GB, free: 164.7 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/2.728, allocations: 6.795 MB / 1.127 GB, free: 163.1 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005326/2.734, allocations: 3.669 MB / 1.13 GB, free: 162.3 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001892/2.736, allocations: 449.1 kB / 1.131 GB, free: 162.3 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003652/2.736, allocations: 106.7 kB / 1.131 GB, free: 162.3 MB / 0.7917 GB Notification: Performance of SimCode: time 2.271e-06/2.736, allocations: 3.656 kB / 1.131 GB, free: 162.3 MB / 0.7917 GB Notification: Performance of Templates: time 0.08874/2.825, allocations: 38.55 MB / 1.168 GB, free: 161 MB / 0.7917 GB