Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.166/2.166, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.377e-05/3.369e-05, allocations: 4 kB / 284.4 MB, free: 8.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 50.36 MB / 334.8 MB, free: 6.133 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4527/0.565, allocations: 78.04 MB / 412.8 MB, free: 192 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.5654, allocations: 76.08 kB / 412.9 MB, free: 148 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004762/0.5702, allocations: 1.279 MB / 414.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.5702, allocations: 0 / 414.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.029e-05/0.5702, allocations: 0 / 414.2 MB, free: 15.02 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.0004051/0.5706, allocations: 358.8 kB / 414.5 MB, free: 14.63 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.5707, allocations: 11.97 kB / 414.5 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.799e-05/0.5707, allocations: 30.56 kB / 414.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.5708, allocations: 15.81 kB / 414.6 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.5711, allocations: 186.1 kB / 414.7 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.5711, allocations: 11.45 kB / 414.8 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.5711, allocations: 4 kB / 414.8 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000368/0.5715, allocations: 139.8 kB / 414.9 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.5715, allocations: 0 / 414.9 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.5715, allocations: 0 / 414.9 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.5715, allocations: 3.938 kB / 414.9 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.972e-05/0.5716, allocations: 18.88 kB / 414.9 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/0.5718, allocations: 176.9 kB / 415.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.572, allocations: 75.42 kB / 415.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.5722, allocations: 46.77 kB / 415.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.5722, allocations: 0 / 415.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.5722, allocations: 33.19 kB / 415.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.432e-06/0.5722, allocations: 4 kB / 415.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002314/0.5725, allocations: 82.52 kB / 415.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.5726, allocations: 55.41 kB / 415.4 MB, free: 13.69 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.5727, allocations: 131.9 kB / 415.5 MB, free: 13.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.853e-05/0.5728, allocations: 29.7 kB / 415.5 MB, free: 13.53 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.096e-05/0.5728, allocations: 153.6 kB / 415.7 MB, free: 13.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.5729, allocations: 6.984 kB / 415.7 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/0.5729, allocations: 0 / 415.7 MB, free: 13.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.573, allocations: 318.2 kB / 416 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.954e-05/0.5731, allocations: 4 kB / 416 MB, free: 13.06 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.282e-05/0.5732, allocations: 65.06 kB / 416.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.329e-05/0.5732, allocations: 15.48 kB / 416.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5733, allocations: 4 kB / 416.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001793/0.5735, allocations: 84.44 kB / 416.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.5735, allocations: 8 kB / 416.2 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5735, allocations: 0 / 416.2 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.5735, allocations: 4 kB / 416.2 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.5737, allocations: 19.12 kB / 416.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.5737, allocations: 8.188 kB / 416.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.201e-05/0.5738, allocations: 11.91 kB / 416.2 MB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.5738, allocations: 4 kB / 416.2 MB, free: 12.83 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: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * 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 0.0001036/0.5739, allocations: 123 kB / 416.4 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.5741, allocations: 87.5 kB / 416.4 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.592e-05/0.5741, allocations: 12.06 kB / 416.5 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.5741, allocations: 0 / 416.5 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.5742, allocations: 0 / 416.5 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.699e-06/0.5742, allocations: 7.969 kB / 416.5 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.5744, allocations: 175.3 kB / 416.6 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5744, allocations: 4 kB / 416.6 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.5745, allocations: 15.98 kB / 416.6 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5745, allocations: 0 / 416.6 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.5745, allocations: 3.953 kB / 416.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5746, allocations: 0 / 416.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5746, allocations: 0 / 416.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.5748, allocations: 114.2 kB / 416.8 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.261e-05/0.5749, allocations: 92.94 kB / 416.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.5749, allocations: 7 kB / 416.9 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.818e-05/0.575, allocations: 3.953 kB / 416.9 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-06/0.575, allocations: 4.188 kB / 416.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.575, allocations: 0 / 416.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001063/0.5751, allocations: 112.5 kB / 417 MB, free: 12.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5751, allocations: 0 / 417 MB, free: 12.04 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002813/0.5754, allocations: 7.188 kB / 417 MB, free: 12.04 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * 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.0006466/0.5761, allocations: 0.6765 MB / 417.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.5763, allocations: 42.98 kB / 417.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5763, allocations: 0 / 417.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.5763, allocations: 0 / 417.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.5766, allocations: 41.66 kB / 417.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005096/0.5771, allocations: 196.2 kB / 417.9 MB, free: 11.08 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.5775, allocations: 0.6965 MB / 418.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.301e-05/0.5775, allocations: 19.19 kB / 418.7 MB, free: 10.34 MB / 346.7 MB Notification: Performance of SimCode: time 2.926e-06/0.5776, allocations: 3.938 kB / 418.7 MB, free: 10.34 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.327/2.904, allocations: 1.2 MB / 419.9 MB, free: 9.145 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock_res.mat does not exist to compare? outputFormat=mat