Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.184/2.184, allocations: 218.4 MB / 231.1 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.498e-05/4.504e-05, allocations: 11.98 kB / 284.4 MB, free: 8.086 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1304, allocations: 50.36 MB / 334.8 MB, free: 5.633 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4746/0.6051, allocations: 77.48 MB / 412.3 MB, free: 464 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.6054, allocations: 70.33 kB / 412.3 MB, free: 424 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00281/0.6083, allocations: 0.7671 MB / 413.1 MB, free: 15.72 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.6083, allocations: 0 / 413.1 MB, free: 15.72 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.6083, allocations: 0 / 413.1 MB, free: 15.72 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.0004354/0.6088, allocations: 338.3 kB / 413.4 MB, free: 15.35 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.6088, allocations: 8.031 kB / 413.5 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.884e-05/0.6089, allocations: 42.3 kB / 413.5 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.925e-05/0.6089, allocations: 8 kB / 413.5 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.6091, allocations: 171 kB / 413.7 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.6092, allocations: 11.83 kB / 413.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.6092, allocations: 0 / 413.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.6095, allocations: 91.66 kB / 413.8 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.6095, allocations: 0 / 413.8 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.6095, allocations: 0 / 413.8 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.6095, allocations: 0 / 413.8 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.425e-05/0.6096, allocations: 15.86 kB / 413.8 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.6098, allocations: 157.3 kB / 413.9 MB, free: 14.78 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.6099, allocations: 42.31 kB / 414 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.613e-05/0.61, allocations: 20.78 kB / 414 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.61, allocations: 0 / 414 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.6101, allocations: 34.56 kB / 414 MB, free: 14.67 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 3.627e-06/0.6101, allocations: 4 kB / 414 MB, free: 14.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001651/0.6103, allocations: 53.69 kB / 414.1 MB, free: 14.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.6103, allocations: 62.97 kB / 414.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.408e-05/0.6104, allocations: 100.9 kB / 414.3 MB, free: 14.44 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.6105, allocations: 25.7 kB / 414.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.789e-05/0.6105, allocations: 88.12 kB / 414.4 MB, free: 14.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.6105, allocations: 7.844 kB / 414.4 MB, free: 14.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.6106, allocations: 0 / 414.4 MB, free: 14.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6107, allocations: 314.8 kB / 414.7 MB, free: 14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.922e-05/0.6107, allocations: 7.75 kB / 414.7 MB, free: 14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.324e-05/0.6108, allocations: 27.44 kB / 414.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.242e-05/0.6108, allocations: 11.8 kB / 414.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6108, allocations: 0 / 414.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001133/0.611, allocations: 57.2 kB / 414.8 MB, free: 13.89 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.611, allocations: 11.94 kB / 414.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.611, allocations: 0 / 414.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.6111, allocations: 4 kB / 414.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.177e-05/0.6111, allocations: 7.938 kB / 414.8 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.6112, allocations: 4 kB / 414.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.772e-05/0.6112, allocations: 0 / 414.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.6112, allocations: 4 kB / 414.8 MB, free: 13.86 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.869e-05/0.6113, allocations: 112.8 kB / 414.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.445e-05/0.6114, allocations: 49.34 kB / 415 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.738e-05/0.6115, allocations: 15.92 kB / 415 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.6115, allocations: 0 / 415 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.6115, allocations: 0 / 415 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.6115, allocations: 0 / 415 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.6117, allocations: 161.5 kB / 415.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6117, allocations: 0 / 415.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.6118, allocations: 15.92 kB / 415.2 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.6118, allocations: 0 / 415.2 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.6118, allocations: 8 kB / 415.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.6118, allocations: 3.953 kB / 415.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.6119, allocations: 0 / 415.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.612, allocations: 72.94 kB / 415.2 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.6121, allocations: 81.02 kB / 415.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.6121, allocations: 0 / 415.3 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.137e-05/0.6122, allocations: 7.984 kB / 415.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.591e-06/0.6122, allocations: 3.953 kB / 415.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.6122, allocations: 4.375 kB / 415.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.218e-05/0.6123, allocations: 95.09 kB / 415.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6123, allocations: 0 / 415.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002653/0.6126, allocations: 4 kB / 415.4 MB, free: 13.16 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.0005141/0.6131, allocations: 0.616 MB / 416 MB, free: 12.53 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001091/0.6132, allocations: 27.92 kB / 416.1 MB, free: 12.51 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6132, allocations: 0 / 416.1 MB, free: 12.51 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.228e-06/0.6132, allocations: 3.938 kB / 416.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.6135, allocations: 19.92 kB / 416.1 MB, free: 12.49 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003641/0.6139, allocations: 106.6 kB / 416.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.6142, allocations: 0.6848 MB / 416.9 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.756e-05/0.6142, allocations: 8.25 kB / 416.9 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.6143, allocations: 15.31 kB / 416.9 MB, free: 11.63 MB / 346.7 MB Notification: Performance of SimCode: time 8.52e-07/0.6143, allocations: 0 / 416.9 MB, free: 11.63 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01695/0.6312, allocations: 1.134 MB / 418 MB, free: 10.55 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003066/0.6316, allocations: 177.9 kB / 418.2 MB, free: 10.33 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.462/3.094, allocations: 0 / 418.2 MB, free: 10.33 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat