Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.202/2.202, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.853e-05/4.862e-05, allocations: 5.547 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1207, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4633/0.5841, allocations: 76.79 MB / 398.7 MB, free: 12.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/0.5844, allocations: 71.91 kB / 398.7 MB, free: 12.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02221/0.6067, allocations: 4.323 MB / 403.1 MB, free: 8.438 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.6067, allocations: 0 / 403.1 MB, free: 8.438 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.886e-05/0.6068, allocations: 7.984 kB / 403.1 MB, free: 8.43 MB / 330.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.001475/0.6083, allocations: 0.5138 MB / 403.6 MB, free: 7.871 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.199e-05/0.6084, allocations: 12.03 kB / 403.6 MB, free: 7.859 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001414/0.6085, allocations: 58.53 kB / 403.7 MB, free: 7.793 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.6086, allocations: 27.67 kB / 403.7 MB, free: 7.766 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004629/0.6091, allocations: 239.4 kB / 403.9 MB, free: 7.488 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/0.6092, allocations: 16.44 kB / 403.9 MB, free: 7.473 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.629e-05/0.6093, allocations: 27.98 kB / 404 MB, free: 7.445 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007415/0.61, allocations: 254.3 kB / 404.2 MB, free: 7.191 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/0.6101, allocations: 3.906 kB / 404.2 MB, free: 7.188 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.384e-05/0.6101, allocations: 8 kB / 404.2 MB, free: 7.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.6101, allocations: 4 kB / 404.2 MB, free: 7.176 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006665/0.6108, allocations: 216.8 kB / 404.4 MB, free: 6.965 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00232/0.6132, allocations: 0.7285 MB / 405.2 MB, free: 6.184 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000855/0.6141, allocations: 234.6 kB / 405.4 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003731/0.6145, allocations: 136.8 kB / 405.5 MB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.42e-05/0.6145, allocations: 7.953 kB / 405.5 MB, free: 5.801 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.6146, allocations: 42.56 kB / 405.6 MB, free: 5.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 3.426e-06/0.6146, allocations: 0 / 405.6 MB, free: 5.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.00378/0.6184, allocations: 1.215 MB / 406.8 MB, free: 4.441 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.6185, allocations: 55.41 kB / 406.8 MB, free: 4.375 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000346/0.6189, allocations: 177.9 kB / 407 MB, free: 4.188 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.675e-05/0.619, allocations: 33.7 kB / 407.1 MB, free: 4.148 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.6192, allocations: 136.5 kB / 407.2 MB, free: 4.012 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.6193, allocations: 110.5 kB / 407.3 MB, free: 3.902 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.6194, allocations: 8 kB / 407.3 MB, free: 3.895 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.6196, allocations: 334.8 kB / 407.6 MB, free: 3.559 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/0.6199, allocations: 116 kB / 407.7 MB, free: 3.445 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004076/0.6203, allocations: 159.1 kB / 407.9 MB, free: 3.277 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/0.6207, allocations: 107.9 kB / 408 MB, free: 3.172 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.6207, allocations: 0 / 408 MB, free: 3.172 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001582/0.6223, allocations: 489.8 kB / 408.5 MB, free: 2.684 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.06e-05/0.6224, allocations: 4 kB / 408.5 MB, free: 2.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.6224, allocations: 0 / 408.5 MB, free: 2.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008865/0.6233, allocations: 252.7 kB / 408.7 MB, free: 2.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/0.6238, allocations: 51.91 kB / 408.8 MB, free: 2.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.6251, allocations: 0.7475 MB / 409.5 MB, free: 1.605 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005751/0.6257, allocations: 47.95 kB / 409.6 MB, free: 1.559 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.95e-05/0.6258, allocations: 16 kB / 409.6 MB, free: 1.543 MB / 330.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 (bearingFriction1.free,$PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001915/0.626, allocations: 124.9 kB / 409.7 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.799e-05/0.6261, allocations: 23.72 kB / 409.7 MB, free: 1.391 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.6262, allocations: 42.7 kB / 409.8 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.6262, allocations: 4 kB / 409.8 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.6262, allocations: 0 / 409.8 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.6263, allocations: 0 / 409.8 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002716/0.629, allocations: 0.9837 MB / 410.8 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.6291, allocations: 0 / 410.8 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004572/0.6295, allocations: 51.91 kB / 410.8 MB, free: 248 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007422/0.6303, allocations: 220.7 kB / 411 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/0.6304, allocations: 19.94 kB / 411.1 MB, free: 4 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.6316, allocations: 0.7006 MB / 411.8 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.6316, allocations: 0 / 411.8 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/0.6336, allocations: 0.6821 MB / 412.4 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002664/0.634, allocations: 128.8 kB / 412.6 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.821e-05/0.6341, allocations: 15.95 kB / 412.6 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000519/0.6346, allocations: 52.02 kB / 412.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/0.6348, allocations: 55.83 kB / 412.7 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.434e-05/0.6349, allocations: 15.98 kB / 412.7 MB, free: 14.29 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002405/0.6351, allocations: 140.3 kB / 412.8 MB, free: 14.15 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6352, allocations: 0 / 412.8 MB, free: 14.15 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006307/0.6358, allocations: 72 kB / 412.9 MB, free: 14.08 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * 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.002601/0.6384, allocations: 1.315 MB / 414.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.6396, allocations: 291.8 kB / 414.5 MB, free: 12.44 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.6397, allocations: 0 / 414.5 MB, free: 12.44 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004991/0.6402, allocations: 148.1 kB / 414.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005126/0.6407, allocations: 31.75 kB / 414.7 MB, free: 12.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003713/0.6444, allocations: 0.742 MB / 415.4 MB, free: 11.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005037/0.645, allocations: 0.7607 MB / 416.2 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002001/0.6452, allocations: 26.06 kB / 416.2 MB, free: 10.67 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.6454, allocations: 75.34 kB / 416.3 MB, free: 10.6 MB / 346.7 MB Notification: Performance of SimCode: time 1.933e-06/0.6455, allocations: 0 / 416.3 MB, free: 10.6 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03691/0.6824, allocations: 6.345 MB / 422.6 MB, free: 4.352 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003612/0.6828, allocations: 192.2 kB / 422.8 MB, free: 4.121 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.808/3.49, allocations: 0 / 422.8 MB, free: 4.121 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat does not exist to compare? outputFormat=mat