Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_OneWayClutchDisengaged",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.137/2.137, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.064e-05/4.073e-05, allocations: 10.81 kB / 292.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.113, allocations: 50.4 MB / 342.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4758/0.5888, allocations: 79.26 MB / 421.9 MB, free: 14.6 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.5891, allocations: 70.97 kB / 422 MB, free: 14.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02019/0.6093, allocations: 3.973 MB / 425.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.6094, allocations: 4 kB / 425.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.229e-05/0.6094, allocations: 4 kB / 426 MB, free: 11.17 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.001038/0.6105, allocations: 479.7 kB / 426.4 MB, free: 10.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.6106, allocations: 8.031 kB / 426.4 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.475e-05/0.6107, allocations: 58.8 kB / 426.5 MB, free: 10.6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.191e-05/0.6108, allocations: 23.72 kB / 426.5 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.6112, allocations: 221.7 kB / 426.7 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/0.6113, allocations: 18.75 kB / 426.7 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.99e-05/0.6113, allocations: 22.19 kB / 426.8 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005447/0.6119, allocations: 208.5 kB / 427 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.6119, allocations: 11.45 kB / 427 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.612, allocations: 2.625 kB / 427 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.612, allocations: 8 kB / 427 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004161/0.6124, allocations: 147.2 kB / 427.1 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.6143, allocations: 0.7729 MB / 427.9 MB, free: 9.312 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004864/0.6148, allocations: 136.3 kB / 428 MB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.615, allocations: 68.03 kB / 428.1 MB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.306e-05/0.6151, allocations: 8 kB / 428.1 MB, free: 9.152 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.6151, allocations: 34.44 kB / 428.1 MB, free: 9.113 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 2.875e-06/0.6151, allocations: 0 / 428.1 MB, free: 9.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.002093/0.6172, allocations: 0.8093 MB / 429 MB, free: 8.332 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.6173, allocations: 55.41 kB / 429 MB, free: 8.266 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.6176, allocations: 165.8 kB / 429.2 MB, free: 8.121 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.6176, allocations: 29.58 kB / 429.2 MB, free: 8.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.6178, allocations: 138 kB / 429.3 MB, free: 7.969 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.577e-05/0.6179, allocations: 81.08 kB / 429.4 MB, free: 7.898 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.907e-05/0.6179, allocations: 3.5 kB / 429.4 MB, free: 7.898 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.6181, allocations: 326.5 kB / 429.7 MB, free: 7.578 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.6183, allocations: 72.17 kB / 429.8 MB, free: 7.531 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.6185, allocations: 106.7 kB / 429.9 MB, free: 7.441 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.6187, allocations: 73.58 kB / 430 MB, free: 7.395 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.6187, allocations: 0 / 430 MB, free: 7.395 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007468/0.6195, allocations: 266.5 kB / 430.2 MB, free: 7.188 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.6195, allocations: 7.953 kB / 430.3 MB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.6196, allocations: 0 / 430.3 MB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003509/0.6199, allocations: 65.44 kB / 430.3 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.6203, allocations: 43.86 kB / 430.4 MB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006832/0.621, allocations: 0.6023 MB / 431 MB, free: 6.496 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003759/0.6213, allocations: 27.84 kB / 431 MB, free: 6.473 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.034e-05/0.6214, allocations: 11.62 kB / 431 MB, free: 6.465 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.000138/0.6216, allocations: 121.6 kB / 431.1 MB, free: 6.348 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.42e-05/0.6217, allocations: 23.72 kB / 431.1 MB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008142/0.6225, allocations: 253.5 kB / 431.4 MB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.6225, allocations: 3.953 kB / 431.4 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.6225, allocations: 0 / 431.4 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.6225, allocations: 3.984 kB / 431.4 MB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.6239, allocations: 0.6045 MB / 432 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.6239, allocations: 0 / 432 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003699/0.6243, allocations: 35.91 kB / 432 MB, free: 5.508 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002941/0.6246, allocations: 61.95 kB / 432.1 MB, free: 5.461 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/0.6247, allocations: 7.375 kB / 432.1 MB, free: 5.457 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006506/0.6253, allocations: 0.5991 MB / 432.7 MB, free: 4.867 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.6254, allocations: 4.031 kB / 432.7 MB, free: 4.863 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009081/0.6263, allocations: 444.7 kB / 433.1 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.6265, allocations: 112.1 kB / 433.3 MB, free: 4.348 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.356e-05/0.6265, allocations: 3.688 kB / 433.3 MB, free: 4.348 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003864/0.6269, allocations: 35.12 kB / 433.3 MB, free: 4.316 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.6271, allocations: 27.14 kB / 433.3 MB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/0.6271, allocations: 15.98 kB / 433.3 MB, free: 4.277 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001914/0.6273, allocations: 139.6 kB / 433.5 MB, free: 4.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6273, allocations: 0 / 433.5 MB, free: 4.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005278/0.6278, allocations: 66.5 kB / 433.5 MB, free: 4.102 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.00147/0.6293, allocations: 1.204 MB / 434.7 MB, free: 2.934 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007314/0.6301, allocations: 213.7 kB / 434.9 MB, free: 2.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.6301, allocations: 3.938 kB / 434.9 MB, free: 2.766 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000351/0.6305, allocations: 98.03 kB / 435 MB, free: 2.691 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005093/0.631, allocations: 30.3 kB / 435.1 MB, free: 2.672 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.6333, allocations: 0.6162 MB / 435.7 MB, free: 2.051 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.6337, allocations: 0.7484 MB / 436.4 MB, free: 1.277 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001538/0.6339, allocations: 18.06 kB / 436.5 MB, free: 1.254 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.634, allocations: 55.73 kB / 436.5 MB, free: 1.234 MB / 346.7 MB Notification: Performance of SimCode: time 1.313e-06/0.634, allocations: 4 kB / 436.5 MB, free: 1.23 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03175/0.6658, allocations: 4.794 MB / 441.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003553/0.6662, allocations: 193.5 kB / 441.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.681/3.347, allocations: 8 kB / 441.5 MB, free: 12.33 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat does not exist to compare? outputFormat=mat