Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Friction,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_Friction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.197/2.197, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.344e-05/3.354e-05, allocations: 4 kB / 292.2 MB, free: 8.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1069, allocations: 50.41 MB / 342.6 MB, free: 5.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4498/0.5568, allocations: 81.59 MB / 424.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.5571, allocations: 69.58 kB / 424.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03673/0.5939, allocations: 7.803 MB / 432.1 MB, free: 5.523 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5939, allocations: 0 / 432.1 MB, free: 5.523 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.275e-05/0.594, allocations: 12 kB / 432.1 MB, free: 5.512 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.002142/0.5961, allocations: 0.6884 MB / 432.8 MB, free: 4.805 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.5962, allocations: 12.02 kB / 432.8 MB, free: 4.793 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002254/0.5964, allocations: 84.69 kB / 432.9 MB, free: 4.727 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.5966, allocations: 47.44 kB / 432.9 MB, free: 4.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006335/0.5972, allocations: 314.9 kB / 433.3 MB, free: 4.359 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.988e-05/0.5973, allocations: 39.44 kB / 433.3 MB, free: 4.336 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.5974, allocations: 37.69 kB / 433.3 MB, free: 4.312 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.5986, allocations: 438.8 kB / 433.8 MB, free: 4.012 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.692e-05/0.5987, allocations: 7.859 kB / 433.8 MB, free: 4.004 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.667e-05/0.5988, allocations: 21.92 kB / 433.8 MB, free: 3.996 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.5988, allocations: 8 kB / 433.8 MB, free: 3.988 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.6, allocations: 396.8 kB / 434.2 MB, free: 3.723 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003855/0.6039, allocations: 1.155 MB / 435.3 MB, free: 2.754 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.6051, allocations: 375.8 kB / 435.7 MB, free: 2.504 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006762/0.6058, allocations: 239.8 kB / 435.9 MB, free: 2.355 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.459e-05/0.6059, allocations: 8.438 kB / 435.9 MB, free: 2.348 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.606, allocations: 38.25 kB / 436 MB, free: 2.301 MB / 346.7 MB Notification: Performance of pre-optimization done (n=52): time 3.717e-06/0.606, allocations: 4 kB / 436 MB, free: 2.297 MB / 346.7 MB Notification: Performance of matching and sorting (n=58): time 0.00494/0.611, allocations: 1.637 MB / 437.6 MB, free: 0.918 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.6111, allocations: 59.97 kB / 437.7 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004018/0.6115, allocations: 232.6 kB / 437.9 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001347/0.6116, allocations: 47.31 kB / 438 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001759/0.6118, allocations: 185.7 kB / 438.1 MB, free: 468 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.6121, allocations: 192.9 kB / 438.3 MB, free: 304 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.6122, allocations: 11.56 kB / 438.3 MB, free: 300 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.6124, allocations: 353.3 kB / 438.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006116/0.613, allocations: 199.4 kB / 438.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006285/0.6136, allocations: 240.3 kB / 439.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000503/0.6142, allocations: 169.2 kB / 439.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.6142, allocations: 0 / 439.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002491/0.6167, allocations: 0.6894 MB / 440 MB, free: 15.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.6168, allocations: 4 kB / 440 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/0.6168, allocations: 0 / 440 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001245/0.6181, allocations: 384.8 kB / 440.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007399/0.6188, allocations: 99.72 kB / 440.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.6212, allocations: 1.325 MB / 441.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.6226, allocations: 100.1 kB / 441.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/0.6228, allocations: 25.55 kB / 441.9 MB, free: 13.29 MB / 362.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.0003169/0.6231, allocations: 134.9 kB / 442 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.6234, allocations: 43.53 kB / 442.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003107/0.6265, allocations: 0.6848 MB / 442.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.6266, allocations: 4 kB / 442.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.6266, allocations: 8 kB / 442.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.6266, allocations: 3.984 kB / 442.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006015/0.6326, allocations: 1.355 MB / 444.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.9e-05/0.6327, allocations: 4 kB / 444.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.6339, allocations: 83.08 kB / 444.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00173/0.6356, allocations: 373.6 kB / 444.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/0.6358, allocations: 26.34 kB / 444.6 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002443/0.6383, allocations: 1.296 MB / 445.9 MB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-05/0.6383, allocations: 11.91 kB / 445.9 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003839/0.6422, allocations: 0.9964 MB / 446.9 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004692/0.6427, allocations: 166.4 kB / 447.1 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/0.6429, allocations: 19.12 kB / 447.1 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.644, allocations: 78.8 kB / 447.2 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004714/0.6445, allocations: 117.6 kB / 447.3 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/0.6447, allocations: 27.72 kB / 447.3 MB, free: 8.656 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004041/0.6451, allocations: 193.3 kB / 447.5 MB, free: 8.496 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.62e-07/0.6451, allocations: 0 / 447.5 MB, free: 8.496 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00114/0.6462, allocations: 136.7 kB / 447.6 MB, free: 8.379 MB / 362.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.004925/0.6512, allocations: 1.938 MB / 449.6 MB, free: 6.648 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002457/0.6537, allocations: 0.5564 MB / 450.1 MB, free: 6.234 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.6538, allocations: 4.062 kB / 450.1 MB, free: 6.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001424/0.6552, allocations: 297.6 kB / 450.4 MB, free: 6.031 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.6563, allocations: 57.2 kB / 450.5 MB, free: 5.992 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009454/0.6658, allocations: 1.445 MB / 451.9 MB, free: 4.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007505/0.6666, allocations: 0.8288 MB / 452.7 MB, free: 3.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004139/0.667, allocations: 35.28 kB / 452.8 MB, free: 3.695 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004383/0.6675, allocations: 131.4 kB / 452.9 MB, free: 3.57 MB / 362.7 MB Notification: Performance of SimCode: time 1.673e-06/0.6675, allocations: 4 kB / 452.9 MB, free: 3.566 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07713/0.7447, allocations: 11.91 MB / 464.8 MB, free: 7.77 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003165/0.745, allocations: 189.2 kB / 465 MB, free: 7.539 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.953/3.698, allocations: 3.938 kB / 465 MB, free: 7.535 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.Friction_res.mat does not exist to compare? outputFormat=mat