Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.139/2.139, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.745e-05/3.761e-05, allocations: 3.984 kB / 284.4 MB, free: 8.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 50.37 MB / 334.8 MB, free: 6.129 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4274/0.5356, allocations: 77.93 MB / 412.7 MB, free: 300 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.5359, allocations: 77.45 kB / 412.8 MB, free: 256 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004656/0.5406, allocations: 1.238 MB / 414 MB, free: 15.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5407, allocations: 3.938 kB / 414 MB, free: 15.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.809e-05/0.5407, allocations: 8 kB / 414 MB, free: 15.15 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004029/0.5411, allocations: 347.8 kB / 414.4 MB, free: 14.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.5412, allocations: 8.031 kB / 414.4 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.664e-05/0.5412, allocations: 38.5 kB / 414.4 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.5413, allocations: 11.81 kB / 414.4 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.5415, allocations: 190.3 kB / 414.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.5416, allocations: 7.953 kB / 414.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.5416, allocations: 7.5 kB / 414.6 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.5419, allocations: 119 kB / 414.7 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.542, allocations: 0 / 414.7 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.542, allocations: 0 / 414.7 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.542, allocations: 4 kB / 414.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.688e-05/0.5421, allocations: 15.69 kB / 414.8 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001967/0.5423, allocations: 170.7 kB / 414.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.5425, allocations: 67.67 kB / 415 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.04e-05/0.5426, allocations: 40.94 kB / 415 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.5426, allocations: 0 / 415 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.5426, allocations: 34.56 kB / 415.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 3.727e-06/0.5427, allocations: 3.984 kB / 415.1 MB, free: 14 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002087/0.5429, allocations: 71.33 kB / 415.1 MB, free: 13.94 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.5429, allocations: 58.59 kB / 415.2 MB, free: 13.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.5431, allocations: 125.8 kB / 415.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.5431, allocations: 29.64 kB / 415.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.5432, allocations: 153.7 kB / 415.5 MB, free: 13.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.5432, allocations: 11.92 kB / 415.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.5433, allocations: 3.125 kB / 415.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5434, allocations: 310.8 kB / 415.8 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.946e-05/0.5434, allocations: 11.19 kB / 415.8 MB, free: 13.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.824e-05/0.5435, allocations: 53.88 kB / 415.9 MB, free: 13.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.185e-05/0.5436, allocations: 26.17 kB / 415.9 MB, free: 13.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/0.5436, allocations: 4 kB / 415.9 MB, free: 13.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001751/0.5438, allocations: 79.86 kB / 416 MB, free: 13.06 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.5438, allocations: 8 kB / 416 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.5438, allocations: 3.984 kB / 416 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.5439, allocations: 4 kB / 416 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.544, allocations: 12 kB / 416 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.544, allocations: 12.19 kB / 416 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.5441, allocations: 0 / 416 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.5441, allocations: 7.375 kB / 416 MB, free: 13.02 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.679e-05/0.5442, allocations: 112.5 kB / 416.1 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.5443, allocations: 70.48 kB / 416.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.5444, allocations: 11.62 kB / 416.2 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.5444, allocations: 0 / 416.2 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.5444, allocations: 3.984 kB / 416.2 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.5444, allocations: 7.938 kB / 416.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.5446, allocations: 170.4 kB / 416.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5446, allocations: 4 kB / 416.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.5447, allocations: 15.98 kB / 416.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5447, allocations: 0 / 416.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.5447, allocations: 7.953 kB / 416.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.5448, allocations: 160 / 416.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5448, allocations: 0 / 416.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.545, allocations: 104.4 kB / 416.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.28e-05/0.5451, allocations: 96.62 kB / 416.6 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.5451, allocations: 4 kB / 416.6 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.108e-05/0.5451, allocations: 3.953 kB / 416.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-06/0.5451, allocations: 0 / 416.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.5452, allocations: 7.812 kB / 416.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001014/0.5453, allocations: 113.3 kB / 416.8 MB, free: 12.26 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.404e-06/0.5453, allocations: 0 / 416.8 MB, free: 12.26 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002806/0.5456, allocations: 11.94 kB / 416.8 MB, free: 12.25 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0006025/0.5462, allocations: 0.6551 MB / 417.4 MB, free: 11.58 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.5463, allocations: 38.06 kB / 417.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5464, allocations: 0 / 417.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.5464, allocations: 4 kB / 417.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.5467, allocations: 42.14 kB / 417.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005089/0.5472, allocations: 171.5 kB / 417.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.5476, allocations: 0.7043 MB / 418.4 MB, free: 10.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.841e-05/0.5477, allocations: 22.55 kB / 418.4 MB, free: 10.57 MB / 346.7 MB Notification: Performance of SimCode: time 7.81e-07/0.5477, allocations: 0 / 418.4 MB, free: 10.57 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.332/2.88, allocations: 1.118 MB / 419.5 MB, free: 9.461 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock_res.mat does not exist to compare? outputFormat=mat