Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.145/2.145, allocations: 225.8 MB / 239.3 MB, free: 1.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.682e-05/3.692e-05, allocations: 4 kB / 292.7 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 50.41 MB / 343.2 MB, free: 8.973 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4796/0.5906, allocations: 76.02 MB / 419.2 MB, free: 8.012 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.591, allocations: 71.83 kB / 419.2 MB, free: 8.012 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00214/0.5931, allocations: 0.7087 MB / 420 MB, free: 7.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5932, allocations: 0 / 420 MB, free: 7.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.5932, allocations: 4 kB / 420 MB, free: 7.676 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003111/0.5935, allocations: 334.5 kB / 420.3 MB, free: 7.328 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.5936, allocations: 7.719 kB / 420.3 MB, free: 7.328 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.093e-05/0.5936, allocations: 40.77 kB / 420.3 MB, free: 7.285 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.5937, allocations: 6.578 kB / 420.3 MB, free: 7.281 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.5938, allocations: 171.3 kB / 420.5 MB, free: 7.086 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.5939, allocations: 3.75 kB / 420.5 MB, free: 7.086 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.5939, allocations: 3.188 kB / 420.5 MB, free: 7.086 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.5941, allocations: 99.06 kB / 420.6 MB, free: 7.027 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.5942, allocations: 0 / 420.6 MB, free: 7.027 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.5942, allocations: 4 kB / 420.6 MB, free: 7.023 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.5942, allocations: 3.953 kB / 420.6 MB, free: 7.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.49e-05/0.5942, allocations: 7.719 kB / 420.6 MB, free: 7.016 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001226/0.5944, allocations: 162.2 kB / 420.8 MB, free: 6.824 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.5945, allocations: 43.34 kB / 420.8 MB, free: 6.797 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.89e-05/0.5946, allocations: 20.33 kB / 420.8 MB, free: 6.789 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.5946, allocations: 0 / 420.8 MB, free: 6.789 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.5946, allocations: 34.55 kB / 420.9 MB, free: 6.746 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.5946, allocations: 0 / 420.9 MB, free: 6.746 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001498/0.5948, allocations: 52.34 kB / 420.9 MB, free: 6.711 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.5948, allocations: 63.27 kB / 421 MB, free: 6.641 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.657e-05/0.5949, allocations: 95.91 kB / 421.1 MB, free: 6.551 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.5949, allocations: 28.14 kB / 421.1 MB, free: 6.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.574e-05/0.595, allocations: 86.92 kB / 421.2 MB, free: 6.438 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.783e-06/0.595, allocations: 0 / 421.2 MB, free: 6.438 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-06/0.595, allocations: 0 / 421.2 MB, free: 6.438 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.222e-05/0.5951, allocations: 319.8 kB / 421.5 MB, free: 6.125 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.264e-05/0.5951, allocations: 0 / 421.5 MB, free: 6.125 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.945e-05/0.5951, allocations: 30.5 kB / 421.5 MB, free: 6.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.304e-05/0.5952, allocations: 10.03 kB / 421.5 MB, free: 6.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5952, allocations: 0 / 421.5 MB, free: 6.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.791e-05/0.5953, allocations: 53.75 kB / 421.6 MB, free: 6.051 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.5953, allocations: 7.75 kB / 421.6 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.5953, allocations: 4 kB / 421.6 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.5953, allocations: 5.156 kB / 421.6 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.459e-05/0.5954, allocations: 3.688 kB / 421.6 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.5954, allocations: 6.094 kB / 421.6 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.961e-05/0.5955, allocations: 11.8 kB / 421.6 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.5955, allocations: 3.969 kB / 421.6 MB, free: 6.031 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.377e-05/0.5956, allocations: 104.3 kB / 421.7 MB, free: 5.926 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.411e-05/0.5956, allocations: 45.78 kB / 421.8 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.5957, allocations: 11.75 kB / 421.8 MB, free: 5.887 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.5957, allocations: 0 / 421.8 MB, free: 5.887 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.5957, allocations: 9.938 kB / 421.8 MB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5957, allocations: 0 / 421.8 MB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.511e-05/0.5958, allocations: 158.3 kB / 422 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.5958, allocations: 0 / 422 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.157e-05/0.5959, allocations: 10.59 kB / 422 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.5959, allocations: 0 / 422 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.596, allocations: 3.844 kB / 422 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.596, allocations: 0 / 422 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.596, allocations: 0 / 422 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.5961, allocations: 78.78 kB / 422.1 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/0.5961, allocations: 83.73 kB / 422.1 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.5962, allocations: 4.125 kB / 422.1 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.253e-05/0.5962, allocations: 3.781 kB / 422.1 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-06/0.5962, allocations: 4 kB / 422.1 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.5962, allocations: 0 / 422.1 MB, free: 5.516 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.448e-05/0.5963, allocations: 85.75 kB / 422.2 MB, free: 5.441 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5963, allocations: 4 kB / 422.2 MB, free: 5.438 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002496/0.5966, allocations: 7.156 kB / 422.2 MB, free: 5.438 MB / 330.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 (4): * Single equations (assignments): 4 * 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.0005315/0.5971, allocations: 0.6117 MB / 422.9 MB, free: 20.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.661e-05/0.5972, allocations: 19.31 kB / 422.9 MB, free: 20.84 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5972, allocations: 4.25 kB / 422.9 MB, free: 20.83 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.018e-05/0.5973, allocations: 0 / 422.9 MB, free: 20.83 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.5975, allocations: 15.97 kB / 422.9 MB, free: 20.83 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.5978, allocations: 98.83 kB / 423 MB, free: 20.72 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.5981, allocations: 0.6824 MB / 423.7 MB, free: 20.03 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.727e-05/0.5982, allocations: 3.844 kB / 423.7 MB, free: 20.03 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.69e-05/0.5982, allocations: 13.94 kB / 423.7 MB, free: 20.02 MB / 346.7 MB Notification: Performance of SimCode: time 7.51e-07/0.5982, allocations: 0 / 423.7 MB, free: 20.02 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02278/0.621, allocations: 1.02 MB / 424.7 MB, free: 19.8 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/0.6212, allocations: 165.1 kB / 424.9 MB, free: 19.58 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/2.952, allocations: 0 / 424.9 MB, free: 19.58 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat does not exist to compare? outputFormat=mat