Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_OneWayClutchDisengaged",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.247/2.247, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.702e-05/3.713e-05, allocations: 4 kB / 292.8 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1178, allocations: 50.41 MB / 343.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4466/0.5646, allocations: 79.26 MB / 422.4 MB, free: 14.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.5649, allocations: 71.52 kB / 422.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01863/0.5836, allocations: 3.981 MB / 426.5 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5836, allocations: 0 / 426.5 MB, free: 11.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.995e-05/0.5836, allocations: 4 kB / 426.5 MB, free: 11.15 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.00101/0.5847, allocations: 484.4 kB / 426.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.5847, allocations: 12.02 kB / 427 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.143e-05/0.5848, allocations: 58.55 kB / 427 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.366e-05/0.5849, allocations: 23.72 kB / 427 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.5853, allocations: 220.6 kB / 427.3 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.5853, allocations: 12.06 kB / 427.3 MB, free: 10.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.668e-05/0.5854, allocations: 18.88 kB / 427.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005183/0.5859, allocations: 205.4 kB / 427.5 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.586, allocations: 11.88 kB / 427.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.045e-05/0.586, allocations: 7.75 kB / 427.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.586, allocations: 8 kB / 427.5 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004197/0.5865, allocations: 137.5 kB / 427.6 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.5883, allocations: 0.7805 MB / 428.4 MB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005012/0.5888, allocations: 138.1 kB / 428.6 MB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.589, allocations: 62.36 kB / 428.6 MB, free: 9.145 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.554e-05/0.589, allocations: 7.984 kB / 428.6 MB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.5891, allocations: 38.38 kB / 428.7 MB, free: 9.094 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 3.186e-06/0.5891, allocations: 0 / 428.7 MB, free: 9.094 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.00212/0.5912, allocations: 0.8045 MB / 429.5 MB, free: 8.316 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.5913, allocations: 59.39 kB / 429.5 MB, free: 8.246 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.5916, allocations: 170.4 kB / 429.7 MB, free: 8.098 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.5916, allocations: 29.02 kB / 429.7 MB, free: 8.066 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.5918, allocations: 131.2 kB / 429.9 MB, free: 7.949 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.756e-05/0.5919, allocations: 79.27 kB / 429.9 MB, free: 7.883 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/0.5919, allocations: 3.75 kB / 429.9 MB, free: 7.883 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.5921, allocations: 329.6 kB / 430.3 MB, free: 7.559 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.5923, allocations: 66.25 kB / 430.3 MB, free: 7.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.5926, allocations: 113.3 kB / 430.4 MB, free: 7.422 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.5928, allocations: 62.77 kB / 430.5 MB, free: 7.383 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5928, allocations: 0 / 430.5 MB, free: 7.383 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006724/0.5935, allocations: 264 kB / 430.8 MB, free: 7.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.5935, allocations: 7.953 kB / 430.8 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.5935, allocations: 3.938 kB / 430.8 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003216/0.5939, allocations: 72.02 kB / 430.8 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003136/0.5942, allocations: 43.91 kB / 430.9 MB, free: 7.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007191/0.5949, allocations: 0.6004 MB / 431.5 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003495/0.5953, allocations: 30.48 kB / 431.5 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.533e-05/0.5954, allocations: 8 kB / 431.5 MB, free: 6.449 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: 6 ($PRE.oneWayClutch.startForward,oneWayClutch.startForward,oneWayClutch.locked,$PRE.oneWayClutch.stuck,oneWayClutch.stuck,oneWayClutch.free) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.5955, allocations: 124.6 kB / 431.6 MB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-05/0.5956, allocations: 27.7 kB / 431.7 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007921/0.5964, allocations: 256.3 kB / 431.9 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.5964, allocations: 3.953 kB / 431.9 MB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.5964, allocations: 4 kB / 431.9 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5964, allocations: 0 / 431.9 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.5977, allocations: 0.5993 MB / 432.5 MB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.5977, allocations: 4.094 kB / 432.5 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/0.5981, allocations: 35.92 kB / 432.6 MB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002711/0.5984, allocations: 62.62 kB / 432.6 MB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.5984, allocations: 4 kB / 432.6 MB, free: 5.434 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006381/0.5991, allocations: 0.6071 MB / 433.2 MB, free: 4.836 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5991, allocations: 0 / 433.2 MB, free: 4.836 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008788/0.6, allocations: 441.4 kB / 433.7 MB, free: 4.445 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.6001, allocations: 106.9 kB / 433.8 MB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.144e-05/0.6002, allocations: 3.562 kB / 433.8 MB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.6006, allocations: 35.3 kB / 433.8 MB, free: 4.297 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.6007, allocations: 35.52 kB / 433.8 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.6007, allocations: 4 kB / 433.8 MB, free: 4.262 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001843/0.6009, allocations: 136.6 kB / 434 MB, free: 4.148 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6009, allocations: 0 / 434 MB, free: 4.148 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005222/0.6015, allocations: 70.61 kB / 434 MB, free: 4.086 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertiaOut.w,oneWayClutch.phi_rel,oneWayClutch.w_rel,torqueLoad.phi) * Number of discrete variables: 3 (oneWayClutch.startForward,oneWayClutch.locked,oneWayClutch.stuck) * Number of discrete states: 2 (oneWayClutch.stuck,oneWayClutch.startForward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001612/0.6031, allocations: 1.197 MB / 435.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006918/0.6038, allocations: 217.7 kB / 435.5 MB, free: 2.758 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.6038, allocations: 0 / 435.5 MB, free: 2.758 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003635/0.6042, allocations: 100.3 kB / 435.6 MB, free: 2.684 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.6047, allocations: 32.25 kB / 435.6 MB, free: 2.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.6067, allocations: 0.6256 MB / 436.2 MB, free: 2.031 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/0.6071, allocations: 0.7446 MB / 437 MB, free: 1.262 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001318/0.6072, allocations: 22.06 kB / 437 MB, free: 1.234 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.6074, allocations: 58.86 kB / 437 MB, free: 1.211 MB / 346.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6074, allocations: 0 / 437 MB, free: 1.211 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03766/0.6451, allocations: 4.785 MB / 441.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003342/0.6455, allocations: 193 kB / 442 MB, free: 12.32 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.721/3.366, allocations: 0 / 442 MB, free: 12.32 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat does not exist to compare? outputFormat=mat