Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.094/2.094, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.084e-05/4.11e-05, allocations: 0 / 292.8 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1127, allocations: 50.41 MB / 343.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4418/0.5546, allocations: 77.73 MB / 420.9 MB, free: 440 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/0.555, allocations: 77.95 kB / 421 MB, free: 396 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007298/0.5623, allocations: 1.691 MB / 422.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.821e-06/0.5624, allocations: 0 / 422.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.5624, allocations: 3.938 kB / 422.7 MB, free: 14.92 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.0005265/0.563, allocations: 369.9 kB / 423 MB, free: 14.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.563, allocations: 12.03 kB / 423 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.142e-05/0.5631, allocations: 38.2 kB / 423.1 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.5632, allocations: 15.81 kB / 423.1 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.5634, allocations: 186.8 kB / 423.3 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.5634, allocations: 11.88 kB / 423.3 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.5635, allocations: 4 kB / 423.3 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.5638, allocations: 133.3 kB / 423.4 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.5639, allocations: 7.891 kB / 423.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.5639, allocations: 0 / 423.4 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.5639, allocations: 8 kB / 423.4 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.776e-05/0.564, allocations: 23.44 kB / 423.5 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006035/0.5646, allocations: 297.2 kB / 423.8 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.5649, allocations: 161.2 kB / 423.9 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.232e-05/0.565, allocations: 37.33 kB / 423.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.5651, allocations: 0 / 423.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.5652, allocations: 55.03 kB / 424 MB, free: 13.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 4.328e-06/0.5652, allocations: 0 / 424 MB, free: 13.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002647/0.5655, allocations: 89.19 kB / 424.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/0.5656, allocations: 88.91 kB / 424.2 MB, free: 13.28 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.5657, allocations: 131.3 kB / 424.3 MB, free: 13.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.5658, allocations: 29.7 kB / 424.3 MB, free: 13.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.413e-05/0.5659, allocations: 91.81 kB / 424.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.5659, allocations: 15.88 kB / 424.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/0.5659, allocations: 3.812 kB / 424.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.566, allocations: 322.7 kB / 424.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.553e-05/0.5661, allocations: 11.81 kB / 424.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.751e-05/0.5662, allocations: 60.59 kB / 424.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.952e-05/0.5663, allocations: 27.81 kB / 424.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.5663, allocations: 4 kB / 424.9 MB, free: 12.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002322/0.5666, allocations: 100.8 kB / 425 MB, free: 12.51 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.5666, allocations: 8 kB / 425 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.5666, allocations: 0 / 425 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.5666, allocations: 7.938 kB / 425 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.5668, allocations: 12 kB / 425 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.5668, allocations: 3.984 kB / 425 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.567, allocations: 4.156 kB / 425 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.567, allocations: 8 kB / 425 MB, free: 12.47 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 9.698e-05/0.5671, allocations: 118.8 kB / 425.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.872e-05/0.5672, allocations: 53.53 kB / 425.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.187e-05/0.5673, allocations: 15.84 kB / 425.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5673, allocations: 0 / 425.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.5673, allocations: 0 / 425.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.5673, allocations: 0 / 425.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.5678, allocations: 341.3 kB / 425.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.5678, allocations: 192 / 425.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.5679, allocations: 12 kB / 425.5 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.5679, allocations: 0 / 425.5 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.5679, allocations: 11.92 kB / 425.5 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.5679, allocations: 0 / 425.5 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.568, allocations: 0 / 425.5 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.5682, allocations: 205.5 kB / 425.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.487e-05/0.5683, allocations: 104.9 kB / 425.8 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.5684, allocations: 0 / 425.8 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.5685, allocations: 4 kB / 425.8 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.5685, allocations: 3.984 kB / 425.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.5686, allocations: 7.875 kB / 425.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001058/0.5687, allocations: 114.5 kB / 426 MB, free: 11.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5687, allocations: 0 / 426 MB, free: 11.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003342/0.569, allocations: 15.94 kB / 426 MB, free: 11.45 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.0006731/0.5697, allocations: 0.8369 MB / 426.8 MB, free: 10.6 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001975/0.5699, allocations: 51.3 kB / 426.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.57, allocations: 8.375 kB / 426.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.631e-05/0.57, allocations: 11.94 kB / 426.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.5704, allocations: 30.25 kB / 426.9 MB, free: 10.53 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006278/0.571, allocations: 171.6 kB / 427.1 MB, free: 10.33 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.5713, allocations: 0.7004 MB / 427.8 MB, free: 9.605 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.179e-05/0.5714, allocations: 12.66 kB / 427.8 MB, free: 9.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.93e-05/0.5715, allocations: 22.69 kB / 427.8 MB, free: 9.578 MB / 346.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5715, allocations: 0 / 427.8 MB, free: 9.578 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.5928, allocations: 1.724 MB / 429.5 MB, free: 7.941 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003515/0.5932, allocations: 185.7 kB / 429.7 MB, free: 7.711 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.466/3.059, allocations: 0 / 429.7 MB, free: 7.711 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat does not exist to compare? outputFormat=mat