Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.323/2.323, allocations: 218.4 MB / 231.1 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.613e-05/4.621e-05, allocations: 4 kB / 284.4 MB, free: 8.094 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1195, allocations: 50.35 MB / 334.8 MB, free: 5.637 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4474/0.567, allocations: 78.47 MB / 413.3 MB, free: 15.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/0.5674, allocations: 78.95 kB / 413.3 MB, free: 15.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006394/0.5738, allocations: 1.446 MB / 414.8 MB, free: 14.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.055e-06/0.5738, allocations: 4 kB / 414.8 MB, free: 14.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.948e-05/0.5739, allocations: 0 / 414.8 MB, free: 14.19 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.0007298/0.5746, allocations: 350 kB / 415.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.543e-05/0.5747, allocations: 12.03 kB / 415.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.158e-05/0.5748, allocations: 34.5 kB / 415.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.831e-05/0.5749, allocations: 15.75 kB / 415.2 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004087/0.5753, allocations: 194.8 kB / 415.4 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.5754, allocations: 4 kB / 415.4 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.5754, allocations: 4 kB / 415.4 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/0.5759, allocations: 103.7 kB / 415.5 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.5759, allocations: 0 / 415.5 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.5759, allocations: 0 / 415.5 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.576, allocations: 3.938 kB / 415.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.518e-05/0.5761, allocations: 15.62 kB / 415.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007063/0.5768, allocations: 269.1 kB / 415.8 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.577, allocations: 34.44 kB / 415.8 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.976e-05/0.5771, allocations: 21.41 kB / 415.8 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/0.5771, allocations: 4 kB / 415.8 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.5772, allocations: 30.56 kB / 415.9 MB, free: 12.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 3.657e-06/0.5772, allocations: 0 / 415.9 MB, free: 12.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.000318/0.5775, allocations: 49.16 kB / 415.9 MB, free: 12.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/0.5776, allocations: 81.05 kB / 416 MB, free: 12.81 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.5779, allocations: 138 kB / 416.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.5779, allocations: 29.77 kB / 416.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.374e-05/0.578, allocations: 87.77 kB / 416.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.578, allocations: 0 / 416.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.146e-06/0.5781, allocations: 0 / 416.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.5783, allocations: 326.7 kB / 416.6 MB, free: 12.24 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.036e-05/0.5783, allocations: 3.812 kB / 416.6 MB, free: 12.24 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.602e-05/0.5784, allocations: 13.72 kB / 416.6 MB, free: 12.22 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.774e-05/0.5784, allocations: 11.75 kB / 416.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5785, allocations: 0 / 416.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001896/0.5787, allocations: 49.53 kB / 416.6 MB, free: 12.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.5787, allocations: 4 kB / 416.6 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.5787, allocations: 0 / 416.6 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.5788, allocations: 4 kB / 416.6 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.5789, allocations: 4 kB / 416.6 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.5789, allocations: 0 / 416.6 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.959e-05/0.5791, allocations: 12 kB / 416.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.5791, allocations: 3.984 kB / 416.7 MB, free: 12.13 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 0.0001154/0.5792, allocations: 112.7 kB / 416.8 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.5794, allocations: 33.61 kB / 416.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.813e-05/0.5795, allocations: 11.41 kB / 416.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.5795, allocations: 0 / 416.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/0.5795, allocations: 11.94 kB / 416.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.5796, allocations: 0 / 416.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003862/0.58, allocations: 169.4 kB / 417 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.58, allocations: 8.016 kB / 417 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.5802, allocations: 8 kB / 417 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.5802, allocations: 0 / 417 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.5802, allocations: 0 / 417 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.5802, allocations: 0 / 417 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/0.5803, allocations: 4 kB / 417 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.5805, allocations: 165.6 kB / 417.2 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.5807, allocations: 92.94 kB / 417.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.5808, allocations: 0 / 417.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.581, allocations: 4 kB / 417.3 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.581, allocations: 3.984 kB / 417.3 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.5811, allocations: 4 kB / 417.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001721/0.5813, allocations: 118.7 kB / 417.4 MB, free: 11.33 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.5813, allocations: 0 / 417.4 MB, free: 11.33 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000494/0.5818, allocations: 8.031 kB / 417.4 MB, free: 11.32 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.0006326/0.5824, allocations: 0.7524 MB / 418.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.5826, allocations: 15.53 kB / 418.2 MB, free: 10.53 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5826, allocations: 8 kB / 418.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.332e-05/0.5827, allocations: 4 kB / 418.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005476/0.5833, allocations: 23.84 kB / 418.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008045/0.5841, allocations: 131.5 kB / 418.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.5846, allocations: 0.6926 MB / 419 MB, free: 9.617 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.924e-05/0.5847, allocations: 16.05 kB / 419 MB, free: 9.602 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.628e-05/0.5848, allocations: 11.31 kB / 419 MB, free: 9.598 MB / 346.7 MB Notification: Performance of SimCode: time 1.462e-06/0.5848, allocations: 0 / 419 MB, free: 9.598 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.6077, allocations: 1.34 MB / 420.4 MB, free: 8.328 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003908/0.6082, allocations: 177.6 kB / 420.6 MB, free: 8.102 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.362/2.97, allocations: 0 / 420.6 MB, free: 8.102 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample_res.mat does not exist to compare? outputFormat=mat