Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.293/2.293, allocations: 218.4 MB / 231.1 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.683e-05/3.691e-05, allocations: 4 kB / 284.4 MB, free: 8.094 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1125, allocations: 50.36 MB / 334.8 MB, free: 5.633 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5095/0.6221, allocations: 77.53 MB / 412.3 MB, free: 380 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/0.6225, allocations: 77.52 kB / 412.4 MB, free: 336 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002403/0.6249, allocations: 0.6984 MB / 413.1 MB, free: 15.69 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.625, allocations: 0 / 413.1 MB, free: 15.69 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.625, allocations: 0 / 413.1 MB, free: 15.69 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.000657/0.6257, allocations: 331.3 kB / 413.4 MB, free: 15.33 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.335e-05/0.6258, allocations: 8.031 kB / 413.4 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.884e-05/0.6259, allocations: 38.55 kB / 413.5 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.294e-05/0.626, allocations: 0 / 413.5 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.6263, allocations: 181.8 kB / 413.6 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.6263, allocations: 7.953 kB / 413.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.6264, allocations: 3.625 kB / 413.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003222/0.6267, allocations: 93.5 kB / 413.7 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.6267, allocations: 0.8125 kB / 413.7 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.6268, allocations: 7.688 kB / 413.8 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.6268, allocations: 0 / 413.8 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.753e-05/0.6268, allocations: 4 kB / 413.8 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000159/0.627, allocations: 159.7 kB / 413.9 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.6272, allocations: 49.89 kB / 414 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.681e-05/0.6273, allocations: 20.2 kB / 414 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.6273, allocations: 3.938 kB / 414 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.6274, allocations: 34.69 kB / 414 MB, free: 14.63 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.745e-06/0.6274, allocations: 4 kB / 414 MB, free: 14.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002332/0.6276, allocations: 43.33 kB / 414.1 MB, free: 14.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.6277, allocations: 51.41 kB / 414.1 MB, free: 14.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.6279, allocations: 107.3 kB / 414.2 MB, free: 14.42 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.6279, allocations: 29.7 kB / 414.3 MB, free: 14.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.628, allocations: 80.14 kB / 414.3 MB, free: 14.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.129e-05/0.628, allocations: 3.188 kB / 414.3 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-06/0.6281, allocations: 4 kB / 414.3 MB, free: 14.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.6282, allocations: 314.8 kB / 414.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.772e-05/0.6283, allocations: 11.69 kB / 414.7 MB, free: 13.97 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.556e-05/0.6284, allocations: 23.44 kB / 414.7 MB, free: 13.94 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.864e-05/0.6284, allocations: 8 kB / 414.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.6285, allocations: 0 / 414.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001888/0.6287, allocations: 61.17 kB / 414.7 MB, free: 13.87 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.6287, allocations: 4 kB / 414.7 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.6287, allocations: 3.938 kB / 414.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.6288, allocations: 4.125 kB / 414.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.6289, allocations: 8 kB / 414.8 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.6289, allocations: 0 / 414.8 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.173e-05/0.629, allocations: 5.625 kB / 414.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.629, allocations: 0 / 414.8 MB, free: 13.84 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.0001263/0.6292, allocations: 116.3 kB / 414.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.6293, allocations: 48.7 kB / 414.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.004e-05/0.6294, allocations: 7.094 kB / 414.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.6294, allocations: 0 / 414.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.6294, allocations: 7.984 kB / 414.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.6295, allocations: 4 kB / 414.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.6297, allocations: 160.8 kB / 415.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.6297, allocations: 0 / 415.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.6298, allocations: 8 kB / 415.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.6299, allocations: 0 / 415.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.6299, allocations: 7.938 kB / 415.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.6299, allocations: 0 / 415.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6299, allocations: 0 / 415.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.6301, allocations: 79.62 kB / 415.2 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/0.6302, allocations: 77.11 kB / 415.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/0.6303, allocations: 3.438 kB / 415.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-05/0.6303, allocations: 7.953 kB / 415.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.781e-06/0.6304, allocations: 0 / 415.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.6304, allocations: 4 kB / 415.3 MB, free: 13.24 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.385e-05/0.6305, allocations: 94.83 kB / 415.4 MB, free: 13.15 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.296e-06/0.6305, allocations: 0 / 415.4 MB, free: 13.15 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005671/0.6311, allocations: 7.938 kB / 415.4 MB, free: 13.14 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.0007576/0.6319, allocations: 0.6145 MB / 416 MB, free: 12.51 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001434/0.632, allocations: 19.12 kB / 416 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6321, allocations: 0 / 416 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.903e-06/0.6321, allocations: 0 / 416 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.0003196/0.6324, allocations: 15.33 kB / 416 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005412/0.633, allocations: 109.7 kB / 416.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.6334, allocations: 0.6809 MB / 416.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.815e-05/0.6334, allocations: 4 kB / 416.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.6335, allocations: 10.38 kB / 416.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of SimCode: time 1.302e-06/0.6335, allocations: 0 / 416.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.6527, allocations: 1.016 MB / 417.9 MB, free: 10.68 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/0.653, allocations: 181.9 kB / 418 MB, free: 10.45 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/3.106, allocations: 0 / 418 MB, free: 10.45 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat does not exist to compare? outputFormat=mat