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.ACLine_RL.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0109/0.0109, allocations: 106.1 kB / 15.05 MB, free: 5.93 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.00117/0.001169, allocations: 187.5 kB / 15.95 MB, free: 5.895 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.88/1.88, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.173/2.173, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004682/0.0004682, allocations: 16 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6865/0.687, allocations: 98.71 MB / 0.6834 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3241/1.011, allocations: 174.5 MB / 0.8539 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003734/1.012, allocations: 103.9 kB / 0.854 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1286/1.14, allocations: 31.95 MB / 0.8852 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.924e-06/1.14, allocations: 0 / 0.8852 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.798e-05/1.14, allocations: 16 kB / 0.8852 GB, free: 15.18 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002135/1.142, allocations: 0.876 MB / 0.8861 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/1.142, allocations: 12.03 kB / 0.8861 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001956/1.143, allocations: 94.52 kB / 0.8862 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002237/1.145, allocations: 210.8 kB / 0.8864 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/1.146, allocations: 0.4936 MB / 0.8868 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.972e-05/1.146, allocations: 36.98 kB / 0.8869 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002465/1.147, allocations: 59.89 kB / 0.8869 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/1.149, allocations: 0.8671 MB / 0.8878 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/1.149, allocations: 7.938 kB / 0.8878 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.449e-05/1.149, allocations: 20 kB / 0.8878 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/1.149, allocations: 48.92 kB / 0.8879 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/1.15, allocations: 0.5696 MB / 0.8884 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006966/1.157, allocations: 4.604 MB / 0.8929 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007568/1.158, allocations: 290.4 kB / 0.8932 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.097e-05/1.158, allocations: 8 kB / 0.8932 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/1.158, allocations: 34.56 kB / 0.8932 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.966e-06/1.158, allocations: 0 / 0.8932 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40): time 0.009585/1.168, allocations: 2.642 MB / 0.8958 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/1.168, allocations: 55.41 kB / 0.8959 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007106/1.169, allocations: 409.2 kB / 0.8962 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.345e-05/1.169, allocations: 33.64 kB / 0.8963 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003087/1.169, allocations: 331.8 kB / 0.8966 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/1.169, allocations: 149.9 kB / 0.8967 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-05/1.169, allocations: 8 kB / 0.8967 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001766/1.17, allocations: 366.7 kB / 0.8971 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005933/1.17, allocations: 229 kB / 0.8973 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007311/1.171, allocations: 389.8 kB / 0.8977 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000718/1.172, allocations: 285.5 kB / 0.898 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/1.172, allocations: 4 kB / 0.898 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002772/1.174, allocations: 0.8907 MB / 0.8988 GB, free: 408 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/1.174, allocations: 12 kB / 0.8988 GB, free: 396 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/1.175, allocations: 4 kB / 0.8988 GB, free: 392 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/1.176, allocations: 230.3 kB / 0.8991 GB, free: 152 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009465/1.177, allocations: 103.9 kB / 0.8992 GB, free: 48 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007788/1.185, allocations: 5.005 MB / 0.9041 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008534/1.186, allocations: 27.97 kB / 0.9041 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.805e-05/1.186, allocations: 28.34 kB / 0.9041 GB, free: 10.59 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (55): * Single equations (assignments): 52 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005141/1.186, allocations: 235.4 kB / 0.9043 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/1.186, allocations: 63.25 kB / 0.9044 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/1.189, allocations: 0.778 MB / 0.9052 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/1.189, allocations: 4 kB / 0.9052 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/1.189, allocations: 4 kB / 0.9052 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/1.189, allocations: 0 / 0.9052 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004169/1.193, allocations: 1.487 MB / 0.9066 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.193, allocations: 0 / 0.9066 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007201/1.194, allocations: 71.89 kB / 0.9067 GB, free: 7.836 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001199/1.195, allocations: 202.6 kB / 0.9069 GB, free: 7.629 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.746e-05/1.195, allocations: 11.98 kB / 0.9069 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007348/1.203, allocations: 4.939 MB / 0.9117 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/1.203, allocations: 12.09 kB / 0.9117 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003187/1.206, allocations: 1.209 MB / 0.9129 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004084/1.206, allocations: 168.4 kB / 0.9131 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/1.206, allocations: 12 kB / 0.9131 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005528/1.207, allocations: 23.97 kB / 0.9131 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/1.207, allocations: 43.91 kB / 0.9131 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.683e-05/1.207, allocations: 16 kB / 0.9132 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005726/1.208, allocations: 310.9 kB / 0.9134 GB, free: 400 kB / 0.7292 GB Notification: Performance of sort global known variables: time 4.31e-07/1.208, allocations: 0 / 0.9134 GB, free: 400 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009989/1.209, allocations: 179.9 kB / 0.9136 GB, free: 220 kB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.5631/1.772, allocations: 2.254 MB / 0.9158 GB, free: 193.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002585/1.775, allocations: 0.9966 MB / 0.9168 GB, free: 193.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/1.775, allocations: 0.8125 kB / 0.9168 GB, free: 193.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001579/1.776, allocations: 0.6819 MB / 0.9175 GB, free: 192.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/1.778, allocations: 161.2 kB / 0.9176 GB, free: 192.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/1.788, allocations: 6.841 MB / 0.9243 GB, free: 188.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007673/1.789, allocations: 0.963 MB / 0.9252 GB, free: 187.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0007794/1.789, allocations: 117.7 kB / 0.9253 GB, free: 187.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003913/1.79, allocations: 212.4 kB / 0.9256 GB, free: 187.8 MB / 0.7292 GB Notification: Performance of SimCode: time 1.232e-06/1.79, allocations: 0 / 0.9256 GB, free: 187.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05089/1.841, allocations: 13.32 MB / 0.9386 GB, free: 187.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/1.841, allocations: 226.3 kB / 0.9388 GB, free: 186.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.78/4.621, allocations: 0 / 0.9388 GB, free: 186.9 MB / 0.7292 GB