Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.987/3.987, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.311e-05/3.321e-05, allocations: 6.594 kB / 0.5383 GB, free: 10.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2028, allocations: 98.73 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.883/1.086, allocations: 196.1 MB / 0.8262 GB, free: 45.93 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003332/1.086, allocations: 99.64 kB / 0.8263 GB, free: 45.93 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.3502/1.437, allocations: 85.38 MB / 0.9097 GB, free: 4.727 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.004e-06/1.437, allocations: 0 / 0.9097 GB, free: 4.727 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001958/1.437, allocations: 51.86 kB / 0.9097 GB, free: 4.676 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.006151/1.443, allocations: 1.621 MB / 0.9113 GB, free: 3.113 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/1.443, allocations: 12.03 kB / 0.9113 GB, free: 3.102 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006789/1.444, allocations: 187.5 kB / 0.9115 GB, free: 2.98 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02621/1.47, allocations: 1.966 MB / 0.9134 GB, free: 1.047 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008244/1.478, allocations: 2.068 MB / 0.9154 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.713e-05/1.478, allocations: 89.69 kB / 0.9155 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005097/1.479, allocations: 114.7 kB / 0.9156 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005956/1.485, allocations: 2.229 MB / 0.9178 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.43e-05/1.485, allocations: 7.938 kB / 0.9178 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003079/1.485, allocations: 56.3 kB / 0.9179 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001875/1.486, allocations: 89.41 kB / 0.918 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00578/1.491, allocations: 1.853 MB / 0.9198 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02896/1.52, allocations: 10.73 MB / 0.9302 GB, free: 1.539 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004721/1.525, allocations: 1.508 MB / 0.9317 GB, free: 0 / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002607/1.528, allocations: 0.8926 MB / 0.9326 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/1.528, allocations: 12.77 kB / 0.9326 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.731e-05/1.528, allocations: 51.34 kB / 0.9327 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=89): time 3.887e-06/1.528, allocations: 0 / 0.9327 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=153): time 0.09524/1.623, allocations: 13.68 MB / 0.946 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001719/1.624, allocations: 226.9 kB / 0.9462 GB, free: 1.043 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002442/1.626, allocations: 1.007 MB / 0.9472 GB, free: 28 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004775/1.627, allocations: 53.7 kB / 0.9473 GB, free: 15.97 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008811/1.627, allocations: 0.7322 MB / 0.948 GB, free: 15.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009366/1.628, allocations: 0.5159 MB / 0.9485 GB, free: 14.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002507/1.629, allocations: 28 kB / 0.9485 GB, free: 14.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002171/1.629, allocations: 361.9 kB / 0.9488 GB, free: 14.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003044/1.632, allocations: 1.129 MB / 0.9499 GB, free: 13.19 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003439/1.635, allocations: 1.407 MB / 0.9513 GB, free: 11.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003502/1.639, allocations: 1.246 MB / 0.9525 GB, free: 10.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/1.639, allocations: 4 kB / 0.9525 GB, free: 10.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01996/1.659, allocations: 4.575 MB / 0.957 GB, free: 5.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/1.659, allocations: 8 kB / 0.957 GB, free: 5.812 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/1.659, allocations: 8.062 kB / 0.957 GB, free: 5.805 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01618/1.675, allocations: 2.131 MB / 0.9591 GB, free: 3.648 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003915/1.679, allocations: 415.3 kB / 0.9595 GB, free: 3.242 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05023/1.73, allocations: 22.49 MB / 0.9815 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005227/1.735, allocations: 327.5 kB / 0.9818 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005081/1.735, allocations: 67.97 kB / 0.9818 GB, free: 11.3 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006483/1.736, allocations: 183.7 kB / 0.982 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008766/1.737, allocations: 181.9 kB / 0.9822 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01989/1.757, allocations: 4.649 MB / 0.9867 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-05/1.757, allocations: 12 kB / 0.9867 GB, free: 6.23 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.396e-05/1.757, allocations: 20 kB / 0.9868 GB, free: 6.211 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.864e-05/1.757, allocations: 7.969 kB / 0.9868 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0261/1.783, allocations: 6.891 MB / 0.9935 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.321e-05/1.783, allocations: 7.984 kB / 0.9935 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003399/1.787, allocations: 363.7 kB / 0.9939 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01482/1.801, allocations: 1.985 MB / 0.9958 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003874/1.802, allocations: 43.92 kB / 0.9958 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0463/1.848, allocations: 21.68 MB / 1.017 GB, free: 6.031 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.188e-06/1.848, allocations: 7.984 kB / 1.017 GB, free: 6.023 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01786/1.866, allocations: 4.415 MB / 1.021 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002066/1.868, allocations: 0.5104 MB / 1.022 GB, free: 0.9141 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007593/1.869, allocations: 28 kB / 1.022 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004886/1.874, allocations: 335.5 kB / 1.022 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008687/1.875, allocations: 145 kB / 1.022 GB, free: 428 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002959/1.875, allocations: 59.97 kB / 1.022 GB, free: 368 kB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.00202/1.877, allocations: 0.7729 MB / 1.023 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.92e-07/1.877, allocations: 0 / 1.023 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004036/1.881, allocations: 0.7226 MB / 1.024 GB, free: 14.86 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01972/1.901, allocations: 5.805 MB / 1.029 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01399/1.915, allocations: 4.339 MB / 1.034 GB, free: 4.48 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/1.915, allocations: 0 / 1.034 GB, free: 4.48 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.009737/1.925, allocations: 2.955 MB / 1.037 GB, free: 1.422 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004238/1.929, allocations: 0.5 MB / 1.037 GB, free: 0.9297 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/1.943, allocations: 3.578 MB / 1.041 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002103/1.945, allocations: 1.6 MB / 1.042 GB, free: 11.62 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.003197/1.948, allocations: 406.7 kB / 1.043 GB, free: 11.22 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001869/1.95, allocations: 0.6672 MB / 1.043 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of SimCode: time 1.553e-06/1.95, allocations: 3.938 kB / 1.043 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7465/2.696, allocations: 59.02 MB / 1.101 GB, free: 239 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/2.697, allocations: 193.2 kB / 1.101 GB, free: 238.8 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.387/7.084, allocations: 1 kB / 1.101 GB, free: 238.8 MB / 0.823 GB