Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_IntegerSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.182/2.182, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.367e-05/3.391e-05, allocations: 0 / 284.4 MB, free: 8.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1098, allocations: 50.36 MB / 334.8 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4461/0.556, allocations: 77.56 MB / 412.3 MB, free: 0.668 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.5563, allocations: 70.33 kB / 412.4 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002279/0.5586, allocations: 0.7012 MB / 413.1 MB, free: 15.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5586, allocations: 0 / 413.1 MB, free: 15.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.5587, allocations: 0 / 413.1 MB, free: 15.98 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.0003832/0.5591, allocations: 332.6 kB / 413.4 MB, free: 15.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.5591, allocations: 12.03 kB / 413.4 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.776e-05/0.5592, allocations: 34.55 kB / 413.5 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.698e-05/0.5592, allocations: 0 / 413.5 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000226/0.5594, allocations: 182.2 kB / 413.6 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.5595, allocations: 7.938 kB / 413.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.5595, allocations: 15.36 kB / 413.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.5598, allocations: 97 kB / 413.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.5598, allocations: 0 / 413.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.5598, allocations: 0 / 413.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.5598, allocations: 0 / 413.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.695e-05/0.5599, allocations: 4 kB / 413.8 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.5601, allocations: 160.3 kB / 413.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.5602, allocations: 44.84 kB / 414 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.47e-05/0.5603, allocations: 20.77 kB / 414 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.5603, allocations: 4 kB / 414 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.5603, allocations: 30.56 kB / 414 MB, free: 14.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.5603, allocations: 0 / 414 MB, free: 14.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001559/0.5605, allocations: 48.77 kB / 414.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.5606, allocations: 51.41 kB / 414.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.655e-05/0.5607, allocations: 100.9 kB / 414.2 MB, free: 14.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.5607, allocations: 25.7 kB / 414.2 MB, free: 14.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.038e-05/0.5608, allocations: 158 kB / 414.4 MB, free: 14.53 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.908e-06/0.5608, allocations: 4 kB / 414.4 MB, free: 14.53 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.5608, allocations: 0 / 414.4 MB, free: 14.53 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.5609, allocations: 310.8 kB / 414.7 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/0.561, allocations: 7.188 kB / 414.7 MB, free: 14.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.233e-05/0.561, allocations: 27.38 kB / 414.7 MB, free: 14.17 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.227e-05/0.561, allocations: 15.42 kB / 414.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.5611, allocations: 0 / 414.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.98e-05/0.5612, allocations: 52.88 kB / 414.8 MB, free: 14.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.5612, allocations: 8 kB / 414.8 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.5612, allocations: 7.922 kB / 414.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.5612, allocations: 0 / 414.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.46e-05/0.5613, allocations: 8.125 kB / 414.8 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.5613, allocations: 4 kB / 414.8 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.982e-05/0.5614, allocations: 7.938 kB / 414.8 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.5614, allocations: 0 / 414.8 MB, free: 14.07 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 8.253e-05/0.5615, allocations: 112.7 kB / 414.9 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.706e-05/0.5616, allocations: 52.45 kB / 415 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.5616, allocations: 4.031 kB / 415 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.5617, allocations: 0 / 415 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5617, allocations: 0 / 415 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.5617, allocations: 0 / 415 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.5618, allocations: 168 kB / 415.2 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5618, allocations: 4 kB / 415.2 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.822e-05/0.5619, allocations: 4 kB / 415.2 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.5619, allocations: 4.188 kB / 415.2 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.562, allocations: 3.953 kB / 415.2 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.562, allocations: 256 / 415.2 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.562, allocations: 0 / 415.2 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.5621, allocations: 87.64 kB / 415.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.601e-05/0.5622, allocations: 81.11 kB / 415.3 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.5622, allocations: 3.984 kB / 415.4 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.838e-05/0.5623, allocations: 7.953 kB / 415.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-06/0.5623, allocations: 0 / 415.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.5623, allocations: 0 / 415.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.517e-05/0.5624, allocations: 85.91 kB / 415.4 MB, free: 13.38 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.334e-06/0.5624, allocations: 0 / 415.4 MB, free: 13.38 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002574/0.5626, allocations: 11 kB / 415.5 MB, free: 13.38 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.0004095/0.5631, allocations: 0.6028 MB / 416.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.5632, allocations: 26.23 kB / 416.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.5632, allocations: 0 / 416.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.5632, allocations: 4 kB / 416.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.5634, allocations: 15.08 kB / 416.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/0.5638, allocations: 127.8 kB / 416.2 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.5641, allocations: 0.6887 MB / 416.9 MB, free: 11.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.813e-05/0.5641, allocations: 10.69 kB / 416.9 MB, free: 11.84 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5642, allocations: 0 / 416.9 MB, free: 11.84 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.276/2.841, allocations: 0.7878 MB / 417.7 MB, free: 11.05 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat does not exist to compare? outputFormat=mat