Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.285/2.285, allocations: 218.4 MB / 231 MB, free: 12.49 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.611e-05/4.623e-05, allocations: 4 kB / 284.4 MB, free: 8.098 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1244, allocations: 50.35 MB / 334.8 MB, free: 5.645 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4513/0.5758, allocations: 78.63 MB / 413.4 MB, free: 15.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.5761, allocations: 78.2 kB / 413.5 MB, free: 15.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005866/0.582, allocations: 1.421 MB / 414.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.017e-06/0.582, allocations: 0 / 414.9 MB, free: 14.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.582, allocations: 3.938 kB / 414.9 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004788/0.5825, allocations: 359.2 kB / 415.3 MB, free: 13.67 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.5826, allocations: 11.97 kB / 415.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.131e-05/0.5827, allocations: 38.25 kB / 415.3 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.5827, allocations: 7.906 kB / 415.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.583, allocations: 190.3 kB / 415.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.583, allocations: 3.953 kB / 415.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.583, allocations: 4 kB / 415.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.5833, allocations: 115.2 kB / 415.6 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.5834, allocations: 0 / 415.6 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.5834, allocations: 0 / 415.6 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.5834, allocations: 3.938 kB / 415.6 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.668e-05/0.5835, allocations: 11.81 kB / 415.7 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.5839, allocations: 272.7 kB / 415.9 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.5842, allocations: 133.9 kB / 416.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.417e-05/0.5843, allocations: 26.61 kB / 416.1 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.5843, allocations: 4 kB / 416.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.5843, allocations: 34.56 kB / 416.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.864e-06/0.5843, allocations: 0 / 416.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002049/0.5846, allocations: 60.16 kB / 416.2 MB, free: 12.65 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/0.5846, allocations: 77.11 kB / 416.3 MB, free: 12.56 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.5848, allocations: 127.6 kB / 416.4 MB, free: 12.44 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.5848, allocations: 25.7 kB / 416.4 MB, free: 12.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.878e-05/0.5849, allocations: 91.91 kB / 416.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.5849, allocations: 4 kB / 416.5 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.5849, allocations: 3.75 kB / 416.5 MB, free: 12.31 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5851, allocations: 314.8 kB / 416.8 MB, free: 12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.772e-05/0.5851, allocations: 7 kB / 416.8 MB, free: 11.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.452e-05/0.5852, allocations: 30.92 kB / 416.8 MB, free: 11.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.327e-05/0.5852, allocations: 15.94 kB / 416.9 MB, free: 11.94 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.5852, allocations: 0 / 416.9 MB, free: 11.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001351/0.5854, allocations: 57.28 kB / 416.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.5854, allocations: 4 kB / 416.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.5854, allocations: 4 kB / 416.9 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.5855, allocations: 0 / 416.9 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.5856, allocations: 12.12 kB / 416.9 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.5856, allocations: 3.984 kB / 416.9 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.601e-05/0.5857, allocations: 7.516 kB / 416.9 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.5857, allocations: 4 kB / 417 MB, free: 11.85 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 9.795e-05/0.5858, allocations: 120.5 kB / 417.1 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.586, allocations: 57.27 kB / 417.1 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/0.586, allocations: 11.59 kB / 417.1 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.586, allocations: 0 / 417.1 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.5861, allocations: 4 kB / 417.1 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5861, allocations: 4 kB / 417.1 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.5863, allocations: 168.9 kB / 417.3 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.5863, allocations: 0 / 417.3 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.384e-05/0.5864, allocations: 15.98 kB / 417.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.5864, allocations: 0 / 417.3 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.5865, allocations: 4 kB / 417.3 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.5865, allocations: 0 / 417.3 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5865, allocations: 0 / 417.3 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.5867, allocations: 177 kB / 417.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.883e-05/0.5868, allocations: 96.25 kB / 417.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.5868, allocations: 3.984 kB / 417.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.5869, allocations: 4 kB / 417.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.587, allocations: 0 / 417.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.587, allocations: 4 kB / 417.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.5871, allocations: 111.2 kB / 417.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5871, allocations: 0 / 417.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003168/0.5875, allocations: 4 kB / 417.7 MB, free: 11.01 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 (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.000533/0.588, allocations: 0.7707 MB / 418.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.5881, allocations: 27.19 kB / 418.5 MB, free: 10.19 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5882, allocations: 0 / 418.5 MB, free: 10.19 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.438e-05/0.5882, allocations: 3.5 kB / 418.5 MB, free: 10.19 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.5885, allocations: 19.77 kB / 418.5 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005137/0.589, allocations: 139.7 kB / 418.7 MB, free: 10.01 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.5894, allocations: 0.7001 MB / 419.4 MB, free: 9.285 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.212e-05/0.5895, allocations: 4 kB / 419.4 MB, free: 9.281 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.943e-05/0.5895, allocations: 14.75 kB / 419.4 MB, free: 9.27 MB / 346.7 MB Notification: Performance of SimCode: time 8.32e-07/0.5895, allocations: 0 / 419.4 MB, free: 9.27 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.6129, allocations: 1.298 MB / 420.7 MB, free: 8.027 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003319/0.6133, allocations: 180.4 kB / 420.9 MB, free: 7.793 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.47/3.083, allocations: 0 / 420.9 MB, free: 7.793 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1_res.mat does not exist to compare? outputFormat=mat