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_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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.933/3.933, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.686e-05/3.698e-05, allocations: 3.672 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2108, allocations: 98.73 MB / 0.6347 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8812/1.092, allocations: 150.1 MB / 0.7813 GB, free: 57.71 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003439/1.093, allocations: 93.62 kB / 0.7814 GB, free: 57.71 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1444/1.237, allocations: 36.89 MB / 0.8174 GB, free: 54.21 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.004e-06/1.237, allocations: 0 / 0.8174 GB, free: 54.21 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.179e-05/1.237, allocations: 21.69 kB / 0.8174 GB, free: 54.2 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002521/1.24, allocations: 0.9645 MB / 0.8184 GB, free: 53.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/1.24, allocations: 7.812 kB / 0.8184 GB, free: 53.6 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002483/1.24, allocations: 126.9 kB / 0.8185 GB, free: 53.55 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002387/1.242, allocations: 241.8 kB / 0.8187 GB, free: 53.51 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/1.244, allocations: 0.5405 MB / 0.8193 GB, free: 53.21 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.421e-05/1.244, allocations: 47.38 kB / 0.8193 GB, free: 53.21 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/1.244, allocations: 68.06 kB / 0.8194 GB, free: 53.21 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/1.246, allocations: 1.119 MB / 0.8205 GB, free: 52.77 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.063e-05/1.246, allocations: 15.73 kB / 0.8205 GB, free: 52.75 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/1.246, allocations: 36.3 kB / 0.8205 GB, free: 52.75 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/1.246, allocations: 51.11 kB / 0.8206 GB, free: 52.75 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/1.248, allocations: 0.7266 MB / 0.8213 GB, free: 52.72 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007254/1.256, allocations: 5.911 MB / 0.827 GB, free: 48.33 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/1.257, allocations: 0.5406 MB / 0.8276 GB, free: 48.29 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006302/1.258, allocations: 326 kB / 0.8279 GB, free: 48.29 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.939e-05/1.258, allocations: 8.406 kB / 0.8279 GB, free: 48.28 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/1.258, allocations: 46.02 kB / 0.8279 GB, free: 48.23 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=47): time 3.296e-06/1.258, allocations: 3.938 kB / 0.8279 GB, free: 48.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.003297/1.261, allocations: 1.227 MB / 0.8291 GB, free: 47.98 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/1.261, allocations: 63.25 kB / 0.8292 GB, free: 47.91 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007426/1.262, allocations: 492.1 kB / 0.8297 GB, free: 47.78 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.439e-05/1.262, allocations: 36.86 kB / 0.8297 GB, free: 47.75 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/1.262, allocations: 405.5 kB / 0.8301 GB, free: 47.54 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/1.262, allocations: 162.8 kB / 0.8302 GB, free: 47.43 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/1.262, allocations: 14.59 kB / 0.8303 GB, free: 47.43 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001124/1.263, allocations: 375.5 kB / 0.8306 GB, free: 47.12 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006252/1.263, allocations: 263.5 kB / 0.8309 GB, free: 47.11 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006775/1.264, allocations: 462 kB / 0.8313 GB, free: 46.88 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007076/1.265, allocations: 332.3 kB / 0.8316 GB, free: 46.86 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/1.265, allocations: 7.891 kB / 0.8316 GB, free: 46.86 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002617/1.267, allocations: 1.042 MB / 0.8326 GB, free: 46.69 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/1.267, allocations: 3.906 kB / 0.8326 GB, free: 46.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/1.267, allocations: 7.812 kB / 0.8327 GB, free: 46.69 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/1.269, allocations: 277.8 kB / 0.8329 GB, free: 46.65 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009257/1.27, allocations: 115.9 kB / 0.833 GB, free: 46.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007618/1.277, allocations: 6.594 MB / 0.8395 GB, free: 41.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/1.278, allocations: 45.7 kB / 0.8395 GB, free: 41.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.306e-05/1.279, allocations: 27.41 kB / 0.8395 GB, free: 41.52 MB / 0.6511 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 (63): * Single equations (assignments): 59 * 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 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001882/1.279, allocations: 141.2 kB / 0.8397 GB, free: 41.41 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/1.279, allocations: 70.41 kB / 0.8397 GB, free: 41.38 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002341/1.281, allocations: 0.8832 MB / 0.8406 GB, free: 41.25 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/1.281, allocations: 3.938 kB / 0.8406 GB, free: 41.25 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.281, allocations: 3.969 kB / 0.8406 GB, free: 41.25 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/1.281, allocations: 0 / 0.8406 GB, free: 41.25 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003985/1.285, allocations: 1.719 MB / 0.8423 GB, free: 40.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/1.285, allocations: 0 / 0.8423 GB, free: 40.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005096/1.286, allocations: 62.25 kB / 0.8424 GB, free: 40.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001281/1.287, allocations: 265.2 kB / 0.8426 GB, free: 40.78 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.857e-05/1.287, allocations: 14.61 kB / 0.8426 GB, free: 40.78 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00718/1.294, allocations: 6.574 MB / 0.849 GB, free: 35.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.294, allocations: 7.156 kB / 0.849 GB, free: 35.68 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/1.297, allocations: 1.039 MB / 0.8501 GB, free: 35.29 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004264/1.297, allocations: 195 kB / 0.8502 GB, free: 35.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/1.297, allocations: 15.42 kB / 0.8503 GB, free: 35.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006416/1.298, allocations: 29.39 kB / 0.8503 GB, free: 35.15 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/1.298, allocations: 42.98 kB / 0.8503 GB, free: 35.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-05/1.298, allocations: 19.62 kB / 0.8503 GB, free: 35.14 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005848/1.299, allocations: 385.1 kB / 0.8507 GB, free: 35.05 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.299, allocations: 0 / 0.8507 GB, free: 35.05 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00109/1.3, allocations: 229.3 kB / 0.8509 GB, free: 35.04 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(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.002475/1.303, allocations: 2.021 MB / 0.8529 GB, free: 33.72 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002618/1.305, allocations: 1.239 MB / 0.8541 GB, free: 33.22 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/1.305, allocations: 0 / 0.8541 GB, free: 33.22 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001701/1.307, allocations: 0.8793 MB / 0.855 GB, free: 32.74 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/1.308, allocations: 197.6 kB / 0.8552 GB, free: 32.72 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/1.311, allocations: 1.154 MB / 0.8563 GB, free: 32.32 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005898/1.312, allocations: 1.03 MB / 0.8573 GB, free: 31.61 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006746/1.313, allocations: 118 kB / 0.8574 GB, free: 31.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004005/1.313, allocations: 257.5 kB / 0.8577 GB, free: 31.58 MB / 0.6511 GB Notification: Performance of SimCode: time 9.02e-07/1.313, allocations: 4 kB / 0.8577 GB, free: 31.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04908/1.362, allocations: 16.32 MB / 0.8736 GB, free: 23.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/1.362, allocations: 195.7 kB / 0.8738 GB, free: 23.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.88/4.242, allocations: 3.938 kB / 0.8738 GB, free: 23.65 MB / 0.6511 GB