Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.202/2.202, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.119e-05/4.116e-05, allocations: 6.188 kB / 284.4 MB, free: 8.102 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.15, allocations: 50.36 MB / 334.8 MB, free: 5.641 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4627/0.6128, allocations: 78.98 MB / 413.8 MB, free: 14.97 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/0.6131, allocations: 77.2 kB / 413.9 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007569/0.6207, allocations: 1.628 MB / 415.5 MB, free: 13.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6208, allocations: 0 / 415.5 MB, free: 13.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.532e-05/0.6208, allocations: 0 / 415.5 MB, free: 13.51 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006402/0.6214, allocations: 370 kB / 415.8 MB, free: 13.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.6215, allocations: 8.031 kB / 415.8 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.56e-05/0.6216, allocations: 42.48 kB / 415.9 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.601e-05/0.6217, allocations: 7.906 kB / 415.9 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.622, allocations: 202.5 kB / 416.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.622, allocations: 4 kB / 416.1 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.6221, allocations: 11.3 kB / 416.1 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.6225, allocations: 127.6 kB / 416.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.6226, allocations: 4 kB / 416.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.6226, allocations: 0 / 416.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.6226, allocations: 4 kB / 416.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.6227, allocations: 26.17 kB / 416.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007538/0.6235, allocations: 310.2 kB / 416.6 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.6239, allocations: 151.9 kB / 416.7 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.624, allocations: 36.52 kB / 416.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.624, allocations: 7.938 kB / 416.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.6242, allocations: 54.56 kB / 416.8 MB, free: 12.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.966e-06/0.6242, allocations: 0 / 416.8 MB, free: 12.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.000345/0.6246, allocations: 85.39 kB / 416.9 MB, free: 11.97 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.81e-05/0.6247, allocations: 88.42 kB / 417 MB, free: 11.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.6249, allocations: 131.5 kB / 417.1 MB, free: 11.74 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.625, allocations: 32.88 kB / 417.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.327e-05/0.6251, allocations: 95.11 kB / 417.2 MB, free: 11.61 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.6251, allocations: 11.34 kB / 417.2 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-06/0.6251, allocations: 3.062 kB / 417.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.6253, allocations: 321.9 kB / 417.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.702e-05/0.6254, allocations: 17.94 kB / 417.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.6255, allocations: 56.44 kB / 417.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.481e-05/0.6257, allocations: 18.5 kB / 417.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.6257, allocations: 4 kB / 417.7 MB, free: 11.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003213/0.626, allocations: 99.2 kB / 417.8 MB, free: 11.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.6261, allocations: 11.94 kB / 417.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.6261, allocations: 0 / 417.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.6261, allocations: 4 kB / 417.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.6263, allocations: 19.05 kB / 417.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.6263, allocations: 7.953 kB / 417.8 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.6265, allocations: 8.156 kB / 417.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.6265, allocations: 4 kB / 417.8 MB, free: 11.05 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.triggeredSampler.y,triggeredSampler.y,clockToTrigger.y2,$CLKPRE.clockToTrigger.y2,$whenCondition1,clockToTrigger.y,$PRE.clockToTrigger.y3,clockToTrigger.y3) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001203/0.6267, allocations: 114.8 kB / 417.9 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.6268, allocations: 61 kB / 418 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.07e-05/0.6269, allocations: 12.02 kB / 418 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.936e-06/0.6269, allocations: 4 kB / 418 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6269, allocations: 0 / 418 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.6269, allocations: 3.953 kB / 418 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005667/0.6275, allocations: 333.1 kB / 418.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.6276, allocations: 8 kB / 418.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.6277, allocations: 15.92 kB / 418.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.6277, allocations: 0 / 418.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.6278, allocations: 0 / 418.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/0.6278, allocations: 7.953 kB / 418.4 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6278, allocations: 0 / 418.4 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.6281, allocations: 208.4 kB / 418.6 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.6283, allocations: 89 kB / 418.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.6283, allocations: 11.89 kB / 418.7 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.6285, allocations: 4 kB / 418.7 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.6286, allocations: 3.984 kB / 418.7 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.6286, allocations: 4 kB / 418.7 MB, free: 10.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001454/0.6288, allocations: 114.8 kB / 418.8 MB, free: 10.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.6288, allocations: 0 / 418.8 MB, free: 10.04 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005338/0.6293, allocations: 15.94 kB / 418.8 MB, free: 10.02 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: 5 (clockToTrigger.y2,clockToTrigger.y,$whenCondition1,triggeredSampler.y,clockToTrigger.y3) * Number of discrete states: 1 (clockToTrigger.y3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009378/0.6303, allocations: 0.8412 MB / 419.6 MB, free: 9.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002629/0.6306, allocations: 51.11 kB / 419.7 MB, free: 9.141 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.6306, allocations: 4.062 kB / 419.7 MB, free: 9.137 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.123e-05/0.6307, allocations: 19.88 kB / 419.7 MB, free: 9.121 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/0.6312, allocations: 31.38 kB / 419.7 MB, free: 9.098 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009165/0.6321, allocations: 171 kB / 419.9 MB, free: 8.902 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.6326, allocations: 0.7043 MB / 420.6 MB, free: 8.172 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.628e-05/0.6327, allocations: 8.672 kB / 420.6 MB, free: 8.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.317e-05/0.6328, allocations: 26.67 kB / 420.7 MB, free: 8.145 MB / 346.7 MB Notification: Performance of SimCode: time 1.183e-06/0.6328, allocations: 0 / 420.7 MB, free: 8.145 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06879/0.7016, allocations: 1.732 MB / 422.4 MB, free: 6.484 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002759/0.7019, allocations: 190.5 kB / 422.6 MB, free: 6.258 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.441/3.143, allocations: 0 / 422.6 MB, free: 6.258 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat does not exist to compare? outputFormat=mat