Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TickBasedRamp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.09/2.09, allocations: 225.8 MB / 239.3 MB, free: 1.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.748e-05/3.759e-05, allocations: 4 kB / 292.7 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1149, allocations: 50.41 MB / 343.2 MB, free: 8.98 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4846/0.5995, allocations: 75.99 MB / 419.2 MB, free: 7.922 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.5998, allocations: 69.55 kB / 419.2 MB, free: 7.922 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003197/0.6031, allocations: 0.8599 MB / 420.1 MB, free: 7.582 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6031, allocations: 0 / 420.1 MB, free: 7.582 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.6031, allocations: 0 / 420.1 MB, free: 7.582 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.0004353/0.6036, allocations: 342.4 kB / 420.4 MB, free: 7.242 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.6036, allocations: 7.688 kB / 420.4 MB, free: 7.242 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.574e-05/0.6037, allocations: 34.06 kB / 420.5 MB, free: 7.203 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.6037, allocations: 11.67 kB / 420.5 MB, free: 7.195 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.6039, allocations: 179.6 kB / 420.6 MB, free: 6.996 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.6039, allocations: 7.781 kB / 420.7 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.604, allocations: 4 kB / 420.7 MB, free: 6.988 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.6042, allocations: 104.2 kB / 420.8 MB, free: 6.938 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.6043, allocations: 0 / 420.8 MB, free: 6.938 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.6043, allocations: 0 / 420.8 MB, free: 6.938 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.6043, allocations: 3.953 kB / 420.8 MB, free: 6.934 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.925e-05/0.6044, allocations: 11.22 kB / 420.8 MB, free: 6.934 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001369/0.6045, allocations: 173.5 kB / 420.9 MB, free: 6.734 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.6047, allocations: 50.47 kB / 421 MB, free: 6.707 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.075e-05/0.6048, allocations: 23.45 kB / 421 MB, free: 6.699 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.6048, allocations: 0 / 421 MB, free: 6.699 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.6048, allocations: 30.56 kB / 421 MB, free: 6.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.6048, allocations: 0 / 421 MB, free: 6.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001732/0.605, allocations: 52.5 kB / 421.1 MB, free: 6.629 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.6051, allocations: 65.84 kB / 421.2 MB, free: 6.559 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.241e-05/0.6052, allocations: 104.7 kB / 421.3 MB, free: 6.461 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.6052, allocations: 25.7 kB / 421.3 MB, free: 6.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.628e-05/0.6052, allocations: 86.31 kB / 421.4 MB, free: 6.348 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.367e-05/0.6052, allocations: 0 / 421.4 MB, free: 6.348 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.6053, allocations: 3.875 kB / 421.4 MB, free: 6.348 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.066e-05/0.6053, allocations: 314.3 kB / 421.7 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.746e-05/0.6054, allocations: 7.781 kB / 421.7 MB, free: 6.031 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.274e-05/0.6054, allocations: 33.23 kB / 421.7 MB, free: 5.996 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.029e-05/0.6054, allocations: 10.72 kB / 421.7 MB, free: 5.996 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.6054, allocations: 0 / 421.7 MB, free: 5.996 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.573e-05/0.6056, allocations: 57.53 kB / 421.8 MB, free: 5.957 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.6056, allocations: 11.66 kB / 421.8 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.6056, allocations: 0 / 421.8 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.6056, allocations: 3.906 kB / 421.8 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.423e-05/0.6057, allocations: 7.906 kB / 421.8 MB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.6057, allocations: 3.594 kB / 421.8 MB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.995e-05/0.6058, allocations: 5.812 kB / 421.8 MB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.6058, allocations: 11.66 kB / 421.8 MB, free: 5.941 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: 2 (ramp.counter,$CLKPRE.ramp.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 5.764e-05/0.6058, allocations: 104.9 kB / 421.9 MB, free: 5.832 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.94e-05/0.606, allocations: 50.39 kB / 422 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.257e-05/0.606, allocations: 17.48 kB / 422 MB, free: 5.793 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.606, allocations: 0 / 422 MB, free: 5.793 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.606, allocations: 3.938 kB / 422 MB, free: 5.789 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.606, allocations: 0 / 422 MB, free: 5.789 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.116e-05/0.6061, allocations: 169 kB / 422.2 MB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.6061, allocations: 0 / 422.2 MB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.6063, allocations: 20.69 kB / 422.2 MB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.6063, allocations: 0 / 422.2 MB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.6064, allocations: 0 / 422.2 MB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.6064, allocations: 3.781 kB / 422.2 MB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.6064, allocations: 0 / 422.2 MB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.6065, allocations: 80.89 kB / 422.3 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.769e-05/0.6066, allocations: 86.97 kB / 422.4 MB, free: 5.422 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.6066, allocations: 7.906 kB / 422.4 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.6067, allocations: 6.609 kB / 422.4 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-06/0.6067, allocations: 0 / 422.4 MB, free: 5.418 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.6067, allocations: 3.844 kB / 422.4 MB, free: 5.418 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.677e-05/0.6068, allocations: 84.8 kB / 422.5 MB, free: 5.344 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6068, allocations: 0 / 422.5 MB, free: 5.344 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002552/0.6071, allocations: 11.72 kB / 422.5 MB, free: 5.34 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: 1 (ramp.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.0006267/0.6077, allocations: 0.6375 MB / 423.1 MB, free: 20.74 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001033/0.6078, allocations: 18.78 kB / 423.1 MB, free: 20.74 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.6079, allocations: 320 / 423.1 MB, free: 20.74 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.6079, allocations: 7.938 kB / 423.1 MB, free: 20.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.6082, allocations: 29.42 kB / 423.2 MB, free: 20.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004063/0.6086, allocations: 103.5 kB / 423.3 MB, free: 20.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.6089, allocations: 0.6908 MB / 424 MB, free: 19.92 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.575e-05/0.6089, allocations: 2.578 kB / 424 MB, free: 19.92 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.552e-05/0.609, allocations: 13.56 kB / 424 MB, free: 19.92 MB / 346.7 MB Notification: Performance of SimCode: time 7.41e-07/0.609, allocations: 3.844 kB / 424 MB, free: 19.92 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.6299, allocations: 1.233 MB / 425.2 MB, free: 19.69 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/0.6302, allocations: 172.2 kB / 425.4 MB, free: 19.47 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.345/2.975, allocations: 4 kB / 425.4 MB, free: 19.46 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat does not exist to compare? outputFormat=mat