Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.134/2.134, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.853e-05/3.867e-05, allocations: 4 kB / 284.4 MB, free: 8.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 50.36 MB / 334.8 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4627/0.575, allocations: 77.95 MB / 412.7 MB, free: 15.95 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.5753, allocations: 78.52 kB / 412.8 MB, free: 15.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004098/0.5795, allocations: 1.108 MB / 413.9 MB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5795, allocations: 4 kB / 413.9 MB, free: 14.92 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.5795, allocations: 0 / 413.9 MB, free: 14.92 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.0004544/0.58, allocations: 358.2 kB / 414.3 MB, free: 14.53 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.5801, allocations: 12.03 kB / 414.3 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.13e-05/0.5801, allocations: 34.5 kB / 414.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.099e-05/0.5801, allocations: 7.906 kB / 414.3 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.5804, allocations: 189 kB / 414.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.5804, allocations: 11.58 kB / 414.5 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.5804, allocations: 0 / 414.5 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.5807, allocations: 106.6 kB / 414.6 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.5808, allocations: 0 / 414.6 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.5808, allocations: 3.375 kB / 414.6 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.5808, allocations: 0 / 414.6 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.521e-05/0.5808, allocations: 11.94 kB / 414.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.5813, allocations: 271.1 kB / 414.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.5815, allocations: 130.2 kB / 415 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.148e-05/0.5816, allocations: 28.53 kB / 415 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.5816, allocations: 4 kB / 415 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.5816, allocations: 30.56 kB / 415.1 MB, free: 13.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.5817, allocations: 0 / 415.1 MB, free: 13.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000184/0.5819, allocations: 59.56 kB / 415.1 MB, free: 13.53 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.5819, allocations: 77.11 kB / 415.2 MB, free: 13.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.5821, allocations: 129.2 kB / 415.3 MB, free: 13.31 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.5821, allocations: 29.7 kB / 415.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.107e-05/0.5822, allocations: 158.5 kB / 415.5 MB, free: 13.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.183e-05/0.5822, allocations: 7.062 kB / 415.5 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.5823, allocations: 0 / 415.5 MB, free: 13.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5824, allocations: 314.8 kB / 415.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.248e-05/0.5824, allocations: 7.188 kB / 415.8 MB, free: 12.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.532e-05/0.5825, allocations: 23.44 kB / 415.9 MB, free: 12.76 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.604e-05/0.5825, allocations: 15.3 kB / 415.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.5826, allocations: 4 kB / 415.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001116/0.5827, allocations: 48.83 kB / 415.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.5827, allocations: 8 kB / 415.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.5827, allocations: 0 / 415.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.5827, allocations: 0 / 415.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.5829, allocations: 20.05 kB / 416 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.5829, allocations: 4 kB / 416 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.707e-05/0.583, allocations: 4 kB / 416 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.583, allocations: 0 / 416 MB, free: 12.66 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: 4 (sample.u,sample.y,assignClock.y,assignClock.u) * 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.051e-05/0.5831, allocations: 116.8 kB / 416.1 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.966e-05/0.5832, allocations: 48.86 kB / 416.1 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.23e-05/0.5833, allocations: 15.44 kB / 416.1 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.5833, allocations: 4 kB / 416.1 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5833, allocations: 4 kB / 416.2 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.5833, allocations: 3.984 kB / 416.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.5836, allocations: 163.7 kB / 416.3 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.5836, allocations: 3.984 kB / 416.3 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.826e-05/0.5837, allocations: 8 kB / 416.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.5837, allocations: 4 kB / 416.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.5837, allocations: 0 / 416.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5837, allocations: 3.938 kB / 416.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5837, allocations: 0 / 416.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.5839, allocations: 175.5 kB / 416.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.724e-05/0.584, allocations: 96.31 kB / 416.6 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.5841, allocations: 0 / 416.6 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.311e-05/0.5842, allocations: 7.984 kB / 416.6 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.5842, allocations: 3.938 kB / 416.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.5842, allocations: 0 / 416.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.714e-05/0.5843, allocations: 108.6 kB / 416.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5843, allocations: 0 / 416.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003096/0.5847, allocations: 4 kB / 416.7 MB, free: 11.83 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: 4 (sample.u,assignClock.u,assignClock.y,sample.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.0005219/0.5852, allocations: 0.7653 MB / 417.5 MB, free: 11.04 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.5853, allocations: 26.31 kB / 417.5 MB, free: 11.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5853, allocations: 0 / 417.5 MB, free: 11.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.007e-05/0.5854, allocations: 4 kB / 417.5 MB, free: 11.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.5857, allocations: 15.14 kB / 417.5 MB, free: 11.01 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004901/0.5862, allocations: 159.7 kB / 417.7 MB, free: 10.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.5865, allocations: 0.6968 MB / 418.4 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.847e-05/0.5866, allocations: 17.88 kB / 418.4 MB, free: 10.09 MB / 346.7 MB Notification: Performance of SimCode: time 4.448e-06/0.5866, allocations: 0 / 418.4 MB, free: 10.09 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.259/2.846, allocations: 0.9526 MB / 419.4 MB, free: 9.137 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1_res.mat does not exist to compare? outputFormat=mat