Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.744/4.744, allocations: 404.2 MB / 411.3 MB, free: 376 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.31e-05/3.309e-05, allocations: 4 kB / 0.4945 GB, free: 1.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6547/0.6547, allocations: 92.7 MB / 0.5851 GB, free: 2.285 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2778/0.9326, allocations: 120.2 MB / 0.7024 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.9329, allocations: 75.95 kB / 0.7025 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01277/0.9457, allocations: 2.263 MB / 0.7047 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9458, allocations: 0 / 0.7047 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.373e-06/0.9458, allocations: 4 kB / 0.7047 GB, free: 7.602 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005116/0.9463, allocations: 384.1 kB / 0.7051 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.9464, allocations: 12.03 kB / 0.7051 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.9464, allocations: 7.859 kB / 0.7051 GB, free: 7.156 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.9467, allocations: 183 kB / 0.7053 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.9467, allocations: 0 / 0.7053 GB, free: 6.938 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.9467, allocations: 4 kB / 0.7053 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001147/0.9469, allocations: 23.98 kB / 0.7053 GB, free: 6.91 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.9471, allocations: 61.67 kB / 0.7054 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.9471, allocations: 4 kB / 0.7054 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.9471, allocations: 3.938 kB / 0.7054 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/0.9471, allocations: 7.953 kB / 0.7054 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.9477, allocations: 249.5 kB / 0.7056 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.9478, allocations: 54.56 kB / 0.7057 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.927e-05/0.9479, allocations: 32.95 kB / 0.7057 GB, free: 6.449 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.9479, allocations: 4 kB / 0.7057 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002024/0.9482, allocations: 75.39 kB / 0.7058 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 3.461e-05/0.9482, allocations: 0 / 0.7058 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0004246/0.9487, allocations: 125.4 kB / 0.7059 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.9487, allocations: 51.41 kB / 0.7059 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.9489, allocations: 117.1 kB / 0.706 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.9489, allocations: 29.7 kB / 0.7061 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.936e-05/0.949, allocations: 92.14 kB / 0.7062 GB, free: 5.914 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.949, allocations: 7.906 kB / 0.7062 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-06/0.949, allocations: 0 / 0.7062 GB, free: 5.906 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.9492, allocations: 322.8 kB / 0.7065 GB, free: 5.582 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.208e-05/0.9493, allocations: 23.98 kB / 0.7065 GB, free: 5.559 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.638e-05/0.9494, allocations: 24 kB / 0.7065 GB, free: 5.535 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.9496, allocations: 31.97 kB / 0.7066 GB, free: 5.504 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9496, allocations: 0 / 0.7066 GB, free: 5.504 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003923/0.95, allocations: 125.5 kB / 0.7067 GB, free: 5.375 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.745e-05/0.9501, allocations: 36.2 kB / 0.7067 GB, free: 5.336 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.9501, allocations: 0 / 0.7067 GB, free: 5.336 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.9501, allocations: 4 kB / 0.7067 GB, free: 5.332 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.246e-05/0.9501, allocations: 0 / 0.7067 GB, free: 5.332 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.9502, allocations: 3.984 kB / 0.7067 GB, free: 5.328 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.486e-05/0.9502, allocations: 7.953 kB / 0.7067 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.9503, allocations: 8.125 kB / 0.7067 GB, free: 5.312 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.intTab.y,intTab.y,$PRE.intTab.nextTime,intTab.nextTime,$PRE.intTab.index,intTab.index,intRep.y[1],intRep.y[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 1 * 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 0.0001073/0.9504, allocations: 108.9 kB / 0.7068 GB, free: 5.199 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003237/0.9507, allocations: 121.6 kB / 0.7069 GB, free: 5.074 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.9508, allocations: 7.906 kB / 0.707 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.665e-05/0.9508, allocations: 12.62 kB / 0.707 GB, free: 5.051 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/0.9509, allocations: 8.406 kB / 0.707 GB, free: 5.043 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.9509, allocations: 0 / 0.707 GB, free: 5.043 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.9509, allocations: 0 / 0.707 GB, free: 5.043 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.9511, allocations: 154.2 kB / 0.7071 GB, free: 4.855 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.9511, allocations: 0 / 0.7071 GB, free: 4.855 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.706e-06/0.9511, allocations: 3.938 kB / 0.7071 GB, free: 4.852 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.9512, allocations: 0 / 0.7071 GB, free: 4.852 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.9512, allocations: 4 kB / 0.7071 GB, free: 4.848 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.9512, allocations: 4 kB / 0.7071 GB, free: 4.844 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.9512, allocations: 0 / 0.7071 GB, free: 4.844 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.9516, allocations: 144.9 kB / 0.7073 GB, free: 4.684 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.736e-05/0.9517, allocations: 89.05 kB / 0.7074 GB, free: 4.578 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.9517, allocations: 3.984 kB / 0.7074 GB, free: 4.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.997e-05/0.9518, allocations: 4 kB / 0.7074 GB, free: 4.57 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.9518, allocations: 0 / 0.7074 GB, free: 4.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.05e-05/0.9519, allocations: 7.984 kB / 0.7074 GB, free: 4.562 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.824e-05/0.952, allocations: 99.27 kB / 0.7075 GB, free: 4.465 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.81e-07/0.952, allocations: 0 / 0.7075 GB, free: 4.465 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004496/0.9525, allocations: 35.89 kB / 0.7075 GB, free: 4.43 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.nextTime,intTab.index,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.nextTime,intTab.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0009619/0.9535, allocations: 0.7097 MB / 0.7082 GB, free: 3.691 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002798/0.9538, allocations: 119.6 kB / 0.7083 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.9538, allocations: 0 / 0.7083 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.9539, allocations: 28 kB / 0.7083 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.9541, allocations: 4.234 kB / 0.7083 GB, free: 3.531 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006323/0.9547, allocations: 157.7 kB / 0.7085 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.9551, allocations: 0.6923 MB / 0.7092 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.528e-05/0.9552, allocations: 7.984 kB / 0.7092 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.9552, allocations: 15.44 kB / 0.7092 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of SimCode: time 9.41e-07/0.9552, allocations: 4 kB / 0.7092 GB, free: 2.594 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04958/1.005, allocations: 1.473 MB / 0.7106 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003087/1.005, allocations: 149.2 kB / 0.7108 GB, free: 0.9336 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.649/3.654, allocations: 1.688 kB / 0.7108 GB, free: 0.9336 MB / 0.5886 GB