Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.333/2.333, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.12e-05/4.125e-05, allocations: 7.984 kB / 284.4 MB, free: 8.098 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 50.36 MB / 334.8 MB, free: 5.637 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4438/0.5564, allocations: 78.48 MB / 413.3 MB, free: 15.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/0.5567, allocations: 74.52 kB / 413.3 MB, free: 15.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006413/0.5632, allocations: 1.447 MB / 414.8 MB, free: 14.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.624e-06/0.5632, allocations: 4 kB / 414.8 MB, free: 14.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.5633, allocations: 0 / 414.8 MB, free: 14.14 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.0005015/0.5638, allocations: 359.7 kB / 415.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.5638, allocations: 8.031 kB / 415.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.516e-05/0.5639, allocations: 42.25 kB / 415.2 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.564, allocations: 11.81 kB / 415.2 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.5642, allocations: 186.8 kB / 415.4 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.5643, allocations: 4 kB / 415.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.5643, allocations: 4 kB / 415.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.5646, allocations: 113 kB / 415.5 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.5647, allocations: 0 / 415.5 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.5647, allocations: 0 / 415.5 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.5647, allocations: 0 / 415.5 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.828e-05/0.5648, allocations: 15.88 kB / 415.5 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.5653, allocations: 285.9 kB / 415.8 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.5654, allocations: 60.86 kB / 415.9 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.153e-05/0.5655, allocations: 30.52 kB / 415.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.5655, allocations: 0 / 415.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.5656, allocations: 38.5 kB / 415.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.873e-06/0.5656, allocations: 0 / 415.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002425/0.5658, allocations: 65.34 kB / 416 MB, free: 12.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.138e-05/0.5659, allocations: 114.7 kB / 416.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.5661, allocations: 133.9 kB / 416.2 MB, free: 12.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.641e-05/0.5662, allocations: 25.7 kB / 416.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.5662, allocations: 92 kB / 416.4 MB, free: 12.4 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.5663, allocations: 7.938 kB / 416.4 MB, free: 12.4 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.5663, allocations: 0 / 416.4 MB, free: 12.4 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.5664, allocations: 314.9 kB / 416.7 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.951e-05/0.5665, allocations: 11.88 kB / 416.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.393e-05/0.5665, allocations: 23.44 kB / 416.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.62e-05/0.5666, allocations: 11.73 kB / 416.7 MB, free: 12.03 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5666, allocations: 4 kB / 416.7 MB, free: 12.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001499/0.5668, allocations: 61.47 kB / 416.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.5668, allocations: 4 kB / 416.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.5668, allocations: 4 kB / 416.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.5668, allocations: 0 / 416.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.567, allocations: 11.94 kB / 416.8 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.567, allocations: 0 / 416.8 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.186e-05/0.5671, allocations: 7.984 kB / 416.8 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.5671, allocations: 7.953 kB / 416.8 MB, free: 11.93 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: 0 () * 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.598e-05/0.5672, allocations: 116.5 kB / 416.9 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.5674, allocations: 53.36 kB / 417 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.97e-05/0.5674, allocations: 15.58 kB / 417 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.5674, allocations: 0 / 417 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5675, allocations: 0 / 417 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.5675, allocations: 4.078 kB / 417 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.5677, allocations: 172.9 kB / 417.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.5677, allocations: 4 kB / 417.2 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.5679, allocations: 16.05 kB / 417.2 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.5679, allocations: 4 kB / 417.2 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.5679, allocations: 0 / 417.2 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.5679, allocations: 0 / 417.2 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5679, allocations: 0 / 417.2 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.5681, allocations: 196.3 kB / 417.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-05/0.5682, allocations: 96.98 kB / 417.5 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.5683, allocations: 3.938 kB / 417.5 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.5684, allocations: 4 kB / 417.5 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.5685, allocations: 3.953 kB / 417.5 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.5685, allocations: 4 kB / 417.5 MB, free: 11.17 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001081/0.5686, allocations: 107.5 kB / 417.6 MB, free: 11.08 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5686, allocations: 11.88 kB / 417.6 MB, free: 11.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003247/0.5689, allocations: 8 kB / 417.6 MB, free: 11.06 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0005778/0.5695, allocations: 0.8663 MB / 418.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.5697, allocations: 19.88 kB / 418.5 MB, free: 10.15 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5697, allocations: 0 / 418.5 MB, free: 10.15 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.484e-05/0.5697, allocations: 4 kB / 418.5 MB, free: 10.14 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.5702, allocations: 35.08 kB / 418.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000576/0.5708, allocations: 141.2 kB / 418.7 MB, free: 9.949 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.5711, allocations: 0.6965 MB / 419.4 MB, free: 9.227 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.471e-05/0.5712, allocations: 4.172 kB / 419.4 MB, free: 9.219 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.639e-05/0.5713, allocations: 19.19 kB / 419.4 MB, free: 9.211 MB / 346.7 MB Notification: Performance of SimCode: time 1.283e-06/0.5713, allocations: 0 / 419.4 MB, free: 9.211 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02041/0.5917, allocations: 1.443 MB / 420.8 MB, free: 7.828 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003419/0.5921, allocations: 172.6 kB / 421 MB, free: 7.605 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.395/2.987, allocations: 7.938 kB / 421 MB, free: 7.598 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample_res.mat does not exist to compare? outputFormat=mat