Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.105/2.105, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.416e-05/4.421e-05, allocations: 4 kB / 292.8 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.164, allocations: 50.42 MB / 343.2 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4701/0.6342, allocations: 76.22 MB / 419.4 MB, free: 1.887 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/0.6345, allocations: 76.59 kB / 419.5 MB, free: 1.844 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002836/0.6374, allocations: 0.7873 MB / 420.3 MB, free: 1.129 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6374, allocations: 0 / 420.3 MB, free: 1.129 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.6375, allocations: 0 / 420.3 MB, free: 1.129 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.000403/0.6379, allocations: 330.1 kB / 420.6 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.6379, allocations: 8.031 kB / 420.6 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.606e-05/0.638, allocations: 30.56 kB / 420.6 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.638, allocations: 11.86 kB / 420.6 MB, free: 0.707 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.6383, allocations: 170.6 kB / 420.8 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.6383, allocations: 8 kB / 420.8 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.6383, allocations: 3.688 kB / 420.8 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.6386, allocations: 100.4 kB / 420.9 MB, free: 408 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.6387, allocations: 0 / 420.9 MB, free: 408 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.6387, allocations: 0 / 420.9 MB, free: 408 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.6387, allocations: 3.953 kB / 420.9 MB, free: 404 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.083e-05/0.6388, allocations: 7.562 kB / 420.9 MB, free: 400 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.639, allocations: 161.2 kB / 421.1 MB, free: 192 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.6391, allocations: 40.7 kB / 421.1 MB, free: 152 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.392e-05/0.6392, allocations: 16.2 kB / 421.1 MB, free: 136 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.6392, allocations: 0 / 421.1 MB, free: 136 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.6392, allocations: 42.44 kB / 421.2 MB, free: 84 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.6393, allocations: 0 / 421.2 MB, free: 84 kB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001737/0.6394, allocations: 56.11 kB / 421.2 MB, free: 28 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.235e-05/0.6395, allocations: 51.41 kB / 421.3 MB, free: 15.96 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.602e-05/0.6396, allocations: 103.9 kB / 421.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.6397, allocations: 25.7 kB / 421.4 MB, free: 15.83 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.6397, allocations: 88.08 kB / 421.5 MB, free: 15.74 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.303e-05/0.6397, allocations: 0 / 421.5 MB, free: 15.74 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-06/0.6398, allocations: 0 / 421.5 MB, free: 15.74 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.6399, allocations: 314.7 kB / 421.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.6399, allocations: 4 kB / 421.8 MB, free: 15.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.531e-05/0.64, allocations: 35.48 kB / 421.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.187e-05/0.64, allocations: 15.69 kB / 421.8 MB, free: 15.37 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.6401, allocations: 0 / 421.8 MB, free: 15.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001204/0.6402, allocations: 57.53 kB / 421.9 MB, free: 15.31 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.6402, allocations: 8 kB / 421.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.6402, allocations: 0 / 421.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.6403, allocations: 3.938 kB / 421.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.953e-05/0.6403, allocations: 8 kB / 421.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.6404, allocations: 4 kB / 421.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.169e-05/0.6404, allocations: 4.281 kB / 421.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.6404, allocations: 7.953 kB / 421.9 MB, free: 15.28 MB / 346.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: 2 (step.counter,$CLKPRE.step.counter) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.182e-05/0.6405, allocations: 116.4 kB / 422.1 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.596e-05/0.6406, allocations: 49.09 kB / 422.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.6407, allocations: 11.84 kB / 422.1 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.6407, allocations: 3.984 kB / 422.1 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.6407, allocations: 0 / 422.1 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.6407, allocations: 4.078 kB / 422.1 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.6409, allocations: 156.8 kB / 422.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.6409, allocations: 0 / 422.3 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.641, allocations: 15.92 kB / 422.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.641, allocations: 0 / 422.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.641, allocations: 0 / 422.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.6411, allocations: 0 / 422.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6411, allocations: 8 kB / 422.3 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.6412, allocations: 80.73 kB / 422.4 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.6413, allocations: 81.11 kB / 422.5 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.6413, allocations: 0 / 422.5 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.956e-05/0.6414, allocations: 7.984 kB / 422.5 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-06/0.6414, allocations: 0 / 422.5 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.6414, allocations: 3.75 kB / 422.5 MB, free: 14.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.927e-05/0.6415, allocations: 83.28 kB / 422.5 MB, free: 14.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.6415, allocations: 4 kB / 422.6 MB, free: 14.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002574/0.6418, allocations: 6.938 kB / 422.6 MB, free: 14.59 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: 1 (step.counter) * 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.0005458/0.6423, allocations: 0.6263 MB / 423.2 MB, free: 13.94 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.6425, allocations: 23.81 kB / 423.2 MB, free: 13.92 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6425, allocations: 4.125 kB / 423.2 MB, free: 13.92 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.6425, allocations: 0 / 423.2 MB, free: 13.92 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.6428, allocations: 15.16 kB / 423.2 MB, free: 13.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/0.6432, allocations: 104.6 kB / 423.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.6435, allocations: 0.6848 MB / 424 MB, free: 13.06 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.781e-05/0.6435, allocations: 3.984 kB / 424 MB, free: 13.06 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.658e-05/0.6436, allocations: 14.44 kB / 424 MB, free: 13.05 MB / 346.7 MB Notification: Performance of SimCode: time 9.02e-07/0.6436, allocations: 4 kB / 424 MB, free: 13.05 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/0.6653, allocations: 1.12 MB / 425.2 MB, free: 11.99 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003075/0.6657, allocations: 177.2 kB / 425.3 MB, free: 11.76 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.247/2.913, allocations: 3.938 kB / 425.3 MB, free: 11.75 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat