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.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.036/4.036, allocations: 432.6 MB / 445.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.035e-05/4.057e-05, allocations: 5.125 kB / 0.5383 GB, free: 10.33 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2114, allocations: 98.73 MB / 0.6347 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2851/0.4966, allocations: 144.9 MB / 0.7762 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003768/0.497, allocations: 91.94 kB / 0.7763 GB, free: 0.6562 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6055/1.102, allocations: 12.13 MB / 0.7882 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.834e-06/1.103, allocations: 0 / 0.7882 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.063e-05/1.103, allocations: 4.125 kB / 0.7882 GB, free: 142.6 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007484/1.103, allocations: 460 kB / 0.7886 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/1.103, allocations: 9.625 kB / 0.7886 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.266e-05/1.103, allocations: 56.31 kB / 0.7887 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008402/1.104, allocations: 68.72 kB / 0.7887 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/1.105, allocations: 231.8 kB / 0.789 GB, free: 141.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/1.105, allocations: 7.453 kB / 0.789 GB, free: 141.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.765e-05/1.105, allocations: 13.56 kB / 0.789 GB, free: 141.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005484/1.105, allocations: 275.9 kB / 0.7892 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/1.105, allocations: 0 / 0.7892 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/1.105, allocations: 8.516 kB / 0.7892 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.795e-05/1.105, allocations: 15.66 kB / 0.7893 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005044/1.106, allocations: 202.6 kB / 0.7895 GB, free: 141.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/1.108, allocations: 1.588 MB / 0.791 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/1.108, allocations: 73.88 kB / 0.7911 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.863e-05/1.108, allocations: 49.11 kB / 0.7911 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/1.108, allocations: 4.5 kB / 0.7911 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/1.108, allocations: 33.16 kB / 0.7912 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.244e-06/1.109, allocations: 0 / 0.7912 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0005848/1.109, allocations: 182.1 kB / 0.7913 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/1.109, allocations: 82.58 kB / 0.7914 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/1.109, allocations: 201.2 kB / 0.7916 GB, free: 140.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/1.109, allocations: 25.7 kB / 0.7916 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.563e-05/1.11, allocations: 164 kB / 0.7918 GB, free: 140 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/1.11, allocations: 33.28 kB / 0.7918 GB, free: 140 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.764e-05/1.11, allocations: 4.406 kB / 0.7918 GB, free: 140 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.844e-05/1.11, allocations: 324 kB / 0.7921 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/1.11, allocations: 74.09 kB / 0.7922 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/1.11, allocations: 165.6 kB / 0.7924 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/1.11, allocations: 99.45 kB / 0.7924 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.11, allocations: 1.312 kB / 0.7924 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006122/1.111, allocations: 273.9 kB / 0.7927 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002799/1.111, allocations: 1.14 MB / 0.7938 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.111, allocations: 2.875 kB / 0.7938 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/1.111, allocations: 5.25 kB / 0.7938 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004364/1.112, allocations: 49.73 kB / 0.7939 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/1.112, allocations: 8.125 kB / 0.7939 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/1.112, allocations: 27.91 kB / 0.7939 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/1.112, allocations: 9.531 kB / 0.7939 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/1.112, allocations: 6.75 kB / 0.7939 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004782/1.113, allocations: 212.5 kB / 0.7941 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/1.113, allocations: 3.062 kB / 0.7941 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/1.113, allocations: 4.031 kB / 0.7941 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003311/1.113, allocations: 53.92 kB / 0.7942 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/1.113, allocations: 8.125 kB / 0.7942 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/1.113, allocations: 22.03 kB / 0.7942 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.361e-05/1.113, allocations: 13.06 kB / 0.7942 GB, free: 138.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.464e-05/1.114, allocations: 117.8 kB / 0.7943 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.368e-05/1.114, allocations: 10.12 kB / 0.7944 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002794/1.114, allocations: 120.9 kB / 0.7945 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/1.114, allocations: 1.406 kB / 0.7945 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.114, allocations: 7.953 kB / 0.7945 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/1.114, allocations: 1.25 kB / 0.7945 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000978/1.115, allocations: 0.6212 MB / 0.7951 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/1.115, allocations: 2.406 kB / 0.7951 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/1.115, allocations: 21.3 kB / 0.7951 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/1.115, allocations: 3.125 kB / 0.7951 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/1.115, allocations: 2.094 kB / 0.7951 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/1.115, allocations: 10.31 kB / 0.7951 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.647e-05/1.115, allocations: 2.188 kB / 0.7951 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/1.116, allocations: 415.8 kB / 0.7955 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/1.116, allocations: 100.5 kB / 0.7956 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/1.116, allocations: 7.438 kB / 0.7956 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/1.116, allocations: 10.41 kB / 0.7956 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/1.116, allocations: 9.703 kB / 0.7956 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/1.116, allocations: 4.281 kB / 0.7956 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002246/1.116, allocations: 168.9 kB / 0.7958 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.4e-07/1.116, allocations: 0 / 0.7958 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007351/1.117, allocations: 89.95 kB / 0.7959 GB, free: 137.1 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006468/1.118, allocations: 1.442 MB / 0.7973 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007062/1.118, allocations: 272.1 kB / 0.7976 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.118, allocations: 3.938 kB / 0.7976 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/1.119, allocations: 42.25 kB / 0.7976 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/1.119, allocations: 38.91 kB / 0.7976 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/1.12, allocations: 329.5 kB / 0.798 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/1.12, allocations: 0.7418 MB / 0.7987 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003667/1.121, allocations: 75.48 kB / 0.7988 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/1.121, allocations: 43.66 kB / 0.7988 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of SimCode: time 7.01e-07/1.121, allocations: 0 / 0.7988 GB, free: 134.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/1.146, allocations: 3.335 MB / 0.8021 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002857/1.147, allocations: 189.3 kB / 0.8022 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.385/3.531, allocations: 0 / 0.8022 GB, free: 133.5 MB / 0.6511 GB