Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.Friction,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_Rotational_Examples_Friction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.748/1.748, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.129e-05/3.14e-05, allocations: 0 / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2555, allocations: 38.76 MB / 263.9 MB, free: 9.809 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1269/0.3825, allocations: 70.69 MB / 334.6 MB, free: 3.012 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.3828, allocations: 75.95 kB / 334.6 MB, free: 2.938 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.037/0.4198, allocations: 7.399 MB / 342 MB, free: 11.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.4199, allocations: 0 / 342 MB, free: 11.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.124e-05/0.4199, allocations: 8 kB / 342 MB, free: 11.51 MB / 298.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.002218/0.4221, allocations: 0.7012 MB / 342.7 MB, free: 10.76 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.4222, allocations: 12.03 kB / 342.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002486/0.4225, allocations: 79.47 kB / 342.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.4227, allocations: 55.34 kB / 342.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000664/0.4233, allocations: 310.2 kB / 343.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.858e-05/0.4234, allocations: 36.95 kB / 343.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.4235, allocations: 43.91 kB / 343.3 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.4248, allocations: 452.4 kB / 343.7 MB, free: 9.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.204e-05/0.4249, allocations: 4 kB / 343.7 MB, free: 9.727 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.983e-05/0.425, allocations: 20 kB / 343.7 MB, free: 9.707 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.425, allocations: 15.94 kB / 343.7 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.4263, allocations: 437.8 kB / 344.2 MB, free: 9.266 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003932/0.4302, allocations: 1.18 MB / 345.4 MB, free: 8.035 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.4315, allocations: 356 kB / 345.7 MB, free: 7.676 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007198/0.4322, allocations: 258.1 kB / 346 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-05/0.4323, allocations: 8.422 kB / 346 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.4323, allocations: 35 kB / 346 MB, free: 7.367 MB / 298.7 MB Notification: Performance of pre-optimization done (n=50): time 3.307e-06/0.4324, allocations: 0 / 346 MB, free: 7.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=56): time 0.005268/0.4376, allocations: 1.763 MB / 347.8 MB, free: 5.516 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.4377, allocations: 55.97 kB / 347.8 MB, free: 5.449 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004625/0.4382, allocations: 251.3 kB / 348.1 MB, free: 5.195 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.4384, allocations: 49.62 kB / 348.1 MB, free: 5.141 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001895/0.4386, allocations: 181.3 kB / 348.3 MB, free: 4.957 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000292/0.4389, allocations: 201.3 kB / 348.5 MB, free: 4.758 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.439, allocations: 12 kB / 348.5 MB, free: 4.746 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.4392, allocations: 346.8 kB / 348.8 MB, free: 4.398 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006614/0.4398, allocations: 217.5 kB / 349 MB, free: 4.184 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006918/0.4405, allocations: 272.6 kB / 349.3 MB, free: 3.914 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005595/0.4411, allocations: 182.1 kB / 349.5 MB, free: 3.734 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4411, allocations: 0 / 349.5 MB, free: 3.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00304/0.4442, allocations: 0.8489 MB / 350.3 MB, free: 2.871 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.4443, allocations: 4 kB / 350.3 MB, free: 2.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.4443, allocations: 3.984 kB / 350.3 MB, free: 2.863 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001584/0.4459, allocations: 0.513 MB / 350.9 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000774/0.4467, allocations: 99.83 kB / 351 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.4487, allocations: 1.382 MB / 352.3 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.4498, allocations: 100.1 kB / 352.4 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.84e-05/0.4499, allocations: 23.98 kB / 352.5 MB, free: 0.6914 MB / 298.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): 56 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002276/0.4501, allocations: 137.6 kB / 352.6 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.4503, allocations: 39.53 kB / 352.6 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000189/0.4505, allocations: 59.52 kB / 352.7 MB, free: 468 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.4505, allocations: 8 kB / 352.7 MB, free: 460 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.4505, allocations: 3.953 kB / 352.7 MB, free: 456 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.4506, allocations: 7.969 kB / 352.7 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004694/0.4553, allocations: 1.521 MB / 354.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.4553, allocations: 8.031 kB / 354.2 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007783/0.4561, allocations: 83.89 kB / 354.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/0.4575, allocations: 497.3 kB / 354.8 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.016e-05/0.4576, allocations: 27.97 kB / 354.8 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/0.4594, allocations: 1.354 MB / 356.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.4594, allocations: 4.031 kB / 356.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003041/0.4624, allocations: 1.128 MB / 357.3 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003878/0.4629, allocations: 168.6 kB / 357.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.463, allocations: 16 kB / 357.5 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008409/0.4639, allocations: 83.92 kB / 357.6 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003523/0.4643, allocations: 120.1 kB / 357.7 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.638e-05/0.4644, allocations: 28.09 kB / 357.7 MB, free: 11.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003214/0.4647, allocations: 199 kB / 357.9 MB, free: 11 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4647, allocations: 0 / 357.9 MB, free: 11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007427/0.4655, allocations: 135.9 kB / 358.1 MB, free: 10.86 MB / 314.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.003612/0.4691, allocations: 2.049 MB / 360.1 MB, free: 8.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001704/0.4708, allocations: 0.5289 MB / 360.6 MB, free: 8.219 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.4709, allocations: 0 / 360.6 MB, free: 8.219 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009983/0.4719, allocations: 309.5 kB / 360.9 MB, free: 7.918 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007669/0.4727, allocations: 59.41 kB / 361 MB, free: 7.863 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006652/0.4793, allocations: 1.455 MB / 362.4 MB, free: 6.348 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.4799, allocations: 0.8327 MB / 363.3 MB, free: 5.492 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003179/0.4802, allocations: 39.27 kB / 363.3 MB, free: 5.457 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/0.4806, allocations: 135.4 kB / 363.4 MB, free: 5.324 MB / 314.7 MB Notification: Performance of SimCode: time 1.312e-06/0.4806, allocations: 4 kB / 363.5 MB, free: 5.32 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.361/0.8416, allocations: 11.6 MB / 375.1 MB, free: 93.16 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002739/0.8419, allocations: 172.1 kB / 375.2 MB, free: 92.94 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.039/3.881, allocations: 0 / 375.2 MB, free: 92.94 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.Friction_res.mat does not exist to compare? outputFormat=mat