Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.295/2.295, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.116e-05/3.129e-05, allocations: 3.938 kB / 267.6 MB, free: 4.945 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1455, allocations: 48.7 MB / 316.3 MB, free: 4.152 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4429/0.5885, allocations: 74.49 MB / 390.8 MB, free: 1.922 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.5888, allocations: 68.47 kB / 390.9 MB, free: 1.887 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00996/0.5988, allocations: 2.316 MB / 393.2 MB, free: 15.97 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.327e-06/0.5988, allocations: 0 / 393.2 MB, free: 15.97 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.5988, allocations: 1.859 kB / 393.2 MB, free: 15.97 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006497/0.5995, allocations: 409.6 kB / 393.6 MB, free: 15.53 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.5996, allocations: 8.031 kB / 393.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.946e-05/0.5996, allocations: 16.69 kB / 393.6 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.5999, allocations: 202.6 kB / 393.8 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.6, allocations: 4 kB / 393.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.195e-05/0.6, allocations: 8 kB / 393.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002253/0.6002, allocations: 66.73 kB / 393.9 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.6005, allocations: 100.8 kB / 394 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.6005, allocations: 3.938 kB / 394 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.6006, allocations: 4 kB / 394 MB, free: 15.13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.6006, allocations: 4 kB / 394 MB, free: 15.13 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009152/0.6015, allocations: 429.2 kB / 394.4 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.6018, allocations: 105.6 kB / 394.5 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.6019, allocations: 48.36 kB / 394.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.602, allocations: 0 / 394.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.602, allocations: 34.19 kB / 394.6 MB, free: 14.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.984e-06/0.602, allocations: 0.9844 kB / 394.6 MB, free: 14.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.001761/0.6038, allocations: 0.7106 MB / 395.3 MB, free: 13.85 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.6039, allocations: 51.41 kB / 395.4 MB, free: 13.79 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.604, allocations: 115.1 kB / 395.5 MB, free: 13.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.6041, allocations: 25.7 kB / 395.5 MB, free: 13.65 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.387e-05/0.6041, allocations: 119.9 kB / 395.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.014e-05/0.6042, allocations: 62.78 kB / 395.7 MB, free: 13.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.6043, allocations: 4 kB / 395.7 MB, free: 13.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.6044, allocations: 322.8 kB / 396 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.68e-05/0.6045, allocations: 39.38 kB / 396 MB, free: 13.13 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.6047, allocations: 63.3 kB / 396.1 MB, free: 13.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.6048, allocations: 42.92 kB / 396.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6048, allocations: 0 / 396.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005203/0.6054, allocations: 180.8 kB / 396.3 MB, free: 12.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.6054, allocations: 6.344 kB / 396.3 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.6054, allocations: 4 kB / 396.3 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002295/0.6057, allocations: 40.52 kB / 396.4 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003052/0.606, allocations: 31.98 kB / 396.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/0.6078, allocations: 1.493 MB / 397.9 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.608, allocations: 4 kB / 397.9 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.6081, allocations: 7.438 kB / 397.9 MB, free: 11.33 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.6082, allocations: 113.2 kB / 398 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004385/0.6086, allocations: 162.5 kB / 398.2 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/0.6087, allocations: 15.81 kB / 398.2 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.706e-05/0.6088, allocations: 19.73 kB / 398.2 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.6088, allocations: 0 / 398.2 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.6088, allocations: 3.938 kB / 398.2 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.6088, allocations: 4 kB / 398.2 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.6098, allocations: 0.489 MB / 398.7 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.6099, allocations: 0 / 398.7 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003264/0.6102, allocations: 39.97 kB / 398.8 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001694/0.6104, allocations: 32.62 kB / 398.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.6104, allocations: 0 / 398.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00144/0.6119, allocations: 1.311 MB / 400.1 MB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/0.6119, allocations: 4.031 kB / 400.1 MB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006123/0.6125, allocations: 321.5 kB / 400.4 MB, free: 8.871 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.6127, allocations: 96.59 kB / 400.5 MB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.6127, allocations: 0 / 400.5 MB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.6129, allocations: 12.11 kB / 400.5 MB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.566e-05/0.613, allocations: 11.98 kB / 400.5 MB, free: 8.742 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.613, allocations: 11.81 kB / 400.5 MB, free: 8.734 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.638e-05/0.6131, allocations: 90.58 kB / 400.6 MB, free: 8.648 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.6131, allocations: 0 / 400.6 MB, free: 8.648 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005039/0.6136, allocations: 39.94 kB / 400.7 MB, free: 8.609 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001038/0.6147, allocations: 0.9257 MB / 401.6 MB, free: 7.703 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005767/0.6152, allocations: 226.3 kB / 401.8 MB, free: 7.508 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6153, allocations: 128 / 401.8 MB, free: 7.508 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003361/0.6156, allocations: 176.8 kB / 402 MB, free: 7.348 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.616, allocations: 20.02 kB / 402 MB, free: 7.328 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.6172, allocations: 371.8 kB / 402.4 MB, free: 6.953 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/0.6176, allocations: 0.7243 MB / 403.1 MB, free: 6.203 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.768e-05/0.6177, allocations: 17.2 kB / 403.1 MB, free: 6.188 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.299e-05/0.6178, allocations: 38.92 kB / 403.2 MB, free: 6.172 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6178, allocations: 0 / 403.2 MB, free: 6.172 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04368/0.6615, allocations: 2.469 MB / 405.6 MB, free: 3.711 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002818/0.6619, allocations: 151 kB / 405.8 MB, free: 3.516 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/3.151, allocations: 3.938 kB / 405.8 MB, free: 3.512 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat does not exist to compare? outputFormat=mat