Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.18/2.18, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.211e-05/4.183e-05, allocations: 4 kB / 284.4 MB, free: 8.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1105, allocations: 50.36 MB / 334.8 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4333/0.5439, allocations: 77.83 MB / 412.6 MB, free: 24 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/0.5442, allocations: 77.39 kB / 412.7 MB, free: 15.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004011/0.5483, allocations: 1.065 MB / 413.7 MB, free: 15.03 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5483, allocations: 0 / 413.7 MB, free: 15.03 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.5483, allocations: 0 / 413.7 MB, free: 15.03 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004595/0.5488, allocations: 348.5 kB / 414.1 MB, free: 14.65 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.5489, allocations: 12.03 kB / 414.1 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.808e-05/0.549, allocations: 34.55 kB / 414.1 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.549, allocations: 7.906 kB / 414.1 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.5493, allocations: 188.8 kB / 414.3 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.5493, allocations: 7.891 kB / 414.3 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.5493, allocations: 7.25 kB / 414.3 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.5495, allocations: 78.69 kB / 414.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.5496, allocations: 0 / 414.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.5496, allocations: 4 kB / 414.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.5496, allocations: 3.938 kB / 414.4 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.872e-05/0.5497, allocations: 4 kB / 414.4 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.5501, allocations: 271 kB / 414.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.434e-05/0.5502, allocations: 41.75 kB / 414.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.477e-05/0.5503, allocations: 13.16 kB / 414.7 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.5503, allocations: 4 kB / 414.7 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.5503, allocations: 34.56 kB / 414.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 2.174e-06/0.5504, allocations: 0 / 414.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001914/0.5506, allocations: 52.91 kB / 414.8 MB, free: 13.78 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.055e-05/0.5506, allocations: 77.11 kB / 414.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.5508, allocations: 123.4 kB / 415 MB, free: 13.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.5508, allocations: 25.7 kB / 415 MB, free: 13.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.491e-05/0.5509, allocations: 150.6 kB / 415.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.064e-05/0.551, allocations: 3.375 kB / 415.2 MB, free: 13.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.551, allocations: 4 kB / 415.2 MB, free: 13.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.5511, allocations: 318.8 kB / 415.5 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.606e-05/0.5512, allocations: 0 / 415.5 MB, free: 13.06 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.857e-05/0.5512, allocations: 17.03 kB / 415.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.262e-05/0.5512, allocations: 3.984 kB / 415.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5512, allocations: 4 kB / 415.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.647e-05/0.5513, allocations: 41.7 kB / 415.6 MB, free: 12.99 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.5514, allocations: 4 kB / 415.6 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.5514, allocations: 0 / 415.6 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.5514, allocations: 0 / 415.6 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.5515, allocations: 19.3 kB / 415.6 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.5516, allocations: 0 / 415.6 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.936e-05/0.5516, allocations: 4 kB / 415.6 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.5516, allocations: 0 / 415.6 MB, free: 12.96 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: 2 (sample.u,sample.y) * 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 8.775e-05/0.5517, allocations: 113.9 kB / 415.7 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.112e-05/0.5518, allocations: 41.55 kB / 415.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.5519, allocations: 14.7 kB / 415.8 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.5519, allocations: 4 kB / 415.8 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5519, allocations: 0 / 415.8 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.5519, allocations: 0 / 415.8 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.5522, allocations: 164 kB / 415.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.5522, allocations: 7.984 kB / 415.9 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.5e-05/0.5523, allocations: 4 kB / 415.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.5523, allocations: 4.031 kB / 416 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-06/0.5523, allocations: 0 / 416 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.5523, allocations: 4 kB / 416 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.5523, allocations: 3.984 kB / 416 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.5525, allocations: 161.3 kB / 416.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.096e-05/0.5526, allocations: 92.31 kB / 416.2 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.5526, allocations: 7.969 kB / 416.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.5527, allocations: 4 kB / 416.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.5528, allocations: 3.938 kB / 416.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.5528, allocations: 0 / 416.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.76e-05/0.5529, allocations: 103 kB / 416.3 MB, free: 12.17 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5529, allocations: 0 / 416.3 MB, free: 12.17 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003077/0.5532, allocations: 4 kB / 416.3 MB, free: 12.17 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: 2 (sample.u,sample.y) * 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.0005056/0.5538, allocations: 0.7556 MB / 417.1 MB, free: 11.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.482e-05/0.5539, allocations: 14.94 kB / 417.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.5539, allocations: 0 / 417.1 MB, free: 11.37 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.067e-05/0.5539, allocations: 8.094 kB / 417.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.5542, allocations: 19.2 kB / 417.1 MB, free: 11.35 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005015/0.5548, allocations: 155.9 kB / 417.3 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.5551, allocations: 0.6887 MB / 418 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.94e-05/0.5551, allocations: 10.75 kB / 418 MB, free: 10.44 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5552, allocations: 0 / 418 MB, free: 10.44 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.359/2.914, allocations: 0.8804 MB / 418.9 MB, free: 9.562 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked_res.mat does not exist to compare? outputFormat=mat