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.ACLine_R.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.084/4.084, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.28e-05/4.3e-05, allocations: 4.375 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2454, allocations: 98.73 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8718/1.117, allocations: 157.3 MB / 0.7884 GB, free: 58.37 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003617/1.118, allocations: 95.64 kB / 0.7885 GB, free: 58.37 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6848/1.802, allocations: 181.6 MB / 0.9658 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.896e-06/1.803, allocations: 0 / 0.9658 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004976/1.803, allocations: 127.9 kB / 0.9659 GB, free: 456 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01912/1.822, allocations: 4.154 MB / 0.97 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/1.822, allocations: 8.031 kB / 0.97 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00373/1.826, allocations: 0.7021 MB / 0.9707 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/1.836, allocations: 1.016 MB / 0.9717 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01242/1.849, allocations: 3.21 MB / 0.9748 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005255/1.849, allocations: 353.7 kB / 0.9751 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002314/1.852, allocations: 476 kB / 0.9756 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02473/1.876, allocations: 7.418 MB / 0.9828 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002305/1.877, allocations: 27.72 kB / 0.9829 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001575/1.878, allocations: 223.9 kB / 0.9831 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004874/1.879, allocations: 269.4 kB / 0.9833 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01867/1.897, allocations: 5.303 MB / 0.9885 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06137/1.959, allocations: 36.26 MB / 1.024 GB, free: 1.195 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006043/1.965, allocations: 2.113 MB / 1.026 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003622/1.969, allocations: 1.459 MB / 1.027 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002145/1.969, allocations: 17.31 kB / 1.027 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.72e-05/1.969, allocations: 51.88 kB / 1.027 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=157): time 5.21e-06/1.969, allocations: 0 / 1.027 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=160): time 0.01539/1.984, allocations: 4.977 MB / 1.032 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/1.984, allocations: 68.72 kB / 1.032 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003496/1.988, allocations: 1.539 MB / 1.034 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0004299/1.988, allocations: 57.7 kB / 1.034 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.002032/1.99, allocations: 2.096 MB / 1.036 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001006/1.992, allocations: 0.5546 MB / 1.037 GB, free: 4.113 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/1.992, allocations: 40 kB / 1.037 GB, free: 4.074 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002288/1.992, allocations: 394.1 kB / 1.037 GB, free: 3.684 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002609/1.995, allocations: 0.996 MB / 1.038 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003168/1.998, allocations: 1.709 MB / 1.04 GB, free: 0.6328 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003229/2.001, allocations: 1.289 MB / 1.041 GB, free: 15.35 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.036e-05/2.001, allocations: 8 kB / 1.041 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.0111/2.012, allocations: 3.768 MB / 1.045 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 4.648e-05/2.012, allocations: 12 kB / 1.045 GB, free: 11.51 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.15e-05/2.012, allocations: 24 kB / 1.045 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00434/2.017, allocations: 0.9161 MB / 1.045 GB, free: 10.54 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003137/2.02, allocations: 419.3 kB / 1.046 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02901/2.049, allocations: 21 MB / 1.066 GB, free: 3.523 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003186/2.052, allocations: 123.9 kB / 1.066 GB, free: 3.402 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004228/2.053, allocations: 95.98 kB / 1.067 GB, free: 3.309 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006253/2.053, allocations: 244.2 kB / 1.067 GB, free: 3.062 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007842/2.054, allocations: 257 kB / 1.067 GB, free: 2.809 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009472/2.064, allocations: 3.225 MB / 1.07 GB, free: 15.53 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/2.064, allocations: 16 kB / 1.07 GB, free: 15.51 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-05/2.064, allocations: 12 kB / 1.07 GB, free: 15.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.275e-05/2.064, allocations: 7.969 kB / 1.07 GB, free: 15.49 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02214/2.086, allocations: 7.482 MB / 1.078 GB, free: 7.855 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/2.086, allocations: 4 kB / 1.078 GB, free: 7.852 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002048/2.088, allocations: 220.2 kB / 1.078 GB, free: 7.637 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004184/2.092, allocations: 0.8726 MB / 1.079 GB, free: 6.727 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003553/2.093, allocations: 32 kB / 1.079 GB, free: 6.695 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6124/2.705, allocations: 20.95 MB / 1.099 GB, free: 182.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/2.705, allocations: 8.344 kB / 1.099 GB, free: 182.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/2.715, allocations: 3.669 MB / 1.103 GB, free: 181.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002277/2.718, allocations: 0.5299 MB / 1.103 GB, free: 181.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008986/2.718, allocations: 32.72 kB / 1.103 GB, free: 181.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002312/2.721, allocations: 93.03 kB / 1.103 GB, free: 181.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006169/2.721, allocations: 142 kB / 1.103 GB, free: 181.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001816/2.722, allocations: 46.61 kB / 1.104 GB, free: 181.3 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002788/2.724, allocations: 1.161 MB / 1.105 GB, free: 181.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.92e-07/2.725, allocations: 0 / 1.105 GB, free: 181.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005047/2.73, allocations: 0.9331 MB / 1.106 GB, free: 181.1 MB / 0.823 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01033/2.74, allocations: 5.392 MB / 1.111 GB, free: 178.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01051/2.751, allocations: 4.285 MB / 1.115 GB, free: 177.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/2.751, allocations: 6.922 kB / 1.115 GB, free: 177.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.006941/2.758, allocations: 2.95 MB / 1.118 GB, free: 175.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005884/2.763, allocations: 0.7103 MB / 1.119 GB, free: 175.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0224/2.786, allocations: 7.179 MB / 1.126 GB, free: 174.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00599/2.792, allocations: 3.29 MB / 1.129 GB, free: 173.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003287/2.795, allocations: 0.5198 MB / 1.129 GB, free: 173.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003389/2.799, allocations: 1.674 MB / 1.131 GB, free: 173.5 MB / 0.823 GB Notification: Performance of SimCode: time 1.523e-06/2.799, allocations: 0 / 1.131 GB, free: 173.5 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1813/2.98, allocations: 68.23 MB / 1.198 GB, free: 171.1 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/2.98, allocations: 202 kB / 1.198 GB, free: 170.9 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.657/7.638, allocations: 7.719 kB / 1.198 GB, free: 170.9 MB / 0.823 GB