Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.433/2.433, allocations: 218.4 MB / 231.1 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.527e-05/3.538e-05, allocations: 4 kB / 284.4 MB, free: 8.102 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1219, allocations: 50.36 MB / 334.8 MB, free: 5.641 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4917/0.6137, allocations: 77.77 MB / 412.6 MB, free: 176 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/0.614, allocations: 70.89 kB / 412.6 MB, free: 136 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003625/0.6176, allocations: 1 MB / 413.6 MB, free: 15.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6177, allocations: 0 / 413.6 MB, free: 15.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.6177, allocations: 4 kB / 413.6 MB, free: 15.24 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003911/0.6181, allocations: 342.3 kB / 414 MB, free: 14.87 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.6182, allocations: 8.031 kB / 414 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.98e-05/0.6182, allocations: 38.44 kB / 414 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.6183, allocations: 7.906 kB / 414 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.6185, allocations: 190.3 kB / 414.2 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.6185, allocations: 7.766 kB / 414.2 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.6186, allocations: 4 kB / 414.2 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.6188, allocations: 80.67 kB / 414.3 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.6188, allocations: 8 kB / 414.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.6188, allocations: 7.922 kB / 414.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.6189, allocations: 0 / 414.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.459e-05/0.6189, allocations: 4 kB / 414.3 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003756/0.6193, allocations: 262.2 kB / 414.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.578e-05/0.6194, allocations: 37.22 kB / 414.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.6194, allocations: 17.59 kB / 414.6 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.6194, allocations: 0 / 414.6 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.6195, allocations: 38.48 kB / 414.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.6195, allocations: 0 / 414.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001723/0.6197, allocations: 41.39 kB / 414.7 MB, free: 14.01 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.6198, allocations: 81.17 kB / 414.8 MB, free: 13.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.6199, allocations: 124.3 kB / 414.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.6199, allocations: 25.7 kB / 414.9 MB, free: 13.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/0.62, allocations: 88 kB / 415 MB, free: 13.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.427e-06/0.62, allocations: 0 / 415 MB, free: 13.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/0.62, allocations: 0 / 415 MB, free: 13.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.6202, allocations: 318.5 kB / 415.3 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.6202, allocations: 3.938 kB / 415.3 MB, free: 13.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.575e-05/0.6202, allocations: 17.72 kB / 415.4 MB, free: 13.33 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.369e-05/0.6203, allocations: 7.953 kB / 415.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6203, allocations: 0 / 415.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.972e-05/0.6204, allocations: 41.62 kB / 415.4 MB, free: 13.28 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.6204, allocations: 4 kB / 415.4 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.6204, allocations: 7.938 kB / 415.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.6205, allocations: 128 / 415.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.212e-05/0.6205, allocations: 7.938 kB / 415.4 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.6205, allocations: 3.938 kB / 415.4 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.23e-05/0.6206, allocations: 4 kB / 415.4 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.6206, allocations: 0 / 415.4 MB, free: 13.25 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample.u,sample.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.699e-05/0.6207, allocations: 108.7 kB / 415.5 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.659e-05/0.6208, allocations: 45.53 kB / 415.6 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.6208, allocations: 7.656 kB / 415.6 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.6208, allocations: 0 / 415.6 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.6208, allocations: 4.031 kB / 415.6 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.6209, allocations: 0 / 415.6 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.6211, allocations: 165.5 kB / 415.8 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.6211, allocations: 3.953 kB / 415.8 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-05/0.6211, allocations: 4 kB / 415.8 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.6211, allocations: 0 / 415.8 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.6212, allocations: 0 / 415.8 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.6212, allocations: 0 / 415.8 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.6212, allocations: 3.938 kB / 415.8 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001516/0.6213, allocations: 163 kB / 415.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.656e-05/0.6214, allocations: 89.03 kB / 416 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.6215, allocations: 4 kB / 416 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.462e-05/0.6216, allocations: 4 kB / 416 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.6216, allocations: 0 / 416 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.6216, allocations: 4 kB / 416 MB, free: 12.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001037/0.6217, allocations: 102.7 kB / 416.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6217, allocations: 4 kB / 416.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002966/0.622, allocations: 0 / 416.1 MB, free: 12.48 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample.u,sample.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004707/0.6225, allocations: 0.7636 MB / 416.9 MB, free: 11.69 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.383e-05/0.6226, allocations: 11.94 kB / 416.9 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6226, allocations: 0 / 416.9 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.077e-05/0.6227, allocations: 4 kB / 416.9 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.623, allocations: 15.83 kB / 416.9 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/0.6234, allocations: 127.7 kB / 417 MB, free: 11.5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.6237, allocations: 0.689 MB / 417.7 MB, free: 10.79 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.573e-05/0.6238, allocations: 4 kB / 417.7 MB, free: 10.79 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.937e-05/0.6238, allocations: 11.31 kB / 417.7 MB, free: 10.78 MB / 346.7 MB Notification: Performance of SimCode: time 8.52e-07/0.6238, allocations: 0 / 417.7 MB, free: 10.78 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0211/0.645, allocations: 1.128 MB / 418.9 MB, free: 9.715 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000338/0.6454, allocations: 174 kB / 419 MB, free: 9.496 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.171/2.817, allocations: 0 / 419 MB, free: 9.496 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked_res.mat does not exist to compare? outputFormat=mat