Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Friction,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Rotational_Examples_Friction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.971/1.971, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.215e-05/3.226e-05, allocations: 12 kB / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1228, allocations: 44.5 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5069/0.6298, allocations: 76.01 MB / 376 MB, free: 12.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.6301, allocations: 68.89 kB / 376.1 MB, free: 12.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03478/0.6649, allocations: 7.446 MB / 383.5 MB, free: 11.65 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.665, allocations: 1.375 kB / 383.5 MB, free: 11.65 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.829e-05/0.665, allocations: 8.25 kB / 383.5 MB, free: 11.65 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.001968/0.667, allocations: 0.6893 MB / 384.2 MB, free: 11.19 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.667, allocations: 9.094 kB / 384.2 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002462/0.6673, allocations: 91.03 kB / 384.3 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.6675, allocations: 48.69 kB / 384.3 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005598/0.668, allocations: 314.7 kB / 384.7 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.835e-05/0.6681, allocations: 36.38 kB / 384.7 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.6683, allocations: 39.88 kB / 384.7 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.6694, allocations: 430.1 kB / 385.1 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.424e-05/0.6695, allocations: 5.25 kB / 385.2 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.222e-05/0.6696, allocations: 15.78 kB / 385.2 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.6696, allocations: 9.188 kB / 385.2 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.6708, allocations: 403.1 kB / 385.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003714/0.6746, allocations: 1.17 MB / 386.7 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.6758, allocations: 374.8 kB / 387.1 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006484/0.6765, allocations: 248.6 kB / 387.4 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.442e-05/0.6766, allocations: 13.95 kB / 387.4 MB, free: 10.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.6766, allocations: 38.88 kB / 387.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 3.336e-06/0.6766, allocations: 0 / 387.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=58): time 0.004608/0.6812, allocations: 1.645 MB / 389 MB, free: 9.762 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.6813, allocations: 55.84 kB / 389.1 MB, free: 9.699 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/0.6817, allocations: 231.5 kB / 389.3 MB, free: 9.598 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.674e-05/0.6818, allocations: 44.89 kB / 389.4 MB, free: 9.566 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.6819, allocations: 180.5 kB / 389.5 MB, free: 9.445 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.6821, allocations: 199.7 kB / 389.7 MB, free: 9.328 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-05/0.6821, allocations: 11.56 kB / 389.8 MB, free: 9.328 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.502e-05/0.6822, allocations: 355 kB / 390.1 MB, free: 9.012 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005291/0.6828, allocations: 197.6 kB / 390.3 MB, free: 9.008 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005866/0.6834, allocations: 242.5 kB / 390.5 MB, free: 8.984 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000448/0.6838, allocations: 164.8 kB / 390.7 MB, free: 8.973 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.6839, allocations: 2.906 kB / 390.7 MB, free: 8.973 MB / 314.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002305/0.6862, allocations: 0.6867 MB / 391.4 MB, free: 8.871 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.6862, allocations: 4.469 kB / 391.4 MB, free: 8.871 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/0.6863, allocations: 3.906 kB / 391.4 MB, free: 8.871 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/0.6874, allocations: 381 kB / 391.8 MB, free: 8.832 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006944/0.6881, allocations: 89.98 kB / 391.8 MB, free: 8.828 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.6897, allocations: 1.33 MB / 393.2 MB, free: 7.777 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.6908, allocations: 106 kB / 393.3 MB, free: 7.773 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.003e-05/0.6909, allocations: 22.47 kB / 393.3 MB, free: 7.773 MB / 314.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.0002103/0.6911, allocations: 138.4 kB / 393.4 MB, free: 7.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.6912, allocations: 46.89 kB / 393.5 MB, free: 7.633 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/0.6933, allocations: 0.6771 MB / 394.2 MB, free: 7.543 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.6934, allocations: 3.875 kB / 394.2 MB, free: 7.543 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.6934, allocations: 15.77 kB / 394.2 MB, free: 7.531 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.6934, allocations: 3.562 kB / 394.2 MB, free: 7.531 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00391/0.6973, allocations: 1.357 MB / 395.5 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.6974, allocations: 3.844 kB / 395.5 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007483/0.6981, allocations: 84.41 kB / 395.6 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/0.6992, allocations: 372.1 kB / 396 MB, free: 7.078 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/0.6994, allocations: 21.7 kB / 396 MB, free: 7.074 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.7007, allocations: 1.302 MB / 397.3 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.7007, allocations: 0 / 397.3 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002471/0.7032, allocations: 1.004 MB / 398.3 MB, free: 5.707 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005644/0.7038, allocations: 161.9 kB / 398.5 MB, free: 21.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.704, allocations: 18.28 kB / 398.5 MB, free: 21.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000818/0.7048, allocations: 82.08 kB / 398.6 MB, free: 21.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003273/0.7052, allocations: 117 kB / 398.7 MB, free: 21.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.277e-05/0.7053, allocations: 31.72 kB / 398.7 MB, free: 21.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002913/0.7056, allocations: 192 kB / 398.9 MB, free: 21.49 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7056, allocations: 0 / 398.9 MB, free: 21.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008007/0.7064, allocations: 130.2 kB / 399 MB, free: 21.49 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.003179/0.7096, allocations: 1.942 MB / 401 MB, free: 20.28 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001592/0.7112, allocations: 0.5602 MB / 401.5 MB, free: 20.2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.7113, allocations: 4.062 kB / 401.5 MB, free: 20.2 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008967/0.7122, allocations: 298.9 kB / 401.8 MB, free: 20.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007963/0.713, allocations: 57.95 kB / 401.9 MB, free: 20.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007135/0.7202, allocations: 1.432 MB / 403.3 MB, free: 19.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.7207, allocations: 0.8304 MB / 404.2 MB, free: 18.89 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002635/0.7209, allocations: 42.3 kB / 404.2 MB, free: 18.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.7212, allocations: 130 kB / 404.3 MB, free: 18.87 MB / 330.7 MB Notification: Performance of SimCode: time 1.362e-06/0.7212, allocations: 0 / 404.3 MB, free: 18.87 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04478/0.766, allocations: 11.9 MB / 416.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002735/0.7663, allocations: 179 kB / 416.4 MB, free: 14.3 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.11/3.876, allocations: 0 / 416.4 MB, free: 14.3 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.Friction_res.mat does not exist to compare? outputFormat=mat