Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.315/2.315, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.191e-05/5.206e-05, allocations: 8 kB / 284.4 MB, free: 8.57 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1288, allocations: 50.36 MB / 334.8 MB, free: 6.113 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4219/0.5508, allocations: 77.54 MB / 412.3 MB, free: 336 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.5511, allocations: 75.64 kB / 412.4 MB, free: 292 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002799/0.5539, allocations: 0.7641 MB / 413.1 MB, free: 15.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.554, allocations: 0 / 413.1 MB, free: 15.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.554, allocations: 0 / 413.1 MB, free: 15.59 MB / 346.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.0004285/0.5544, allocations: 333.4 kB / 413.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.5545, allocations: 12.03 kB / 413.5 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.45e-05/0.5546, allocations: 39 kB / 413.5 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.5546, allocations: 4 kB / 413.5 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.5548, allocations: 175 kB / 413.7 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.5549, allocations: 7.641 kB / 413.7 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.5549, allocations: 4 kB / 413.7 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.5552, allocations: 95.92 kB / 413.8 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.5552, allocations: 3.984 kB / 413.8 MB, free: 14.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.5552, allocations: 10.94 kB / 413.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.5552, allocations: 0 / 413.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.935e-05/0.5553, allocations: 15.44 kB / 413.8 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/0.5555, allocations: 161.2 kB / 414 MB, free: 14.63 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.5556, allocations: 37.42 kB / 414 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.916e-05/0.5557, allocations: 24.56 kB / 414 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.5557, allocations: 0 / 414 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.5558, allocations: 30.56 kB / 414.1 MB, free: 14.53 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.5558, allocations: 4 kB / 414.1 MB, free: 14.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001692/0.556, allocations: 52.38 kB / 414.1 MB, free: 14.47 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.5561, allocations: 59.28 kB / 414.2 MB, free: 14.4 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.5562, allocations: 96.38 kB / 414.3 MB, free: 14.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.5562, allocations: 29.08 kB / 414.3 MB, free: 14.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.1e-05/0.5563, allocations: 150.6 kB / 414.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.5563, allocations: 3.906 kB / 414.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.5563, allocations: 3.375 kB / 414.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5565, allocations: 322.8 kB / 414.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.93e-05/0.5565, allocations: 4 kB / 414.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.73e-05/0.5566, allocations: 26.88 kB / 414.8 MB, free: 13.76 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.038e-05/0.5566, allocations: 7.188 kB / 414.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.5566, allocations: 0 / 414.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001127/0.5567, allocations: 61 kB / 414.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.5568, allocations: 7.953 kB / 414.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5568, allocations: 0 / 414.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.5568, allocations: 4 kB / 414.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.336e-05/0.5569, allocations: 7.938 kB / 414.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.5569, allocations: 4 kB / 414.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.201e-05/0.557, allocations: 3.984 kB / 414.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.557, allocations: 4 kB / 414.9 MB, free: 13.66 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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.914e-05/0.5571, allocations: 111.6 kB / 415 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.979e-05/0.5572, allocations: 48.7 kB / 415.1 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.5572, allocations: 11.97 kB / 415.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.5573, allocations: 0 / 415.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.5573, allocations: 0 / 415.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5573, allocations: 0 / 415.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.5574, allocations: 164.1 kB / 415.2 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5574, allocations: 0 / 415.2 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.5576, allocations: 15.92 kB / 415.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5576, allocations: 3.938 kB / 415.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.5576, allocations: 8 kB / 415.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.5576, allocations: 3.953 kB / 415.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5576, allocations: 384 / 415.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.5578, allocations: 75.45 kB / 415.3 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.5578, allocations: 81.09 kB / 415.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.5579, allocations: 0 / 415.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.955e-05/0.5579, allocations: 11.25 kB / 415.4 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-06/0.558, allocations: 3.953 kB / 415.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.558, allocations: 4 kB / 415.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.468e-05/0.558, allocations: 83.28 kB / 415.5 MB, free: 12.97 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.558, allocations: 0 / 415.5 MB, free: 12.97 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002619/0.5583, allocations: 7.812 kB / 415.5 MB, free: 12.96 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * 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.0005009/0.5588, allocations: 0.6262 MB / 416.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000101/0.5589, allocations: 19.5 kB / 416.2 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.559, allocations: 0 / 416.2 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.499e-06/0.559, allocations: 3.938 kB / 416.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.5592, allocations: 19.67 kB / 416.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.5596, allocations: 135.9 kB / 416.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.5599, allocations: 0.6809 MB / 417 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.466e-05/0.56, allocations: 18.92 kB / 417 MB, free: 11.4 MB / 346.7 MB Notification: Performance of SimCode: time 9.12e-07/0.56, allocations: 4.25 kB / 417 MB, free: 11.4 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.282/2.842, allocations: 0.8663 MB / 417.9 MB, free: 10.54 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat