Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_OneWayClutchDisengaged",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.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.725e-05/3.728e-05, allocations: 4 kB / 269.4 MB, free: 6.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.113, allocations: 47.57 MB / 317 MB, free: 6.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4905/0.6037, allocations: 78.14 MB / 395.2 MB, free: 9.914 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.604, allocations: 67.47 kB / 395.2 MB, free: 9.883 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01789/0.6219, allocations: 3.908 MB / 399.1 MB, free: 6.551 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.622, allocations: 0 / 399.1 MB, free: 6.551 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.276e-05/0.622, allocations: 4 kB / 399.1 MB, free: 6.547 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001026/0.623, allocations: 475.4 kB / 399.6 MB, free: 6.047 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.6231, allocations: 15.97 kB / 399.6 MB, free: 6.031 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.018e-05/0.6232, allocations: 55.8 kB / 399.7 MB, free: 5.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.066e-05/0.6233, allocations: 23.72 kB / 399.7 MB, free: 5.957 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.6236, allocations: 228.4 kB / 399.9 MB, free: 5.703 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.6237, allocations: 15.75 kB / 399.9 MB, free: 5.695 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.685e-05/0.6238, allocations: 19.19 kB / 399.9 MB, free: 5.684 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005287/0.6243, allocations: 201.5 kB / 400.1 MB, free: 5.527 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.6243, allocations: 7.891 kB / 400.2 MB, free: 5.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.6244, allocations: 10.25 kB / 400.2 MB, free: 5.516 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.6244, allocations: 8 kB / 400.2 MB, free: 5.508 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000414/0.6248, allocations: 134.7 kB / 400.3 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.6266, allocations: 0.7836 MB / 401.1 MB, free: 4.688 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004875/0.6271, allocations: 138.2 kB / 401.2 MB, free: 4.582 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.6273, allocations: 64.92 kB / 401.3 MB, free: 4.539 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.324e-05/0.6273, allocations: 4 kB / 401.3 MB, free: 4.535 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.6274, allocations: 34.5 kB / 401.3 MB, free: 4.492 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 3.216e-06/0.6274, allocations: 0 / 401.3 MB, free: 4.492 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.002021/0.6294, allocations: 0.8197 MB / 402.1 MB, free: 3.703 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.6295, allocations: 51.41 kB / 402.2 MB, free: 3.641 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.6297, allocations: 172.9 kB / 402.4 MB, free: 3.488 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.6298, allocations: 29.2 kB / 402.4 MB, free: 3.457 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.6299, allocations: 138.1 kB / 402.5 MB, free: 3.332 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.944e-05/0.63, allocations: 76.55 kB / 402.6 MB, free: 3.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/0.63, allocations: 3.938 kB / 402.6 MB, free: 3.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.6302, allocations: 338.3 kB / 402.9 MB, free: 2.938 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.6304, allocations: 60.41 kB / 403 MB, free: 2.902 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.6307, allocations: 109.1 kB / 403.1 MB, free: 2.809 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.6309, allocations: 74.75 kB / 403.2 MB, free: 2.758 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6309, allocations: 0 / 403.2 MB, free: 2.758 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006729/0.6316, allocations: 264 kB / 403.4 MB, free: 2.555 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.6316, allocations: 4 kB / 403.4 MB, free: 2.551 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.6317, allocations: 4 kB / 403.4 MB, free: 2.547 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003253/0.632, allocations: 59.62 kB / 403.5 MB, free: 2.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.6323, allocations: 42.73 kB / 403.5 MB, free: 2.461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006707/0.633, allocations: 0.6115 MB / 404.1 MB, free: 1.859 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003534/0.6334, allocations: 31.16 kB / 404.2 MB, free: 1.832 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/0.6334, allocations: 11.56 kB / 404.2 MB, free: 1.824 MB / 314.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.0001329/0.6336, allocations: 124.1 kB / 404.3 MB, free: 1.703 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.6336, allocations: 15.81 kB / 404.3 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007844/0.6344, allocations: 252.6 kB / 404.6 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.6345, allocations: 11.97 kB / 404.6 MB, free: 1.484 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.6345, allocations: 8 kB / 404.6 MB, free: 1.477 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.6345, allocations: 0 / 404.6 MB, free: 1.477 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.6357, allocations: 0.5948 MB / 405.2 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.6358, allocations: 0 / 405.2 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.6361, allocations: 39.08 kB / 405.2 MB, free: 0.875 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000263/0.6364, allocations: 65.16 kB / 405.3 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.994e-05/0.6364, allocations: 7.984 kB / 405.3 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006255/0.6371, allocations: 0.5992 MB / 405.9 MB, free: 232 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6371, allocations: 0 / 405.9 MB, free: 232 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009078/0.638, allocations: 455.8 kB / 406.3 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.6382, allocations: 112.6 kB / 406.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.384e-05/0.6383, allocations: 4 kB / 406.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/0.6386, allocations: 27.72 kB / 406.5 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.6388, allocations: 31.73 kB / 406.5 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.6388, allocations: 4 kB / 406.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001867/0.639, allocations: 149.2 kB / 406.7 MB, free: 15.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.639, allocations: 0 / 406.7 MB, free: 15.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000518/0.6395, allocations: 71.81 kB / 406.7 MB, free: 15.45 MB / 330.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.001397/0.6409, allocations: 1.199 MB / 407.9 MB, free: 14.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006707/0.6416, allocations: 203.8 kB / 408.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6417, allocations: 0 / 408.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003431/0.642, allocations: 99.41 kB / 408.2 MB, free: 14.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.6425, allocations: 27.55 kB / 408.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.6446, allocations: 0.6301 MB / 408.9 MB, free: 13.4 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.645, allocations: 0.7441 MB / 409.6 MB, free: 12.63 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001361/0.6452, allocations: 26.06 kB / 409.7 MB, free: 12.61 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.6453, allocations: 56.23 kB / 409.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.6453, allocations: 0 / 409.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0381/0.6834, allocations: 4.793 MB / 414.5 MB, free: 7.871 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003169/0.6838, allocations: 197.9 kB / 414.7 MB, free: 7.641 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.773/3.456, allocations: 0 / 414.7 MB, free: 7.641 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.OneWayClutchDisengaged_res.mat does not exist to compare? outputFormat=mat