Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_SimpleControlledDrive_ClockedWith_AD_DA_Effects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.19/2.19, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.809e-05/5.823e-05, allocations: 6.188 kB / 284.4 MB, free: 8.113 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1424, allocations: 50.37 MB / 334.8 MB, free: 5.645 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4791/0.6216, allocations: 82.04 MB / 416.8 MB, free: 11.95 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/0.6219, allocations: 74.02 kB / 416.9 MB, free: 11.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03531/0.6572, allocations: 7.235 MB / 424.1 MB, free: 5.766 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.6573, allocations: 0 / 424.1 MB, free: 5.766 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.791e-05/0.6573, allocations: 16 kB / 424.2 MB, free: 5.75 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.001276/0.6586, allocations: 0.5767 MB / 424.7 MB, free: 5.152 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.6587, allocations: 8.031 kB / 424.7 MB, free: 5.145 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001065/0.6588, allocations: 64.41 kB / 424.8 MB, free: 5.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.6589, allocations: 40.22 kB / 424.8 MB, free: 5.051 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008827/0.6598, allocations: 352 kB / 425.2 MB, free: 4.703 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/0.6599, allocations: 19.25 kB / 425.2 MB, free: 4.691 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.09e-05/0.66, allocations: 29.78 kB / 425.2 MB, free: 4.672 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.6616, allocations: 0.6548 MB / 425.9 MB, free: 4.137 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.6616, allocations: 0 / 425.9 MB, free: 4.137 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.149e-05/0.6617, allocations: 22.86 kB / 425.9 MB, free: 4.125 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.6617, allocations: 4 kB / 425.9 MB, free: 4.121 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004529/0.6622, allocations: 151 kB / 426.1 MB, free: 4.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.6635, allocations: 0.7691 MB / 426.8 MB, free: 3.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.6647, allocations: 0.5355 MB / 427.4 MB, free: 2.758 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005158/0.6652, allocations: 225.3 kB / 427.6 MB, free: 2.594 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008667/0.6661, allocations: 0.5813 MB / 428.2 MB, free: 1.887 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/0.6662, allocations: 54.2 kB / 428.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of pre-optimization done (n=52): time 3.326e-06/0.6662, allocations: 0 / 428.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of matching and sorting (n=52): time 0.0009676/0.6671, allocations: 323.2 kB / 428.5 MB, free: 1.578 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/0.6673, allocations: 184.2 kB / 428.7 MB, free: 1.371 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.6677, allocations: 222.1 kB / 428.9 MB, free: 1.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/0.6677, allocations: 32.2 kB / 429 MB, free: 1.148 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.6679, allocations: 148.6 kB / 429.1 MB, free: 1.027 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.443e-05/0.668, allocations: 56.14 kB / 429.2 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/0.668, allocations: 9.812 kB / 429.2 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.6682, allocations: 347.4 kB / 429.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.6684, allocations: 71.86 kB / 429.6 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004915/0.6689, allocations: 404 kB / 430 MB, free: 80 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003829/0.6693, allocations: 138.8 kB / 430.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.073e-05/0.6693, allocations: 4 kB / 430.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001025/0.6703, allocations: 436 kB / 430.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.6704, allocations: 12 kB / 430.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.6704, allocations: 12 kB / 430.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.183e-05/0.6705, allocations: 16 kB / 430.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006873/0.6712, allocations: 127.2 kB / 430.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.398e-05/0.6712, allocations: 23.92 kB / 430.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004173/0.6716, allocations: 49.2 kB / 430.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.704e-05/0.6717, allocations: 27.81 kB / 430.8 MB, free: 15.35 MB / 362.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.0002378/0.6719, allocations: 170.2 kB / 431 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007671/0.6727, allocations: 301.7 kB / 431.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008328/0.6736, allocations: 310 kB / 431.6 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.6736, allocations: 8 kB / 431.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.6736, allocations: 0 / 431.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.6736, allocations: 7.984 kB / 431.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005714/0.6742, allocations: 335.1 kB / 431.9 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/0.6743, allocations: 4 kB / 431.9 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008195/0.6751, allocations: 106.7 kB / 432 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.391e-05/0.6751, allocations: 4 kB / 432 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/0.6752, allocations: 13.83 kB / 432 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.6752, allocations: 0 / 432 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.6752, allocations: 4 kB / 432 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.6765, allocations: 0.7015 MB / 432.7 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.6767, allocations: 116.5 kB / 432.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-05/0.6768, allocations: 18.61 kB / 432.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004544/0.6772, allocations: 27.73 kB / 432.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.6773, allocations: 15.86 kB / 432.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.676e-05/0.6774, allocations: 11.95 kB / 432.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002651/0.6777, allocations: 175.4 kB / 433.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6777, allocations: 0 / 433.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008049/0.6785, allocations: 73.81 kB / 433.2 MB, free: 13.3 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.001832/0.6803, allocations: 1.489 MB / 434.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008478/0.6812, allocations: 289 kB / 434.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.6812, allocations: 0 / 434.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.449e-05/0.6813, allocations: 19.25 kB / 435 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.6825, allocations: 264.1 kB / 435.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.6853, allocations: 0.6616 MB / 435.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004776/0.6858, allocations: 0.8159 MB / 436.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002155/0.6861, allocations: 39.27 kB / 436.7 MB, free: 9.992 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/0.6863, allocations: 110.7 kB / 436.8 MB, free: 9.953 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6863, allocations: 0 / 436.8 MB, free: 9.953 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03163/0.718, allocations: 7.025 MB / 443.9 MB, free: 3.004 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000491/0.7185, allocations: 194.2 kB / 444.1 MB, free: 2.773 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.908/3.626, allocations: 0 / 444.1 MB, free: 2.773 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects_res.mat does not exist to compare? outputFormat=mat