Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.727/2.727, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.204e-05/3.235e-05, allocations: 4 kB / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4078, allocations: 54.86 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1699/0.5778, allocations: 80.63 MB / 435.1 MB, free: 14.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003131/0.5781, allocations: 67.95 kB / 435.1 MB, free: 14.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0118/0.59, allocations: 2.308 MB / 437.4 MB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.59, allocations: 0 / 437.4 MB, free: 12.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.5901, allocations: 0 / 437.4 MB, free: 12.07 MB / 378.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.0007837/0.5908, allocations: 414.1 kB / 437.9 MB, free: 11.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.286e-05/0.5909, allocations: 8.031 kB / 437.9 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.41e-05/0.591, allocations: 15.81 kB / 437.9 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.5914, allocations: 206.8 kB / 438.1 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.5914, allocations: 4 kB / 438.1 MB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.505e-05/0.5915, allocations: 8 kB / 438.1 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002835/0.5918, allocations: 63.94 kB / 438.2 MB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.5921, allocations: 109.6 kB / 438.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.5922, allocations: 3.938 kB / 438.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.5922, allocations: 7.953 kB / 438.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.5922, allocations: 4 kB / 438.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.5934, allocations: 416.8 kB / 438.7 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/0.5938, allocations: 106.5 kB / 438.8 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.5939, allocations: 48.84 kB / 438.8 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.594, allocations: 4 kB / 438.8 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.594, allocations: 34.56 kB / 438.9 MB, free: 10.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 4.157e-06/0.5941, allocations: 0 / 438.9 MB, free: 10.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.002129/0.5962, allocations: 0.7004 MB / 439.6 MB, free: 9.703 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.5963, allocations: 55.41 kB / 439.6 MB, free: 9.637 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.5965, allocations: 118 kB / 439.7 MB, free: 9.516 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.5965, allocations: 25.7 kB / 439.8 MB, free: 9.484 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.557e-05/0.5966, allocations: 112.4 kB / 439.9 MB, free: 9.371 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.236e-05/0.5967, allocations: 66.95 kB / 439.9 MB, free: 9.305 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/0.5967, allocations: 4 kB / 439.9 MB, free: 9.301 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.5969, allocations: 318.8 kB / 440.3 MB, free: 8.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.5971, allocations: 36.31 kB / 440.3 MB, free: 8.941 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.5973, allocations: 68.73 kB / 440.4 MB, free: 8.863 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.5975, allocations: 47.94 kB / 440.4 MB, free: 8.816 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5975, allocations: 3.938 kB / 440.4 MB, free: 8.812 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006216/0.5981, allocations: 178.2 kB / 440.6 MB, free: 8.629 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.5982, allocations: 8 kB / 440.6 MB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.5982, allocations: 0 / 440.6 MB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002798/0.5985, allocations: 36.84 kB / 440.6 MB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003453/0.5988, allocations: 39.92 kB / 440.7 MB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/0.6011, allocations: 1.494 MB / 442.2 MB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.6013, allocations: 4.031 kB / 442.2 MB, free: 6.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.6014, allocations: 4 kB / 442.2 MB, free: 6.926 MB / 378.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.000146/0.6015, allocations: 113 kB / 442.3 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005666/0.6021, allocations: 158.8 kB / 442.4 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.457e-05/0.6022, allocations: 11.91 kB / 442.4 MB, free: 6.633 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.319e-05/0.6023, allocations: 12.75 kB / 442.5 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.6023, allocations: 4 kB / 442.5 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.6023, allocations: 0 / 442.5 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.6023, allocations: 3.984 kB / 442.5 MB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.6037, allocations: 0.4945 MB / 443 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.6038, allocations: 0 / 443 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003936/0.6042, allocations: 39.97 kB / 443 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002217/0.6044, allocations: 32.88 kB / 443 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.6044, allocations: 0 / 443 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001812/0.6063, allocations: 1.315 MB / 444.3 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.6063, allocations: 0 / 444.3 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007873/0.6071, allocations: 326 kB / 444.7 MB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.893e-05/0.6073, allocations: 88.95 kB / 444.7 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.6073, allocations: 4 kB / 444.8 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.6075, allocations: 8.125 kB / 444.8 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.841e-05/0.6076, allocations: 15.92 kB / 444.8 MB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.6076, allocations: 7.984 kB / 444.8 MB, free: 4.074 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.6077, allocations: 99.73 kB / 444.9 MB, free: 3.977 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6078, allocations: 0 / 444.9 MB, free: 3.977 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000585/0.6084, allocations: 32 kB / 444.9 MB, free: 3.945 MB / 378.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.001328/0.6097, allocations: 0.9192 MB / 445.8 MB, free: 2.988 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007139/0.6105, allocations: 229.5 kB / 446.1 MB, free: 2.754 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.6105, allocations: 128 / 446.1 MB, free: 2.754 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004109/0.6109, allocations: 181.6 kB / 446.2 MB, free: 2.566 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.6114, allocations: 15.98 kB / 446.2 MB, free: 2.551 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.6128, allocations: 356.8 kB / 446.6 MB, free: 2.164 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.6133, allocations: 0.7282 MB / 447.3 MB, free: 1.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.6134, allocations: 13.2 kB / 447.3 MB, free: 1.398 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.6136, allocations: 43.42 kB / 447.4 MB, free: 1.355 MB / 378.7 MB Notification: Performance of SimCode: time 1.463e-06/0.6136, allocations: 3.938 kB / 447.4 MB, free: 1.352 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05234/0.6659, allocations: 2.474 MB / 449.9 MB, free: 14.89 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004207/0.6664, allocations: 155.6 kB / 450 MB, free: 14.69 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.071/3.737, allocations: 7.172 kB / 450 MB, free: 14.69 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat does not exist to compare? outputFormat=mat