Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.249/2.249, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.704e-05/3.708e-05, allocations: 4 kB / 284.4 MB, free: 8.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1109, allocations: 50.37 MB / 334.8 MB, free: 6.121 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4751/0.5861, allocations: 78.52 MB / 413.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.5864, allocations: 78.45 kB / 413.4 MB, free: 15.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005722/0.5922, allocations: 1.449 MB / 414.8 MB, free: 14.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5922, allocations: 4 kB / 414.8 MB, free: 14.06 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.51e-05/0.5923, allocations: 4 kB / 414.8 MB, free: 14.06 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004322/0.5927, allocations: 350.4 kB / 415.2 MB, free: 13.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.5928, allocations: 8.031 kB / 415.2 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.29e-05/0.5928, allocations: 38.48 kB / 415.2 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.5929, allocations: 11.81 kB / 415.2 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.5931, allocations: 193.8 kB / 415.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.5932, allocations: 0 / 415.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.5932, allocations: 11.06 kB / 415.4 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.5935, allocations: 96.95 kB / 415.5 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.5935, allocations: 0 / 415.5 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.5935, allocations: 4 kB / 415.5 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5935, allocations: 0 / 415.5 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.632e-05/0.5936, allocations: 7.188 kB / 415.5 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.594, allocations: 278.3 kB / 415.8 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.801e-05/0.5941, allocations: 38.36 kB / 415.8 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.983e-05/0.5942, allocations: 16.97 kB / 415.8 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.5942, allocations: 7.938 kB / 415.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.5942, allocations: 38.5 kB / 415.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 4.138e-06/0.5943, allocations: 3.984 kB / 415.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001795/0.5945, allocations: 48.84 kB / 415.9 MB, free: 12.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.5945, allocations: 80.92 kB / 416 MB, free: 12.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.5947, allocations: 127 kB / 416.1 MB, free: 12.56 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.5947, allocations: 29.77 kB / 416.2 MB, free: 12.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.322e-05/0.5948, allocations: 154.1 kB / 416.3 MB, free: 12.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.5948, allocations: 4 kB / 416.3 MB, free: 12.37 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-06/0.5948, allocations: 3.188 kB / 416.3 MB, free: 12.37 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.595, allocations: 314.8 kB / 416.6 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.112e-05/0.595, allocations: 7.922 kB / 416.6 MB, free: 12.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.999e-05/0.595, allocations: 16.84 kB / 416.7 MB, free: 12.03 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.922e-05/0.5951, allocations: 8.062 kB / 416.7 MB, free: 12.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5951, allocations: 0 / 416.7 MB, free: 12.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.877e-05/0.5952, allocations: 44.89 kB / 416.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.5952, allocations: 7.984 kB / 416.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.5953, allocations: 0 / 416.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.5953, allocations: 0 / 416.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.5954, allocations: 11.94 kB / 416.7 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.5954, allocations: 0 / 416.7 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.244e-05/0.5955, allocations: 8.062 kB / 416.7 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.5955, allocations: 0 / 416.7 MB, free: 11.95 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: 0 () * 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.931e-05/0.5956, allocations: 115.8 kB / 416.9 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.911e-05/0.5957, allocations: 37.61 kB / 416.9 MB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.895e-05/0.5957, allocations: 10.72 kB / 416.9 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.5957, allocations: 0 / 416.9 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5958, allocations: 0 / 416.9 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.5958, allocations: 0 / 416.9 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.596, allocations: 172 kB / 417.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.596, allocations: 4.031 kB / 417.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.267e-05/0.5961, allocations: 7.984 kB / 417.1 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.5961, allocations: 4 kB / 417.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.5961, allocations: 3.938 kB / 417.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5961, allocations: 0 / 417.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.5962, allocations: 3.938 kB / 417.1 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.5963, allocations: 171 kB / 417.3 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.942e-05/0.5964, allocations: 89 kB / 417.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.5965, allocations: 0 / 417.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.5966, allocations: 7.188 kB / 417.4 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.5966, allocations: 3.984 kB / 417.4 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.5966, allocations: 0 / 417.4 MB, free: 11.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.5968, allocations: 118.5 kB / 417.5 MB, free: 11.14 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5968, allocations: 0 / 417.5 MB, free: 11.14 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002939/0.5971, allocations: 4 kB / 417.5 MB, free: 11.14 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: 0 () * 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.0004759/0.5976, allocations: 0.7664 MB / 418.2 MB, free: 10.35 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.809e-05/0.5977, allocations: 11.53 kB / 418.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5977, allocations: 4.062 kB / 418.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.349e-05/0.5977, allocations: 0 / 418.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.5981, allocations: 26.66 kB / 418.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005181/0.5986, allocations: 163.5 kB / 418.4 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.5989, allocations: 0.6926 MB / 419.1 MB, free: 9.398 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.599, allocations: 14.88 kB / 419.2 MB, free: 9.391 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.599, allocations: 160 / 419.2 MB, free: 9.391 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.391/2.99, allocations: 1.039 MB / 420.2 MB, free: 8.359 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample_res.mat does not exist to compare? outputFormat=mat