Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.548/2.548, allocations: 235 MB / 247.2 MB, free: 14.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.161e-05/4.171e-05, allocations: 8 kB / 305 MB, free: 5.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4476/0.4477, allocations: 54.84 MB / 359.9 MB, free: 3.082 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1615/0.6093, allocations: 81.29 MB / 441.1 MB, free: 15.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.6097, allocations: 69.14 kB / 441.2 MB, free: 15.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01059/0.6203, allocations: 2.334 MB / 443.5 MB, free: 13.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.6203, allocations: 0.5469 kB / 443.5 MB, free: 13.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.856e-05/0.6204, allocations: 4 kB / 443.5 MB, free: 13.29 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.0007227/0.6211, allocations: 410.1 kB / 443.9 MB, free: 12.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.6212, allocations: 12.03 kB / 444 MB, free: 12.83 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.911e-05/0.6213, allocations: 46.55 kB / 444 MB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.6213, allocations: 15.2 kB / 444 MB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.6216, allocations: 206.8 kB / 444.2 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.6217, allocations: 9.328 kB / 444.2 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.216e-05/0.6217, allocations: 20 kB / 444.3 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/0.6221, allocations: 121.6 kB / 444.4 MB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.6222, allocations: 0 / 444.4 MB, free: 12.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.6222, allocations: 7.953 kB / 444.4 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.6222, allocations: 4 kB / 444.4 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000229/0.6224, allocations: 67.94 kB / 444.4 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.6235, allocations: 469.8 kB / 444.9 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003117/0.6239, allocations: 114.5 kB / 445 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.624, allocations: 48.86 kB / 445.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.6241, allocations: 4 kB / 445.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.6241, allocations: 35.31 kB / 445.1 MB, free: 11.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 4.158e-06/0.6241, allocations: 4 kB / 445.1 MB, free: 11.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.002016/0.6262, allocations: 0.7422 MB / 445.9 MB, free: 10.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.6263, allocations: 56.25 kB / 445.9 MB, free: 10.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.6265, allocations: 132 kB / 446 MB, free: 10.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.6265, allocations: 33.7 kB / 446.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.6266, allocations: 108.3 kB / 446.2 MB, free: 10.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.788e-05/0.6267, allocations: 71 kB / 446.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.461e-05/0.6267, allocations: 4 kB / 446.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.6269, allocations: 323.9 kB / 446.6 MB, free: 9.977 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.627, allocations: 36.38 kB / 446.6 MB, free: 9.938 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.6272, allocations: 73.11 kB / 446.7 MB, free: 9.855 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.6274, allocations: 53.66 kB / 446.7 MB, free: 9.809 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6274, allocations: 0 / 446.7 MB, free: 9.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006247/0.628, allocations: 190.2 kB / 446.9 MB, free: 9.613 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.6281, allocations: 11.98 kB / 446.9 MB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.6281, allocations: 0 / 446.9 MB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002913/0.6284, allocations: 40.84 kB / 447 MB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/0.6287, allocations: 39.95 kB / 447 MB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/0.6311, allocations: 1.561 MB / 448.6 MB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.6313, allocations: 8.75 kB / 448.6 MB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.6313, allocations: 7.984 kB / 448.6 MB, free: 7.805 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.0001419/0.6315, allocations: 116.9 kB / 448.7 MB, free: 7.684 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.493e-05/0.6316, allocations: 11.81 kB / 448.7 MB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.276e-05/0.6316, allocations: 20.75 kB / 448.7 MB, free: 7.652 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.6317, allocations: 7.875 kB / 448.7 MB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.6317, allocations: 4.312 kB / 448.7 MB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.6317, allocations: 4 kB / 448.7 MB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.633, allocations: 0.5452 MB / 449.3 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.633, allocations: 0 / 449.3 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003468/0.6334, allocations: 44 kB / 449.3 MB, free: 6.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001952/0.6336, allocations: 28.84 kB / 449.4 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.6336, allocations: 4 kB / 449.4 MB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/0.6354, allocations: 1.363 MB / 450.7 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.6355, allocations: 4.031 kB / 450.7 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007506/0.6362, allocations: 339.1 kB / 451.1 MB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.863e-05/0.6364, allocations: 85 kB / 451.1 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.6364, allocations: 13.53 kB / 451.2 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.6366, allocations: 8 kB / 451.2 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.147e-05/0.6367, allocations: 11.97 kB / 451.2 MB, free: 4.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.6367, allocations: 11.95 kB / 451.2 MB, free: 4.941 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001174/0.6368, allocations: 107.1 kB / 451.3 MB, free: 4.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6368, allocations: 0 / 451.3 MB, free: 4.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004741/0.6373, allocations: 40 kB / 451.3 MB, free: 4.801 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.001183/0.6385, allocations: 0.9494 MB / 452.3 MB, free: 3.816 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007064/0.6393, allocations: 248.8 kB / 452.5 MB, free: 3.562 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.6393, allocations: 0 / 452.5 MB, free: 3.562 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003775/0.6397, allocations: 182.6 kB / 452.7 MB, free: 3.371 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.6401, allocations: 15.98 kB / 452.7 MB, free: 3.355 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.6414, allocations: 387.2 kB / 453.1 MB, free: 2.941 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.6418, allocations: 0.7246 MB / 453.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.685e-05/0.6419, allocations: 9.203 kB / 453.8 MB, free: 2.176 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.6421, allocations: 43.42 kB / 453.9 MB, free: 2.137 MB / 378.7 MB Notification: Performance of SimCode: time 1.352e-06/0.6421, allocations: 0 / 453.9 MB, free: 2.137 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/0.6721, allocations: 3.02 MB / 456.9 MB, free: 15.21 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000367/0.6726, allocations: 180.1 kB / 457.1 MB, free: 14.99 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.505/3.178, allocations: 0 / 457.1 MB, free: 14.99 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat does not exist to compare? outputFormat=mat