Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.177/2.177, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.816e-05/3.833e-05, allocations: 4 kB / 292.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1128, allocations: 50.42 MB / 342.7 MB, free: 5.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4619/0.5748, allocations: 76.24 MB / 418.9 MB, free: 1.934 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004237/0.5753, allocations: 71.89 kB / 419 MB, free: 1.895 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003598/0.5789, allocations: 0.7135 MB / 419.7 MB, free: 1.242 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.579, allocations: 0 / 419.7 MB, free: 1.242 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.579, allocations: 0 / 419.7 MB, free: 1.242 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005552/0.5796, allocations: 331.1 kB / 420 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.668e-05/0.5797, allocations: 12.03 kB / 420 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.352e-05/0.5798, allocations: 37.7 kB / 420.1 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.5798, allocations: 7.906 kB / 420.1 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.5801, allocations: 171 kB / 420.2 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.5802, allocations: 3.75 kB / 420.2 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.5802, allocations: 4 kB / 420.2 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/0.5806, allocations: 92.08 kB / 420.3 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.5807, allocations: 0 / 420.3 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.5807, allocations: 0 / 420.3 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.5807, allocations: 7.891 kB / 420.3 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.589e-05/0.5808, allocations: 10.69 kB / 420.3 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002591/0.5811, allocations: 149.1 kB / 420.5 MB, free: 316 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.5813, allocations: 41.5 kB / 420.5 MB, free: 272 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.457e-05/0.5814, allocations: 23.02 kB / 420.6 MB, free: 252 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.5815, allocations: 7.984 kB / 420.6 MB, free: 244 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.5815, allocations: 30.56 kB / 420.6 MB, free: 204 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 3.406e-06/0.5816, allocations: 0 / 420.6 MB, free: 204 kB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002557/0.5818, allocations: 56.17 kB / 420.6 MB, free: 148 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.737e-05/0.5819, allocations: 59.36 kB / 420.7 MB, free: 76 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.5821, allocations: 97.11 kB / 420.8 MB, free: 15.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.5822, allocations: 29.7 kB / 420.8 MB, free: 15.94 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/0.5822, allocations: 87.64 kB / 420.9 MB, free: 15.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.5823, allocations: 3.984 kB / 420.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-06/0.5823, allocations: 0 / 420.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.5825, allocations: 314.2 kB / 421.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.749e-05/0.5826, allocations: 7.938 kB / 421.2 MB, free: 15.53 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.755e-05/0.5826, allocations: 26.75 kB / 421.3 MB, free: 15.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.725e-05/0.5827, allocations: 8 kB / 421.3 MB, free: 15.49 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.5827, allocations: 0 / 421.3 MB, free: 15.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000188/0.5829, allocations: 57.25 kB / 421.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.583, allocations: 4 kB / 421.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.583, allocations: 4 kB / 421.3 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.583, allocations: 4.062 kB / 421.3 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.5832, allocations: 11.98 kB / 421.3 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.5832, allocations: 4 kB / 421.3 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.59e-05/0.5833, allocations: 8.109 kB / 421.4 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.5833, allocations: 4 kB / 421.4 MB, free: 15.39 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 0.000127/0.5835, allocations: 108.5 kB / 421.5 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.5836, allocations: 44.75 kB / 421.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.664e-05/0.5837, allocations: 11.28 kB / 421.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.5837, allocations: 3.938 kB / 421.5 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.5837, allocations: 0 / 421.5 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.5838, allocations: 4 kB / 421.5 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.584, allocations: 161 kB / 421.7 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.584, allocations: 0 / 421.7 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.5842, allocations: 11.98 kB / 421.7 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.5842, allocations: 0 / 421.7 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.5842, allocations: 0 / 421.7 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.5843, allocations: 0 / 421.7 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.5843, allocations: 4 kB / 421.7 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.5845, allocations: 76.27 kB / 421.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.372e-05/0.5846, allocations: 85.02 kB / 421.9 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.5846, allocations: 0 / 421.9 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.5847, allocations: 11.86 kB / 421.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/0.5848, allocations: 0 / 421.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.5848, allocations: 0 / 421.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001159/0.5849, allocations: 79.28 kB / 421.9 MB, free: 14.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.585, allocations: 0 / 421.9 MB, free: 14.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004072/0.5854, allocations: 7 kB / 422 MB, free: 14.72 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0006672/0.5861, allocations: 0.6203 MB / 422.6 MB, free: 14.08 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.5863, allocations: 23.2 kB / 422.6 MB, free: 14.06 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.5863, allocations: 0 / 422.6 MB, free: 14.06 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.903e-06/0.5863, allocations: 0 / 422.6 MB, free: 14.06 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.5866, allocations: 19.48 kB / 422.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/0.5871, allocations: 97.61 kB / 422.7 MB, free: 13.92 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.5876, allocations: 0.6811 MB / 423.4 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.901e-05/0.5876, allocations: 3.984 kB / 423.4 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.906e-05/0.5877, allocations: 15.12 kB / 423.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of SimCode: time 1.633e-06/0.5877, allocations: 0 / 423.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02369/0.6114, allocations: 1.005 MB / 424.4 MB, free: 12.26 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003397/0.6119, allocations: 175.2 kB / 424.6 MB, free: 12.04 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.208/2.82, allocations: 0 / 424.6 MB, free: 12.04 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat does not exist to compare? outputFormat=mat