Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.224/2.224, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.86e-05/3.869e-05, allocations: 4 kB / 284.4 MB, free: 8.098 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1114, allocations: 50.36 MB / 334.8 MB, free: 5.641 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5131/0.6246, allocations: 77.52 MB / 412.3 MB, free: 460 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.6249, allocations: 76.7 kB / 412.4 MB, free: 416 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002146/0.6271, allocations: 0.6675 MB / 413.1 MB, free: 15.79 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6271, allocations: 0 / 413.1 MB, free: 15.79 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.6271, allocations: 0 / 413.1 MB, free: 15.79 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.0003748/0.6275, allocations: 326.4 kB / 413.4 MB, free: 15.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.6276, allocations: 13.02 kB / 413.4 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.64e-05/0.6276, allocations: 35.38 kB / 413.4 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.652e-05/0.6277, allocations: 4 kB / 413.4 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.6279, allocations: 173.8 kB / 413.6 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.6279, allocations: 7.953 kB / 413.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.6279, allocations: 0 / 413.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.6282, allocations: 95.75 kB / 413.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.6282, allocations: 4 kB / 413.7 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.6283, allocations: 11.94 kB / 413.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.6283, allocations: 1.969 kB / 413.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.85e-05/0.6283, allocations: 7.984 kB / 413.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/0.6285, allocations: 156.5 kB / 413.9 MB, free: 14.85 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.6286, allocations: 41.27 kB / 413.9 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.459e-05/0.6287, allocations: 24.41 kB / 413.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.6287, allocations: 3.984 kB / 413.9 MB, free: 14.78 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.6288, allocations: 34.56 kB / 414 MB, free: 14.74 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.6288, allocations: 0 / 414 MB, free: 14.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000152/0.6289, allocations: 48.52 kB / 414 MB, free: 14.69 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.629, allocations: 55.39 kB / 414.1 MB, free: 14.62 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.358e-05/0.6291, allocations: 92.62 kB / 414.2 MB, free: 14.53 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.6291, allocations: 29.7 kB / 414.2 MB, free: 14.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.911e-05/0.6292, allocations: 83.2 kB / 414.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.327e-06/0.6292, allocations: 0 / 414.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.6292, allocations: 7.938 kB / 414.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.6293, allocations: 318.2 kB / 414.6 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.6294, allocations: 4 kB / 414.6 MB, free: 14.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.338e-05/0.6294, allocations: 27.38 kB / 414.6 MB, free: 14.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.863e-05/0.6295, allocations: 11.12 kB / 414.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6295, allocations: 0 / 414.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001075/0.6296, allocations: 56.97 kB / 414.7 MB, free: 13.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.6296, allocations: 7.953 kB / 414.7 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6296, allocations: 4 kB / 414.7 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.6297, allocations: 0 / 414.7 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.21e-05/0.6297, allocations: 4 kB / 414.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.6297, allocations: 0 / 414.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.61e-05/0.6298, allocations: 3.938 kB / 414.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.6298, allocations: 8.125 kB / 414.7 MB, free: 13.95 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 7.972e-05/0.6299, allocations: 108 kB / 414.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.384e-05/0.63, allocations: 49.06 kB / 414.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.684e-05/0.63, allocations: 10.83 kB / 414.9 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.6301, allocations: 0 / 414.9 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.6301, allocations: 0 / 414.9 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.6301, allocations: 3.984 kB / 414.9 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.6302, allocations: 156.9 kB / 415 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.6302, allocations: 0 / 415 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.229e-05/0.6303, allocations: 8 kB / 415 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.6303, allocations: 0 / 415 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.6303, allocations: 0 / 415 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.6303, allocations: 3.953 kB / 415.1 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6303, allocations: 0 / 415.1 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.6305, allocations: 80.12 kB / 415.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/0.6305, allocations: 85 kB / 415.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.6306, allocations: 4 kB / 415.2 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.155e-05/0.6306, allocations: 8 kB / 415.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-06/0.6306, allocations: 3.953 kB / 415.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.6306, allocations: 0 / 415.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.271e-05/0.6307, allocations: 81.97 kB / 415.3 MB, free: 13.28 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6307, allocations: 0 / 415.3 MB, free: 13.28 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002588/0.631, allocations: 6.938 kB / 415.3 MB, free: 13.28 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.0004193/0.6314, allocations: 0.6086 MB / 415.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.6315, allocations: 23.03 kB / 415.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.6316, allocations: 0 / 415.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.6316, allocations: 3.938 kB / 416 MB, free: 12.62 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.6318, allocations: 19.36 kB / 416 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.6321, allocations: 97.95 kB / 416.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.6324, allocations: 0.6812 MB / 416.7 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.549e-05/0.6324, allocations: 11.98 kB / 416.8 MB, free: 11.76 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.6325, allocations: 15.19 kB / 416.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of SimCode: time 8.02e-07/0.6325, allocations: 0 / 416.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01731/0.6498, allocations: 0.9978 MB / 417.8 MB, free: 10.82 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003147/0.6502, allocations: 177.9 kB / 417.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.487/3.137, allocations: 0 / 417.9 MB, free: 10.59 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat does not exist to compare? outputFormat=mat