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 1.999/1.999, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.978e-05/3.98e-05, allocations: 0 / 273.2 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1098, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4043/0.5142, allocations: 74.93 MB / 396.8 MB, free: 14.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.5145, allocations: 67.97 kB / 396.9 MB, free: 14.63 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009886/0.5244, allocations: 2.331 MB / 399.2 MB, free: 12.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5245, allocations: 0 / 399.2 MB, free: 12.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.564e-05/0.5245, allocations: 5.094 kB / 399.2 MB, free: 12.3 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.000624/0.5251, allocations: 406.2 kB / 399.6 MB, free: 11.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.5252, allocations: 8.031 kB / 399.6 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.534e-05/0.5253, allocations: 46.55 kB / 399.6 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.783e-05/0.5253, allocations: 15.81 kB / 399.7 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.5256, allocations: 206.7 kB / 399.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.5256, allocations: 8 kB / 399.9 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.213e-05/0.5257, allocations: 16 kB / 399.9 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.526, allocations: 109.7 kB / 400 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.5261, allocations: 3.984 kB / 400 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.5261, allocations: 9.797 kB / 400 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.5261, allocations: 8 kB / 400 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.5263, allocations: 68 kB / 400.1 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009277/0.5273, allocations: 468.1 kB / 400.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.5276, allocations: 118.5 kB / 400.6 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.5277, allocations: 48.86 kB / 400.7 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.5278, allocations: 4 kB / 400.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.5278, allocations: 30.56 kB / 400.7 MB, free: 10.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.993e-06/0.5278, allocations: 3.938 kB / 400.7 MB, free: 10.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.001816/0.5297, allocations: 0.7476 MB / 401.5 MB, free: 9.738 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.5297, allocations: 55.41 kB / 401.5 MB, free: 9.672 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.5299, allocations: 128.1 kB / 401.7 MB, free: 9.543 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.5299, allocations: 29.7 kB / 401.7 MB, free: 9.508 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.485e-05/0.53, allocations: 112.3 kB / 401.8 MB, free: 9.395 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.076e-05/0.5301, allocations: 78.92 kB / 401.9 MB, free: 9.316 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.284e-05/0.5301, allocations: 4 kB / 401.9 MB, free: 9.312 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5303, allocations: 323.9 kB / 402.2 MB, free: 8.988 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.5304, allocations: 40.31 kB / 402.2 MB, free: 8.945 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001547/0.5306, allocations: 68.17 kB / 402.3 MB, free: 8.867 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.5308, allocations: 59.91 kB / 402.4 MB, free: 8.809 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.5308, allocations: 7.953 kB / 402.4 MB, free: 8.801 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005313/0.5313, allocations: 194.2 kB / 402.6 MB, free: 8.602 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.5314, allocations: 4 kB / 402.6 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.5314, allocations: 0 / 402.6 MB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002311/0.5316, allocations: 40.84 kB / 402.6 MB, free: 8.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002991/0.5319, allocations: 35.98 kB / 402.6 MB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/0.534, allocations: 1.55 MB / 404.2 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.5341, allocations: 7.984 kB / 404.2 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.5342, allocations: 16.06 kB / 404.2 MB, free: 6.816 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.0001143/0.5343, allocations: 116.9 kB / 404.3 MB, free: 6.695 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.5344, allocations: 11.86 kB / 404.3 MB, free: 6.684 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.539e-05/0.5344, allocations: 20.75 kB / 404.4 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.5345, allocations: 3.938 kB / 404.4 MB, free: 6.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.5345, allocations: 4 kB / 404.4 MB, free: 6.656 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.5345, allocations: 3.984 kB / 404.4 MB, free: 6.652 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.5356, allocations: 0.535 MB / 404.9 MB, free: 6.055 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.5356, allocations: 0 / 404.9 MB, free: 6.055 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/0.536, allocations: 43.91 kB / 404.9 MB, free: 6.012 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001786/0.5362, allocations: 28.84 kB / 405 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.5362, allocations: 4.031 kB / 405 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/0.5377, allocations: 1.371 MB / 406.3 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5378, allocations: 64 / 406.3 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006928/0.5385, allocations: 352.9 kB / 406.7 MB, free: 4.102 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.5386, allocations: 96.94 kB / 406.8 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.5387, allocations: 8 kB / 406.8 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.5388, allocations: 8 kB / 406.8 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.125e-05/0.5389, allocations: 12.05 kB / 406.8 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.5389, allocations: 7.984 kB / 406.8 MB, free: 3.953 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001148/0.5391, allocations: 107.3 kB / 406.9 MB, free: 3.848 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5391, allocations: 0 / 406.9 MB, free: 3.848 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004489/0.5395, allocations: 40 kB / 407 MB, free: 3.809 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.001071/0.5406, allocations: 0.9477 MB / 407.9 MB, free: 2.828 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006399/0.5413, allocations: 246.4 kB / 408.2 MB, free: 2.574 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5413, allocations: 0 / 408.2 MB, free: 2.574 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003649/0.5417, allocations: 194.1 kB / 408.3 MB, free: 2.375 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.542, allocations: 15.98 kB / 408.4 MB, free: 2.359 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.5432, allocations: 389.9 kB / 408.7 MB, free: 1.938 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.5436, allocations: 0.7207 MB / 409.5 MB, free: 1.188 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.352e-05/0.5436, allocations: 13.2 kB / 409.5 MB, free: 1.172 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.747e-05/0.5438, allocations: 47.42 kB / 409.5 MB, free: 1.125 MB / 330.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5438, allocations: 0 / 409.5 MB, free: 1.125 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.5684, allocations: 3.002 MB / 412.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/0.5687, allocations: 180 kB / 412.7 MB, free: 13.98 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.454/3.023, allocations: 0 / 412.7 MB, free: 13.98 MB / 346.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