Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.PVSimple,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_DC_Sources_Examples_PVSimple",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.989/3.989, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.95e-05/3.96e-05, allocations: 11.88 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6624/0.6625, allocations: 92.68 MB / 0.5896 GB, free: 14.4 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.744/7.407, allocations: 2.197 GB / 2.787 GB, free: 64.56 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003826/7.407, allocations: 93.95 kB / 2.787 GB, free: 64.52 MB / 0.7761 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/DC/Sensors/GeneralizedSensor.mo:38:3-38:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.2502/7.657, allocations: 63.17 MB / 2.849 GB, free: 5.77 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.235e-06/7.657, allocations: 4 kB / 2.849 GB, free: 5.766 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.91e-05/7.658, allocations: 35.94 kB / 2.849 GB, free: 5.73 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.004555/7.662, allocations: 1.563 MB / 2.85 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/7.662, allocations: 16.03 kB / 2.85 GB, free: 4.082 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006329/7.663, allocations: 207.3 kB / 2.851 GB, free: 3.867 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/7.674, allocations: 0.9148 MB / 2.852 GB, free: 2.949 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002507/7.676, allocations: 0.8065 MB / 2.852 GB, free: 2.098 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/7.677, allocations: 110.8 kB / 2.852 GB, free: 1.988 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003963/7.677, allocations: 140 kB / 2.853 GB, free: 1.852 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004419/7.681, allocations: 1.694 MB / 2.854 GB, free: 100 kB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.922e-05/7.682, allocations: 3.938 kB / 2.854 GB, free: 96 kB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002795/7.682, allocations: 63.98 kB / 2.854 GB, free: 32 kB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.5707/8.253, allocations: 59.02 kB / 2.854 GB, free: 261.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007724/8.26, allocations: 1.986 MB / 2.856 GB, free: 261.8 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01809/8.279, allocations: 5.728 MB / 2.862 GB, free: 260.4 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003943/8.283, allocations: 1.332 MB / 2.863 GB, free: 260.4 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001809/8.284, allocations: 0.635 MB / 2.864 GB, free: 260.4 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009653/8.285, allocations: 494.6 kB / 2.864 GB, free: 259.9 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00192/8.287, allocations: 0.8125 MB / 2.865 GB, free: 259.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=128): time 4.248e-06/8.287, allocations: 0 / 2.865 GB, free: 259.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=128): time 0.00377/8.291, allocations: 1.276 MB / 2.866 GB, free: 259.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/8.291, allocations: 277.3 kB / 2.867 GB, free: 259.4 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/8.293, allocations: 0.6884 MB / 2.867 GB, free: 259.3 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0004814/8.293, allocations: 53.14 kB / 2.867 GB, free: 259.2 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005386/8.294, allocations: 0.5418 MB / 2.868 GB, free: 259 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005453/8.294, allocations: 427.9 kB / 2.868 GB, free: 258.8 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/8.294, allocations: 22.78 kB / 2.868 GB, free: 258.8 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001599/8.295, allocations: 400.7 kB / 2.869 GB, free: 258.5 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/8.296, allocations: 0.4963 MB / 2.869 GB, free: 258.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/8.298, allocations: 0.6616 MB / 2.87 GB, free: 258.3 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/8.299, allocations: 0.5987 MB / 2.87 GB, free: 258.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/8.299, allocations: 6.297 kB / 2.87 GB, free: 258.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004116/8.303, allocations: 1.501 MB / 2.872 GB, free: 258.1 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002952/8.304, allocations: 1.104 MB / 2.873 GB, free: 256.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/8.304, allocations: 3.812 kB / 2.873 GB, free: 256.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002511/8.304, allocations: 34.56 kB / 2.873 GB, free: 256.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003541/8.308, allocations: 347.1 kB / 2.873 GB, free: 256.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00037/8.308, allocations: 0.5371 MB / 2.874 GB, free: 256.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002635/8.311, allocations: 184.3 kB / 2.874 GB, free: 256.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002159/8.311, allocations: 64.36 kB / 2.874 GB, free: 256.4 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/8.311, allocations: 5.5 kB / 2.874 GB, free: 256.4 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003639/8.314, allocations: 1.384 MB / 2.875 GB, free: 256.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/8.315, allocations: 10.05 kB / 2.875 GB, free: 256.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/8.315, allocations: 11.58 kB / 2.875 GB, free: 256.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003464/8.318, allocations: 345.8 kB / 2.876 GB, free: 256.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/8.318, allocations: 7.5 kB / 2.876 GB, free: 256.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002495/8.321, allocations: 186.3 kB / 2.876 GB, free: 256.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001895/8.321, allocations: 61.58 kB / 2.876 GB, free: 256.2 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004849/8.321, allocations: 168.5 kB / 2.876 GB, free: 256.1 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003214/8.322, allocations: 112.5 kB / 2.876 GB, free: 256.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005219/8.327, allocations: 1.671 MB / 2.878 GB, free: 255.9 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/8.327, allocations: 15.56 kB / 2.878 GB, free: 255.9 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/8.327, allocations: 0 / 2.878 GB, free: 255.9 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.957e-05/8.327, allocations: 6.703 kB / 2.878 GB, free: 255.9 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007484/8.334, allocations: 3.41 MB / 2.881 GB, free: 255.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/8.334, allocations: 0 / 2.881 GB, free: 255.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003239/8.338, allocations: 316.5 kB / 2.882 GB, free: 255.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000166/8.338, allocations: 31.95 kB / 2.882 GB, free: 255.3 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001576/8.338, allocations: 41.88 kB / 2.882 GB, free: 255.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/8.339, allocations: 1.289 MB / 2.883 GB, free: 254.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/8.339, allocations: 9.625 kB / 2.883 GB, free: 254.1 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00381/8.343, allocations: 1.516 MB / 2.884 GB, free: 253.7 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009226/8.344, allocations: 412.5 kB / 2.885 GB, free: 253.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003164/8.344, allocations: 27.69 kB / 2.885 GB, free: 253.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00248/8.347, allocations: 133.2 kB / 2.885 GB, free: 253.4 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/8.347, allocations: 85.62 kB / 2.885 GB, free: 253.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001874/8.347, allocations: 60.55 kB / 2.885 GB, free: 253.4 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001071/8.348, allocations: 0.5646 MB / 2.886 GB, free: 253.2 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.21e-07/8.348, allocations: 0 / 2.886 GB, free: 253.2 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002762/8.351, allocations: 0.7327 MB / 2.886 GB, free: 253 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (138): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005625/8.357, allocations: 2.887 MB / 2.889 GB, free: 251.3 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005295/8.362, allocations: 2.205 MB / 2.891 GB, free: 250.3 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/8.362, allocations: 3.938 kB / 2.891 GB, free: 250.3 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001805/8.364, allocations: 0.7724 MB / 2.892 GB, free: 250 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/8.366, allocations: 227 kB / 2.892 GB, free: 249.9 MB / 0.7761 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006873/8.373, allocations: 2.267 MB / 2.894 GB, free: 249 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00089/8.374, allocations: 1.231 MB / 2.896 GB, free: 248.2 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.005055/8.379, allocations: 0.615 MB / 2.896 GB, free: 248 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001383/8.38, allocations: 0.527 MB / 2.897 GB, free: 247.6 MB / 0.7761 GB Notification: Performance of SimCode: time 1.202e-06/8.38, allocations: 0 / 2.897 GB, free: 247.6 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3983/8.778, allocations: 28.7 MB / 2.925 GB, free: 237.9 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002648/8.779, allocations: 219.5 kB / 2.925 GB, free: 237.7 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.544/12.32, allocations: 0 / 2.925 GB, free: 237.7 MB / 0.7761 GB