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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.705/4.705, allocations: 404.2 MB / 411.3 MB, free: 380 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.686e-05/3.692e-05, allocations: 4 kB / 0.4945 GB, free: 1.301 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7319/0.732, allocations: 92.68 MB / 0.5851 GB, free: 2.293 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.732/8.464, allocations: 2.197 GB / 2.782 GB, free: 92.7 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003888/8.464, allocations: 99.06 kB / 2.782 GB, free: 92.65 MB / 0.7761 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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.3052/8.77, allocations: 62.22 MB / 2.843 GB, free: 36 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.045e-06/8.77, allocations: 0 / 2.843 GB, free: 36 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001426/8.77, allocations: 43.88 kB / 2.843 GB, free: 35.96 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.005796/8.776, allocations: 1.567 MB / 2.844 GB, free: 34.32 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/8.776, allocations: 12.03 kB / 2.844 GB, free: 34.31 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0133/8.789, allocations: 0.911 MB / 2.845 GB, free: 33.4 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002736/8.792, allocations: 0.8065 MB / 2.846 GB, free: 32.55 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.992e-05/8.792, allocations: 51.95 kB / 2.846 GB, free: 32.5 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004149/8.792, allocations: 80 kB / 2.846 GB, free: 32.42 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005913/8.798, allocations: 1.918 MB / 2.848 GB, free: 30.5 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005023/8.803, allocations: 1.51 MB / 2.849 GB, free: 28.93 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.666e-05/8.803, allocations: 3.938 kB / 2.849 GB, free: 28.93 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002961/8.804, allocations: 0 / 2.849 GB, free: 28.93 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/8.804, allocations: 66.72 kB / 2.849 GB, free: 28.86 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01956/8.823, allocations: 5.469 MB / 2.855 GB, free: 23.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003883/8.827, allocations: 1.272 MB / 2.856 GB, free: 22.01 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001793/8.829, allocations: 0.6139 MB / 2.857 GB, free: 21.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/8.83, allocations: 486.9 kB / 2.857 GB, free: 20.83 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002247/8.833, allocations: 0.7788 MB / 2.858 GB, free: 20.02 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=128): time 6.632e-06/8.833, allocations: 3.938 kB / 2.858 GB, free: 20.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=128): time 0.017/8.85, allocations: 2.066 MB / 2.86 GB, free: 17.94 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/8.85, allocations: 278.3 kB / 2.86 GB, free: 17.6 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/8.851, allocations: 0.5975 MB / 2.861 GB, free: 17 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0004723/8.852, allocations: 29.7 kB / 2.861 GB, free: 16.96 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006123/8.852, allocations: 0.5467 MB / 2.861 GB, free: 16.4 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000634/8.853, allocations: 409.8 kB / 2.862 GB, free: 16 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/8.853, allocations: 0 / 2.862 GB, free: 16 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001807/8.854, allocations: 398.8 kB / 2.862 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/8.855, allocations: 478.5 kB / 2.863 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/8.857, allocations: 0.632 MB / 2.863 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01421/8.871, allocations: 1.381 MB / 2.864 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.143e-05/8.871, allocations: 0 / 2.864 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.0173/8.888, allocations: 2.23 MB / 2.867 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003147/8.889, allocations: 1.11 MB / 2.868 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/8.889, allocations: 4 kB / 2.868 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002644/8.889, allocations: 28.84 kB / 2.868 GB, free: 9.586 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004445/8.893, allocations: 347.5 kB / 2.868 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004711/8.894, allocations: 0.5406 MB / 2.869 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003387/8.897, allocations: 163 kB / 2.869 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003477/8.898, allocations: 55.95 kB / 2.869 GB, free: 8.465 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/8.898, allocations: 10.75 kB / 2.869 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01669/8.914, allocations: 2.088 MB / 2.871 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/8.914, allocations: 3.984 kB / 2.871 GB, free: 6.363 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/8.914, allocations: 8 kB / 2.871 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004454/8.919, allocations: 343.8 kB / 2.871 GB, free: 6.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.083e-05/8.919, allocations: 12 kB / 2.871 GB, free: 6.008 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003213/8.922, allocations: 143 kB / 2.871 GB, free: 5.867 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003415/8.923, allocations: 63.95 kB / 2.871 GB, free: 5.805 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.0005534/8.923, allocations: 124.7 kB / 2.872 GB, free: 5.676 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01749/8.941, allocations: 2.073 MB / 2.874 GB, free: 3.59 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005512/8.941, allocations: 98.78 kB / 2.874 GB, free: 3.492 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01843/8.96, allocations: 2.422 MB / 2.876 GB, free: 1.059 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-05/8.96, allocations: 15.98 kB / 2.876 GB, free: 1.043 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/8.96, allocations: 4 kB / 2.876 GB, free: 1.039 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.418e-05/8.96, allocations: 11.92 kB / 2.876 GB, free: 1.027 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6468/9.607, allocations: 3.991 MB / 2.88 GB, free: 261.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/9.607, allocations: 3.766 kB / 2.88 GB, free: 261.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004603/9.611, allocations: 313.9 kB / 2.88 GB, free: 261.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002505/9.612, allocations: 31.56 kB / 2.88 GB, free: 261.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000414/9.612, allocations: 29 kB / 2.88 GB, free: 261.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/9.613, allocations: 1.224 MB / 2.882 GB, free: 260.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/9.613, allocations: 0.9688 kB / 2.882 GB, free: 260.6 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01843/9.632, allocations: 2.297 MB / 2.884 GB, free: 260.3 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001613/9.633, allocations: 413.7 kB / 2.884 GB, free: 260.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005506/9.634, allocations: 7.156 kB / 2.884 GB, free: 260.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003402/9.637, allocations: 108.8 kB / 2.884 GB, free: 260.2 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004806/9.638, allocations: 90.17 kB / 2.884 GB, free: 260.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003123/9.638, allocations: 58.5 kB / 2.884 GB, free: 260.2 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001336/9.64, allocations: 491.6 kB / 2.885 GB, free: 260.1 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.062e-06/9.64, allocations: 0 / 2.885 GB, free: 260.1 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003873/9.644, allocations: 0.6824 MB / 2.886 GB, free: 260 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.01997/9.664, allocations: 3.635 MB / 2.889 GB, free: 258.8 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.006377/9.67, allocations: 2.14 MB / 2.891 GB, free: 258.6 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/9.67, allocations: 0 / 2.891 GB, free: 258.6 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002187/9.672, allocations: 0.7485 MB / 2.892 GB, free: 258.5 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00253/9.675, allocations: 202.5 kB / 2.892 GB, free: 258.4 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008494/9.683, allocations: 2.141 MB / 2.894 GB, free: 257.9 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/9.684, allocations: 1.235 MB / 2.895 GB, free: 257.2 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.006796/9.691, allocations: 0.5991 MB / 2.896 GB, free: 257.1 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002054/9.693, allocations: 0.535 MB / 2.897 GB, free: 257.1 MB / 0.7761 GB Notification: Performance of SimCode: time 3.617e-06/9.693, allocations: 0 / 2.897 GB, free: 257.1 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6954/10.39, allocations: 26.97 MB / 2.923 GB, free: 255.6 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002438/10.39, allocations: 176.2 kB / 2.923 GB, free: 255.4 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.128/14.52, allocations: 3.938 kB / 2.923 GB, free: 255.4 MB / 0.7761 GB