Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.238/2.238, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.385e-05/6.399e-05, allocations: 6.812 kB / 292.7 MB, free: 8.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1212, allocations: 50.41 MB / 343.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5052/0.6265, allocations: 76.68 MB / 419.8 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/0.6268, allocations: 79.75 kB / 419.9 MB, free: 1.473 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004779/0.6316, allocations: 1.265 MB / 421.2 MB, free: 376 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.6317, allocations: 0 / 421.2 MB, free: 376 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.6317, allocations: 7.938 kB / 421.2 MB, free: 368 kB / 330.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.0004336/0.6322, allocations: 348.4 kB / 421.5 MB, free: 15.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.6322, allocations: 8.031 kB / 421.5 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.159e-05/0.6323, allocations: 37.5 kB / 421.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.6323, allocations: 11.86 kB / 421.6 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.6326, allocations: 191.2 kB / 421.8 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.6326, allocations: 15.06 kB / 421.8 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.6327, allocations: 8 kB / 421.8 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/0.633, allocations: 118.9 kB / 421.9 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.633, allocations: 0 / 421.9 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.6331, allocations: 3.953 kB / 421.9 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.6331, allocations: 4 kB / 421.9 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.669e-05/0.6331, allocations: 14.06 kB / 421.9 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.6333, allocations: 179.5 kB / 422.1 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.6335, allocations: 64.16 kB / 422.2 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.979e-05/0.6336, allocations: 34.8 kB / 422.2 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.6337, allocations: 4 kB / 422.2 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.6337, allocations: 34.5 kB / 422.2 MB, free: 15.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.783e-06/0.6337, allocations: 4 kB / 422.2 MB, free: 15.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002218/0.634, allocations: 68.08 kB / 422.3 MB, free: 15.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.634, allocations: 63.28 kB / 422.4 MB, free: 15.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.6342, allocations: 124.3 kB / 422.5 MB, free: 14.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.6343, allocations: 29.64 kB / 422.5 MB, free: 14.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.6343, allocations: 87.33 kB / 422.6 MB, free: 14.83 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.567e-05/0.6343, allocations: 7.5 kB / 422.6 MB, free: 14.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.6344, allocations: 0 / 422.6 MB, free: 14.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.6345, allocations: 325.5 kB / 422.9 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.662e-05/0.6346, allocations: 7.188 kB / 422.9 MB, free: 14.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.707e-05/0.6347, allocations: 53.94 kB / 423 MB, free: 14.42 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.114e-05/0.6347, allocations: 19.17 kB / 423 MB, free: 14.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.6348, allocations: 0 / 423 MB, free: 14.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001817/0.6349, allocations: 87.09 kB / 423.1 MB, free: 14.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.635, allocations: 8.25 kB / 423.1 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.635, allocations: 4 kB / 423.1 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.635, allocations: 4 kB / 423.1 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.6352, allocations: 15.98 kB / 423.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.6352, allocations: 4 kB / 423.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.951e-05/0.6352, allocations: 3.953 kB / 423.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.6353, allocations: 7.062 kB / 423.1 MB, free: 14.28 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 9.494e-05/0.6354, allocations: 110.1 kB / 423.2 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.6355, allocations: 78.92 kB / 423.3 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.833e-05/0.6356, allocations: 11.94 kB / 423.3 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.6356, allocations: 4 kB / 423.3 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6356, allocations: 0 / 423.3 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.6356, allocations: 0 / 423.3 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.6358, allocations: 180.3 kB / 423.5 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.6358, allocations: 0 / 423.5 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.6359, allocations: 11.06 kB / 423.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.636, allocations: 4 kB / 423.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.636, allocations: 3.938 kB / 423.5 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.636, allocations: 0 / 423.5 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.636, allocations: 0 / 423.5 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.6362, allocations: 106.3 kB / 423.6 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.426e-05/0.6363, allocations: 96.88 kB / 423.7 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.6363, allocations: 192 / 423.7 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.146e-05/0.6364, allocations: 3.984 kB / 423.7 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-06/0.6364, allocations: 7.938 kB / 423.7 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.6364, allocations: 0 / 423.7 MB, free: 13.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001029/0.6365, allocations: 109.9 kB / 423.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.695e-06/0.6365, allocations: 0 / 423.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002638/0.6368, allocations: 15.88 kB / 423.9 MB, free: 13.51 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.0006193/0.6374, allocations: 0.6661 MB / 424.5 MB, free: 12.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001519/0.6376, allocations: 39.3 kB / 424.6 MB, free: 12.81 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.6376, allocations: 0.5625 kB / 424.6 MB, free: 12.81 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.6376, allocations: 4 kB / 424.6 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.638, allocations: 35.66 kB / 424.6 MB, free: 12.78 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004957/0.6385, allocations: 146.2 kB / 424.8 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.6388, allocations: 0.6965 MB / 425.5 MB, free: 11.89 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.533e-05/0.6389, allocations: 4 kB / 425.5 MB, free: 11.88 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.442e-05/0.6389, allocations: 23.11 kB / 425.5 MB, free: 11.87 MB / 346.7 MB Notification: Performance of SimCode: time 1.102e-06/0.639, allocations: 4 kB / 425.5 MB, free: 11.86 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.6634, allocations: 1.458 MB / 426.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/0.6637, allocations: 174.9 kB / 427.1 MB, free: 10.25 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.326/2.99, allocations: 0 / 427.1 MB, free: 10.25 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat does not exist to compare? outputFormat=mat