Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.557/2.557, allocations: 270 MB / 283.6 MB, free: 3.137 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.925e-05/3.931e-05, allocations: 0 / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1452, allocations: 61.89 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5422/0.6874, allocations: 89.31 MB / 499.7 MB, free: 14.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003877/0.6879, allocations: 71.95 kB / 499.7 MB, free: 14.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0302/0.7181, allocations: 4.631 MB / 0.4925 GB, free: 9.984 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.7182, allocations: 0 / 0.4925 GB, free: 9.984 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.434e-05/0.7182, allocations: 4 kB / 0.4925 GB, free: 9.98 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001558/0.7198, allocations: 0.5165 MB / 0.4931 GB, free: 9.422 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/0.7199, allocations: 8.031 kB / 0.4931 GB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001298/0.72, allocations: 54.55 kB / 0.4931 GB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.7202, allocations: 23.72 kB / 0.4931 GB, free: 9.328 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005063/0.7207, allocations: 250.5 kB / 0.4934 GB, free: 9.043 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.15e-05/0.7207, allocations: 20.44 kB / 0.4934 GB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.7209, allocations: 20 kB / 0.4934 GB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009572/0.7218, allocations: 238.4 kB / 0.4936 GB, free: 8.762 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.7219, allocations: 0 / 0.4936 GB, free: 8.762 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.179e-05/0.722, allocations: 12 kB / 0.4937 GB, free: 8.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.722, allocations: 4 kB / 0.4937 GB, free: 8.746 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008909/0.7229, allocations: 196.8 kB / 0.4938 GB, free: 8.555 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002911/0.7258, allocations: 0.7092 MB / 0.4945 GB, free: 7.789 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008889/0.7268, allocations: 207 kB / 0.4947 GB, free: 7.578 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005331/0.7273, allocations: 133.3 kB / 0.4949 GB, free: 7.445 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.077e-05/0.7274, allocations: 4.234 kB / 0.4949 GB, free: 7.441 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/0.7275, allocations: 38.8 kB / 0.4949 GB, free: 7.395 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 4.929e-06/0.7275, allocations: 3.938 kB / 0.4949 GB, free: 7.391 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.004736/0.7322, allocations: 1.15 MB / 0.496 GB, free: 6.148 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.7324, allocations: 59.34 kB / 0.4961 GB, free: 6.078 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003266/0.7327, allocations: 162.8 kB / 0.4962 GB, free: 5.914 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.791e-05/0.7328, allocations: 37.7 kB / 0.4963 GB, free: 5.871 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.733, allocations: 136.6 kB / 0.4964 GB, free: 5.734 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/0.7332, allocations: 110.4 kB / 0.4965 GB, free: 5.625 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.7332, allocations: 12 kB / 0.4965 GB, free: 5.613 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.7335, allocations: 330.8 kB / 0.4968 GB, free: 5.281 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004685/0.7339, allocations: 104 kB / 0.4969 GB, free: 5.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005414/0.7345, allocations: 147.3 kB / 0.4971 GB, free: 5.023 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004155/0.7349, allocations: 93.02 kB / 0.4972 GB, free: 4.934 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.735, allocations: 4 kB / 0.4972 GB, free: 4.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001668/0.7366, allocations: 393.8 kB / 0.4975 GB, free: 4.535 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.7367, allocations: 4 kB / 0.4975 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/0.7367, allocations: 0 / 0.4975 GB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.7378, allocations: 196.8 kB / 0.4977 GB, free: 4.336 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006127/0.7384, allocations: 55.91 kB / 0.4978 GB, free: 4.281 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.7399, allocations: 0.7045 MB / 0.4985 GB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007252/0.7406, allocations: 56 kB / 0.4985 GB, free: 3.496 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.663e-05/0.7407, allocations: 16 kB / 0.4985 GB, free: 3.48 MB / 410.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: 8 ($PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode,bearingFriction1.free) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.000231/0.741, allocations: 117.2 kB / 0.4987 GB, free: 3.363 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.7411, allocations: 23.72 kB / 0.4987 GB, free: 3.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002022/0.7432, allocations: 429.1 kB / 0.4991 GB, free: 2.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.7432, allocations: 4 kB / 0.4991 GB, free: 2.906 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.7432, allocations: 3.953 kB / 0.4991 GB, free: 2.902 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.7433, allocations: 3.984 kB / 0.4991 GB, free: 2.898 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003214/0.7465, allocations: 0.9171 MB / 0.5 GB, free: 1.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/0.7465, allocations: 8.062 kB / 0.5 GB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006065/0.7472, allocations: 59.91 kB / 0.5001 GB, free: 1.844 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00084/0.748, allocations: 160.7 kB / 0.5002 GB, free: 1.684 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.547e-05/0.7481, allocations: 15.98 kB / 0.5002 GB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/0.7494, allocations: 0.6772 MB / 0.5009 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/0.7495, allocations: 3.938 kB / 0.5009 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/0.7518, allocations: 0.6161 MB / 0.5015 GB, free: 316 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/0.7522, allocations: 124.9 kB / 0.5016 GB, free: 172 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.7523, allocations: 15.98 kB / 0.5016 GB, free: 156 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007122/0.753, allocations: 48.03 kB / 0.5017 GB, free: 108 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002561/0.7533, allocations: 59.83 kB / 0.5017 GB, free: 48 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.919e-05/0.7534, allocations: 15.98 kB / 0.5018 GB, free: 32 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002769/0.7537, allocations: 139.4 kB / 0.5019 GB, free: 15.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.7537, allocations: 4 kB / 0.5019 GB, free: 15.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009032/0.7546, allocations: 76 kB / 0.502 GB, free: 15.81 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.003159/0.7578, allocations: 1.328 MB / 0.5033 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.7593, allocations: 305.6 kB / 0.5035 GB, free: 14.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.7593, allocations: 4 kB / 0.5036 GB, free: 14.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007111/0.7601, allocations: 152.7 kB / 0.5037 GB, free: 13.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006454/0.7607, allocations: 32.06 kB / 0.5037 GB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004584/0.7653, allocations: 0.7387 MB / 0.5044 GB, free: 13.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005505/0.7659, allocations: 0.7644 MB / 0.5052 GB, free: 12.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001982/0.7661, allocations: 18.06 kB / 0.5052 GB, free: 12.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002332/0.7664, allocations: 67.41 kB / 0.5053 GB, free: 12.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.413e-06/0.7664, allocations: 0 / 0.5053 GB, free: 12.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04012/0.8065, allocations: 6.536 MB / 0.5117 GB, free: 5.863 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003042/0.8069, allocations: 184.5 kB / 0.5118 GB, free: 5.641 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.696/3.503, allocations: 0 / 0.5118 GB, free: 5.641 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat does not exist to compare? outputFormat=mat