Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Friction,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_Friction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.144/2.144, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.577e-05/3.587e-05, allocations: 4 kB / 269.4 MB, free: 6.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.104, allocations: 47.58 MB / 317 MB, free: 6.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.431/0.535, allocations: 80.41 MB / 397.4 MB, free: 7.293 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/0.5354, allocations: 70.53 kB / 397.5 MB, free: 7.258 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03645/0.5719, allocations: 7.662 MB / 405.2 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.572, allocations: 0 / 405.2 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.299e-05/0.572, allocations: 12 kB / 405.2 MB, free: 0.6445 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.002213/0.5742, allocations: 0.6894 MB / 405.9 MB, free: 15.94 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/0.5743, allocations: 12.03 kB / 405.9 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002684/0.5746, allocations: 94.55 kB / 406 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.5748, allocations: 51.44 kB / 406 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007101/0.5755, allocations: 307.7 kB / 406.3 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.858e-05/0.5756, allocations: 30 kB / 406.3 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.5757, allocations: 46.25 kB / 406.4 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.5769, allocations: 433.3 kB / 406.8 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.658e-05/0.577, allocations: 7.906 kB / 406.8 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-05/0.5771, allocations: 24.59 kB / 406.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/0.5771, allocations: 8 kB / 406.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.5783, allocations: 397.9 kB / 407.2 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003907/0.5823, allocations: 1.167 MB / 408.4 MB, free: 13.87 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.5835, allocations: 372.5 kB / 408.8 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006692/0.5842, allocations: 241.5 kB / 409 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.54e-05/0.5843, allocations: 12.42 kB / 409 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.5843, allocations: 38.89 kB / 409.1 MB, free: 13.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=52): time 3.536e-06/0.5844, allocations: 0 / 409.1 MB, free: 13.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=58): time 0.004908/0.5893, allocations: 1.641 MB / 410.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.5894, allocations: 59.97 kB / 410.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003971/0.5898, allocations: 230.2 kB / 411 MB, free: 11.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000126/0.5899, allocations: 40.95 kB / 411 MB, free: 11.72 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.5901, allocations: 191.6 kB / 411.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/0.5904, allocations: 195.6 kB / 411.4 MB, free: 11.4 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.553e-05/0.5904, allocations: 15.56 kB / 411.4 MB, free: 11.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.5906, allocations: 346.1 kB / 411.8 MB, free: 11.06 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005744/0.5912, allocations: 196.7 kB / 411.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006491/0.5919, allocations: 243 kB / 412.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004811/0.5924, allocations: 164.5 kB / 412.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5924, allocations: 4 kB / 412.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002436/0.5948, allocations: 0.678 MB / 413 MB, free: 10.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.5949, allocations: 11.94 kB / 413 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.74e-05/0.5949, allocations: 8.016 kB / 413 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.5962, allocations: 384.8 kB / 413.4 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007191/0.597, allocations: 91.7 kB / 413.5 MB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001776/0.5988, allocations: 1.316 MB / 414.8 MB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.5999, allocations: 107.8 kB / 414.9 MB, free: 8.414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.961e-05/0.6, allocations: 22.56 kB / 415 MB, free: 8.398 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 16 (clutch.free,$PRE.clutch.startForward,clutch.startForward,$PRE.clutch.startBackward,clutch.startBackward,clutch.locked,$PRE.clutch.mode,clutch.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002323/0.6002, allocations: 137.3 kB / 415.1 MB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.6004, allocations: 43.52 kB / 415.1 MB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/0.6026, allocations: 0.6902 MB / 415.8 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.6026, allocations: 4 kB / 415.8 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.6027, allocations: 0 / 415.8 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.6027, allocations: 3.984 kB / 415.8 MB, free: 7.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004459/0.6072, allocations: 1.381 MB / 417.2 MB, free: 6.562 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.6072, allocations: 0 / 417.2 MB, free: 6.562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000818/0.608, allocations: 87.33 kB / 417.3 MB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001139/0.6092, allocations: 368.9 kB / 417.7 MB, free: 6.191 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.938e-05/0.6093, allocations: 22.16 kB / 417.7 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001658/0.611, allocations: 1.295 MB / 419 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.02e-05/0.611, allocations: 4.031 kB / 419 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002812/0.6138, allocations: 1.004 MB / 420 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004061/0.6143, allocations: 164.3 kB / 420.1 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.6145, allocations: 17.5 kB / 420.2 MB, free: 3.953 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000844/0.6153, allocations: 81.8 kB / 420.2 MB, free: 3.883 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000351/0.6157, allocations: 117 kB / 420.4 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.533e-05/0.6158, allocations: 26.3 kB / 420.4 MB, free: 3.762 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003079/0.6161, allocations: 193 kB / 420.6 MB, free: 3.602 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.465e-06/0.6161, allocations: 0 / 420.6 MB, free: 3.602 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007976/0.6169, allocations: 137.1 kB / 420.7 MB, free: 3.484 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (clutch.phi_rel,clutch.w_rel,spring.phi_rel,spring.w_rel,inertia1.phi,inertia1.w) * Number of discrete variables: 10 (clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,clutch.free) * Number of discrete states: 6 (brake.mode,brake.startBackward,brake.startForward,clutch.mode,clutch.startForward,clutch.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 41 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003532/0.6205, allocations: 1.934 MB / 422.6 MB, free: 1.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001776/0.6223, allocations: 0.5563 MB / 423.2 MB, free: 1.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.6224, allocations: 0 / 423.2 MB, free: 1.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.6235, allocations: 305.2 kB / 423.5 MB, free: 1.133 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007922/0.6243, allocations: 58.42 kB / 423.5 MB, free: 1.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007075/0.6314, allocations: 1.439 MB / 425 MB, free: 15.71 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005452/0.632, allocations: 0.8405 MB / 425.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002847/0.6323, allocations: 39.22 kB / 425.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.6326, allocations: 128.8 kB / 426 MB, free: 14.77 MB / 346.7 MB Notification: Performance of SimCode: time 1.352e-06/0.6326, allocations: 0 / 426 MB, free: 14.77 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04935/0.682, allocations: 11.91 MB / 437.9 MB, free: 2.938 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003727/0.6824, allocations: 175.1 kB / 438.1 MB, free: 2.715 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.119/3.801, allocations: 0 / 438.1 MB, free: 2.715 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.Friction_res.mat does not exist to compare? outputFormat=mat