Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_IntegerSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.227/2.227, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.929e-05/5.965e-05, allocations: 7.984 kB / 284.4 MB, free: 8.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1386, allocations: 50.36 MB / 334.8 MB, free: 5.629 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5512/0.6899, allocations: 78.01 MB / 412.8 MB, free: 15.92 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/0.6903, allocations: 76.62 kB / 412.9 MB, free: 15.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005113/0.6954, allocations: 1.277 MB / 414.2 MB, free: 14.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.6955, allocations: 0 / 414.2 MB, free: 14.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.914e-05/0.6955, allocations: 4 kB / 414.2 MB, free: 14.75 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.000439/0.6959, allocations: 350 kB / 414.5 MB, free: 14.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.696, allocations: 12.03 kB / 414.5 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.066e-05/0.6961, allocations: 41.98 kB / 414.6 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.6961, allocations: 11.81 kB / 414.6 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.6964, allocations: 186.4 kB / 414.7 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.6964, allocations: 11.33 kB / 414.8 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.6965, allocations: 0 / 414.8 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004323/0.6969, allocations: 145.2 kB / 414.9 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.6969, allocations: 0 / 414.9 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.697, allocations: 4 kB / 414.9 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.697, allocations: 7.875 kB / 414.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.09e-05/0.6971, allocations: 22.05 kB / 414.9 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.6973, allocations: 167.5 kB / 415.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.6975, allocations: 82.08 kB / 415.2 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.997e-05/0.6976, allocations: 39.48 kB / 415.2 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.6976, allocations: 4 kB / 415.2 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.6977, allocations: 33.5 kB / 415.3 MB, free: 13.56 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.844e-06/0.6977, allocations: 0 / 415.3 MB, free: 13.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002421/0.6979, allocations: 80.45 kB / 415.3 MB, free: 13.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.465e-05/0.698, allocations: 54.91 kB / 415.4 MB, free: 13.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.6982, allocations: 132.2 kB / 415.5 MB, free: 13.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.6982, allocations: 28.95 kB / 415.5 MB, free: 13.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/0.6983, allocations: 91.56 kB / 415.6 MB, free: 13.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.6983, allocations: 0 / 415.6 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/0.6983, allocations: 3.312 kB / 415.6 MB, free: 13.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.6985, allocations: 322.3 kB / 415.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.925e-05/0.6985, allocations: 4 kB / 416 MB, free: 12.85 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.689e-05/0.6986, allocations: 65.44 kB / 416 MB, free: 12.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.32e-05/0.6987, allocations: 19.92 kB / 416 MB, free: 12.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6987, allocations: 0 / 416 MB, free: 12.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001924/0.6989, allocations: 88.11 kB / 416.1 MB, free: 12.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.699, allocations: 4 kB / 416.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.699, allocations: 4 kB / 416.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.699, allocations: 0 / 416.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.6992, allocations: 23.92 kB / 416.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.6992, allocations: 4.188 kB / 416.2 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.206e-05/0.6993, allocations: 11.94 kB / 416.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.6993, allocations: 4 kB / 416.2 MB, free: 12.62 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.0001185/0.6994, allocations: 122.4 kB / 416.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.6996, allocations: 83.8 kB / 416.4 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.93e-05/0.6996, allocations: 14.62 kB / 416.4 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.6997, allocations: 0 / 416.4 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.6997, allocations: 4 kB / 416.4 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.6997, allocations: 0 / 416.4 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.6999, allocations: 176.4 kB / 416.6 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.6999, allocations: 0 / 416.6 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.7, allocations: 19.44 kB / 416.6 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.7001, allocations: 192 / 416.6 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.7001, allocations: 3.953 kB / 416.6 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.7001, allocations: 3.938 kB / 416.6 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.7001, allocations: 7.984 kB / 416.6 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.7003, allocations: 107.9 kB / 416.7 MB, free: 12.06 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.653e-05/0.7004, allocations: 100.5 kB / 416.8 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.7005, allocations: 4 kB / 416.8 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.237e-05/0.7005, allocations: 7.938 kB / 416.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-06/0.7005, allocations: 0 / 416.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.864e-06/0.7005, allocations: 3.062 kB / 416.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001284/0.7007, allocations: 113.2 kB / 416.9 MB, free: 11.83 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7007, allocations: 0 / 416.9 MB, free: 11.83 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000292/0.701, allocations: 11.44 kB / 416.9 MB, free: 11.82 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.0006288/0.7016, allocations: 0.665 MB / 417.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.7018, allocations: 47.59 kB / 417.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7018, allocations: 0 / 417.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.813e-06/0.7019, allocations: 0 / 417.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.7022, allocations: 42.97 kB / 417.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005117/0.7027, allocations: 165 kB / 417.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.7031, allocations: 0.6965 MB / 418.5 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.499e-05/0.7032, allocations: 8.656 kB / 418.6 MB, free: 10.17 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.472e-05/0.7032, allocations: 22.31 kB / 418.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of SimCode: time 2.975e-06/0.7032, allocations: 0 / 418.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02409/0.7273, allocations: 1.547 MB / 420.1 MB, free: 8.664 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003359/0.7278, allocations: 183.9 kB / 420.3 MB, free: 8.434 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.287/3.015, allocations: 0 / 420.3 MB, free: 8.434 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClock_res.mat does not exist to compare? outputFormat=mat