Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.06/2.06, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.39e-05/3.398e-05, allocations: 0 / 292.7 MB, free: 8.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1153, allocations: 50.42 MB / 343.2 MB, free: 5.844 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4434/0.5588, allocations: 80.99 MB / 424.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.5591, allocations: 77.08 kB / 424.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0359/0.595, allocations: 7.445 MB / 431.7 MB, free: 6.547 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5951, allocations: 0 / 431.7 MB, free: 6.547 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.799e-05/0.5951, allocations: 8 kB / 431.7 MB, free: 6.539 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001283/0.5964, allocations: 0.5702 MB / 432.2 MB, free: 5.949 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.5965, allocations: 12.03 kB / 432.3 MB, free: 5.938 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001101/0.5966, allocations: 62.28 kB / 432.3 MB, free: 5.883 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.5967, allocations: 39.53 kB / 432.4 MB, free: 5.844 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008995/0.5977, allocations: 353.9 kB / 432.7 MB, free: 5.496 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.011e-05/0.5977, allocations: 20.31 kB / 432.7 MB, free: 5.484 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.181e-05/0.5978, allocations: 29.62 kB / 432.7 MB, free: 5.465 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.5994, allocations: 0.6523 MB / 433.4 MB, free: 4.926 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/0.5995, allocations: 4 kB / 433.4 MB, free: 4.922 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.921e-05/0.5995, allocations: 8.125 kB / 433.4 MB, free: 4.922 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.5995, allocations: 8 kB / 433.4 MB, free: 4.914 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004562/0.6, allocations: 153 kB / 433.6 MB, free: 4.812 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.6014, allocations: 0.7702 MB / 434.3 MB, free: 4.062 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/0.6027, allocations: 0.5385 MB / 434.9 MB, free: 3.547 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000495/0.6032, allocations: 223.2 kB / 435.1 MB, free: 3.383 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008481/0.6041, allocations: 0.5852 MB / 435.7 MB, free: 2.672 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/0.6041, allocations: 46.39 kB / 435.7 MB, free: 2.621 MB / 346.7 MB Notification: Performance of pre-optimization done (n=52): time 3.787e-06/0.6042, allocations: 3.938 kB / 435.7 MB, free: 2.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=52): time 0.0009501/0.6051, allocations: 326.1 kB / 436 MB, free: 2.363 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.6053, allocations: 184.9 kB / 436.2 MB, free: 2.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003357/0.6056, allocations: 211.2 kB / 436.4 MB, free: 1.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.396e-05/0.6057, allocations: 36.52 kB / 436.5 MB, free: 1.945 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.6058, allocations: 150.5 kB / 436.6 MB, free: 1.824 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.343e-05/0.6059, allocations: 61.2 kB / 436.7 MB, free: 1.777 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.606, allocations: 10.12 kB / 436.7 MB, free: 1.773 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.6061, allocations: 345.6 kB / 437 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.6063, allocations: 72.56 kB / 437.1 MB, free: 1.395 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004615/0.6068, allocations: 397.9 kB / 437.5 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/0.6071, allocations: 147.5 kB / 437.6 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.6071, allocations: 4 kB / 437.6 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00128/0.6084, allocations: 431.5 kB / 438.1 MB, free: 404 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/0.6085, allocations: 8 kB / 438.1 MB, free: 396 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.058e-05/0.6086, allocations: 12 kB / 438.1 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.572e-05/0.6086, allocations: 20.7 kB / 438.1 MB, free: 364 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000979/0.6096, allocations: 123.6 kB / 438.2 MB, free: 244 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-05/0.6097, allocations: 27.86 kB / 438.2 MB, free: 216 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000718/0.6105, allocations: 55.27 kB / 438.3 MB, free: 168 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.6106, allocations: 34.88 kB / 438.3 MB, free: 140 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.sample1.noise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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 0.0003072/0.6109, allocations: 149.2 kB / 438.5 MB, free: 4 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/0.6119, allocations: 295.9 kB / 438.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000852/0.6128, allocations: 312.5 kB / 439.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.6129, allocations: 11.97 kB / 439.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.6129, allocations: 3.984 kB / 439.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.6129, allocations: 3.984 kB / 439.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006237/0.6135, allocations: 334.2 kB / 439.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.6136, allocations: 7.938 kB / 439.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008329/0.6144, allocations: 103.5 kB / 439.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/0.6144, allocations: 8 kB / 439.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/0.6145, allocations: 7.625 kB / 439.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.818e-06/0.6145, allocations: 4 kB / 439.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.6145, allocations: 3.953 kB / 439.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.6159, allocations: 0.7186 MB / 440.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.616, allocations: 112.6 kB / 440.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.348e-05/0.6161, allocations: 11.25 kB / 440.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004239/0.6166, allocations: 30.72 kB / 440.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.6166, allocations: 0 / 440.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.591e-05/0.6167, allocations: 15.5 kB / 440.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000252/0.6169, allocations: 178.9 kB / 440.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.617, allocations: 0 / 440.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007971/0.6178, allocations: 86.16 kB / 440.7 MB, free: 14.1 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (load.phi,load.w) * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001797/0.6196, allocations: 1.484 MB / 442.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007674/0.6204, allocations: 292.9 kB / 442.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.6204, allocations: 0 / 442.5 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.033e-05/0.6205, allocations: 19.3 kB / 442.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.6217, allocations: 254.8 kB / 442.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/0.6244, allocations: 0.668 MB / 443.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/0.6248, allocations: 0.8162 MB / 444.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002046/0.6251, allocations: 43.25 kB / 444.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.6253, allocations: 109.3 kB / 444.4 MB, free: 10.76 MB / 362.7 MB Notification: Performance of SimCode: time 1.823e-06/0.6253, allocations: 4 kB / 444.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03335/0.6587, allocations: 7.01 MB / 451.4 MB, free: 3.867 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003256/0.6591, allocations: 180.8 kB / 451.6 MB, free: 3.641 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.769/3.428, allocations: 0 / 451.6 MB, free: 3.641 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat does not exist to compare? outputFormat=mat