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.ACSimpleGrid.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.077/4.077, allocations: 432.7 MB / 445.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.581e-05/3.596e-05, allocations: 5.281 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1714, allocations: 98.72 MB / 0.6347 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7411/0.9126, allocations: 178.2 MB / 0.8087 GB, free: 55.63 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/0.9129, allocations: 94.89 kB / 0.8088 GB, free: 55.63 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.2439/1.157, allocations: 63.77 MB / 0.8711 GB, free: 35.28 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.126e-06/1.157, allocations: 0 / 0.8711 GB, free: 35.28 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001577/1.157, allocations: 35.19 kB / 0.8711 GB, free: 35.27 MB / 0.6511 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.006528/1.164, allocations: 1.56 MB / 0.8727 GB, free: 34.28 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/1.164, allocations: 7.719 kB / 0.8727 GB, free: 34.28 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006627/1.17, allocations: 0.4969 MB / 0.8732 GB, free: 34.05 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004653/1.175, allocations: 1.141 MB / 0.8743 GB, free: 33.57 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/1.175, allocations: 110.3 kB / 0.8744 GB, free: 33.56 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008607/1.176, allocations: 156.7 kB / 0.8745 GB, free: 33.56 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009298/1.186, allocations: 2.434 MB / 0.8769 GB, free: 32.95 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.056e-05/1.186, allocations: 15.81 kB / 0.8769 GB, free: 32.94 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004533/1.186, allocations: 62.38 kB / 0.877 GB, free: 32.94 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001821/1.186, allocations: 85.25 kB / 0.8771 GB, free: 32.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007111/1.193, allocations: 1.974 MB / 0.879 GB, free: 32.69 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02091/1.214, allocations: 10.51 MB / 0.8893 GB, free: 25.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/1.216, allocations: 0.5539 MB / 0.8898 GB, free: 25.39 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006624/1.216, allocations: 378.9 kB / 0.8902 GB, free: 25.32 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001362/1.217, allocations: 92.8 kB / 0.8902 GB, free: 25.22 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/1.217, allocations: 37.94 kB / 0.8903 GB, free: 25.18 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 3.461e-06/1.217, allocations: 3.781 kB / 0.8903 GB, free: 25.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.01723/1.234, allocations: 4.783 MB / 0.895 GB, free: 23.14 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/1.234, allocations: 85.55 kB / 0.895 GB, free: 23.04 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/1.235, allocations: 0.8076 MB / 0.8958 GB, free: 22.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001262/1.235, allocations: 37.02 kB / 0.8959 GB, free: 22.38 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004025/1.236, allocations: 0.7528 MB / 0.8966 GB, free: 21.75 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/1.236, allocations: 189.7 kB / 0.8968 GB, free: 21.59 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.67e-05/1.236, allocations: 22.31 kB / 0.8968 GB, free: 21.58 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.236, allocations: 386.1 kB / 0.8972 GB, free: 21.23 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/1.237, allocations: 0.5952 MB / 0.8977 GB, free: 20.84 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/1.238, allocations: 0.9606 MB / 0.8987 GB, free: 19.96 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/1.24, allocations: 0.7676 MB / 0.8994 GB, free: 19.44 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.428e-06/1.24, allocations: 4 kB / 0.8994 GB, free: 19.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.007506/1.247, allocations: 2.776 MB / 0.9022 GB, free: 17.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009018/1.248, allocations: 4.531 MB / 0.9066 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/1.248, allocations: 15.98 kB / 0.9066 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005924/1.254, allocations: 1.421 MB / 0.908 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/1.255, allocations: 230.1 kB / 0.9082 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008688/1.264, allocations: 6.818 MB / 0.9149 GB, free: 4.891 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/1.266, allocations: 167.6 kB / 0.915 GB, free: 4.727 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/1.266, allocations: 44 kB / 0.9151 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/1.266, allocations: 4 kB / 0.9151 GB, free: 4.68 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00577/1.271, allocations: 2.244 MB / 0.9173 GB, free: 2.426 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.255e-05/1.272, allocations: 16.03 kB / 0.9173 GB, free: 2.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003472/1.275, allocations: 0.8599 MB / 0.9181 GB, free: 1.543 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/1.276, allocations: 255.5 kB / 0.9184 GB, free: 1.293 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01423/1.291, allocations: 5.364 MB / 0.9236 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002303/1.293, allocations: 147.8 kB / 0.9237 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002348/1.293, allocations: 47.98 kB / 0.9238 GB, free: 11.46 MB / 0.6667 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 () * 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.0006019/1.294, allocations: 160.6 kB / 0.9239 GB, free: 11.3 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003609/1.294, allocations: 79 kB / 0.924 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007483/1.302, allocations: 2.313 MB / 0.9263 GB, free: 8.883 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/1.302, allocations: 8 kB / 0.9263 GB, free: 8.875 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/1.302, allocations: 0 / 0.9263 GB, free: 8.875 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/1.302, allocations: 0 / 0.9263 GB, free: 8.875 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01154/1.313, allocations: 4.267 MB / 0.9304 GB, free: 4.492 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/1.313, allocations: 4 kB / 0.9304 GB, free: 4.488 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005719/1.314, allocations: 99.8 kB / 0.9305 GB, free: 4.391 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006228/1.32, allocations: 1.373 MB / 0.9319 GB, free: 3.004 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/1.32, allocations: 11.98 kB / 0.9319 GB, free: 2.992 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.016/1.336, allocations: 9.485 MB / 0.9412 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.689e-06/1.336, allocations: 3.938 kB / 0.9412 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007325/1.344, allocations: 2.369 MB / 0.9435 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008384/1.345, allocations: 280.1 kB / 0.9437 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/1.345, allocations: 15.95 kB / 0.9438 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009865/1.346, allocations: 123.8 kB / 0.9439 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/1.346, allocations: 47.88 kB / 0.9439 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.644e-05/1.346, allocations: 12 kB / 0.9439 GB, free: 6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001251/1.347, allocations: 0.6318 MB / 0.9445 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.76e-06/1.347, allocations: 3.938 kB / 0.9445 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002877/1.35, allocations: 0.6093 MB / 0.9451 GB, free: 4.762 MB / 0.6823 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 () * 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.0004102/1.351, allocations: 197.2 kB / 0.9453 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007018/1.358, allocations: 2.946 MB / 0.9482 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.514e-06/1.358, allocations: 0 / 0.9482 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002672/1.361, allocations: 1.234 MB / 0.9494 GB, free: 288 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/1.362, allocations: 212.6 kB / 0.9496 GB, free: 76 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006387/1.368, allocations: 2.402 MB / 0.952 GB, free: 13.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002564/1.371, allocations: 1.646 MB / 0.9536 GB, free: 11.94 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002256/1.373, allocations: 0.5997 MB / 0.9542 GB, free: 11.34 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/1.374, allocations: 47.42 kB / 0.9542 GB, free: 11.29 MB / 0.698 GB Notification: Performance of SimCode: time 2.535e-06/1.374, allocations: 4 kB / 0.9542 GB, free: 11.29 MB / 0.698 GB Notification: Performance of Templates: time 0.05395/1.428, allocations: 22.88 MB / 0.9765 GB, free: 4.504 MB / 0.7136 GB