Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.738/2.738, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.682e-05/4.699e-05, allocations: 7.984 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4387/0.4388, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1651/0.6041, allocations: 86.3 MB / 468.6 MB, free: 6.113 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.6044, allocations: 67.97 kB / 468.7 MB, free: 6.047 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01102/0.6154, allocations: 2.499 MB / 471.2 MB, free: 3.535 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.215e-06/0.6155, allocations: 0 / 471.2 MB, free: 3.535 MB / 394.8 MB Notification: Performance of Transformations before backend: time 2.277e-05/0.6155, allocations: 8 kB / 471.2 MB, free: 3.527 MB / 394.8 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.0006891/0.6162, allocations: 404.9 kB / 471.6 MB, free: 3.09 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.6163, allocations: 12.03 kB / 471.6 MB, free: 3.078 MB / 394.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.493e-05/0.6164, allocations: 46.55 kB / 471.6 MB, free: 3.023 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.61e-05/0.6164, allocations: 19.77 kB / 471.6 MB, free: 3.004 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.6167, allocations: 198.8 kB / 471.8 MB, free: 2.77 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.6168, allocations: 8 kB / 471.8 MB, free: 2.762 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.6168, allocations: 12 kB / 471.9 MB, free: 2.75 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.6172, allocations: 117.6 kB / 472 MB, free: 2.629 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.636e-05/0.6172, allocations: 4 kB / 472 MB, free: 2.625 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.6173, allocations: 4 kB / 472 MB, free: 2.621 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.6173, allocations: 8 kB / 472 MB, free: 2.613 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002265/0.6175, allocations: 71.98 kB / 472.1 MB, free: 2.543 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.6185, allocations: 472.1 kB / 472.5 MB, free: 2.031 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.6188, allocations: 110.6 kB / 472.6 MB, free: 1.914 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.619, allocations: 48.86 kB / 472.7 MB, free: 1.863 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.619, allocations: 0 / 472.7 MB, free: 1.863 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.6191, allocations: 34.56 kB / 472.7 MB, free: 1.82 MB / 394.8 MB Notification: Performance of pre-optimization done (n=13): time 4.258e-06/0.6191, allocations: 7.875 kB / 472.7 MB, free: 1.812 MB / 394.8 MB Notification: Performance of matching and sorting (n=19): time 0.001926/0.621, allocations: 0.753 MB / 473.5 MB, free: 0.9648 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.6211, allocations: 55.41 kB / 473.5 MB, free: 0.8984 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.6213, allocations: 123.4 kB / 473.6 MB, free: 0.7695 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.6214, allocations: 29.7 kB / 473.7 MB, free: 0.7344 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.284e-05/0.6215, allocations: 116.3 kB / 473.8 MB, free: 0.6172 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.136e-05/0.6215, allocations: 67 kB / 473.9 MB, free: 0.5508 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/0.6216, allocations: 4 kB / 473.9 MB, free: 0.5469 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.6217, allocations: 330.8 kB / 474.2 MB, free: 220 kB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.6218, allocations: 40.38 kB / 474.2 MB, free: 176 kB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.622, allocations: 67.98 kB / 474.3 MB, free: 96 kB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.6222, allocations: 43.98 kB / 474.3 MB, free: 52 kB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6222, allocations: 0 / 474.3 MB, free: 52 kB / 394.8 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005803/0.6228, allocations: 202.1 kB / 474.5 MB, free: 15.84 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.6228, allocations: 4 kB / 474.5 MB, free: 15.84 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.6228, allocations: 0 / 474.5 MB, free: 15.84 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002448/0.6231, allocations: 44.8 kB / 474.6 MB, free: 15.79 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.6234, allocations: 35.92 kB / 474.6 MB, free: 15.76 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.6255, allocations: 1.558 MB / 476.2 MB, free: 14.06 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.6257, allocations: 11.98 kB / 476.2 MB, free: 14.05 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.6257, allocations: 4 kB / 476.2 MB, free: 14.05 MB / 410.8 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.0001236/0.6259, allocations: 113.3 kB / 476.3 MB, free: 13.93 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/0.6259, allocations: 11.86 kB / 476.3 MB, free: 13.92 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.531e-05/0.626, allocations: 20.75 kB / 476.3 MB, free: 13.9 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.626, allocations: 0 / 476.3 MB, free: 13.9 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.6261, allocations: 4 kB / 476.3 MB, free: 13.89 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.6261, allocations: 3.984 kB / 476.3 MB, free: 13.89 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.6273, allocations: 0.5412 MB / 476.9 MB, free: 13.29 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.6273, allocations: 0 / 476.9 MB, free: 13.29 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003339/0.6276, allocations: 39.92 kB / 476.9 MB, free: 13.25 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001873/0.6278, allocations: 28.84 kB / 476.9 MB, free: 13.22 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.6279, allocations: 7.953 kB / 476.9 MB, free: 13.21 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/0.6294, allocations: 1.363 MB / 478.3 MB, free: 11.71 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.6295, allocations: 4.172 kB / 478.3 MB, free: 11.71 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000704/0.6302, allocations: 350.4 kB / 478.7 MB, free: 11.34 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.483e-05/0.6303, allocations: 88.95 kB / 478.7 MB, free: 11.23 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.6303, allocations: 8 kB / 478.8 MB, free: 11.23 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.6305, allocations: 4 kB / 478.8 MB, free: 11.22 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.6306, allocations: 15.97 kB / 478.8 MB, free: 11.21 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.6306, allocations: 8.062 kB / 478.8 MB, free: 11.2 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001098/0.6307, allocations: 103.3 kB / 478.9 MB, free: 11.1 MB / 410.8 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6307, allocations: 0 / 478.9 MB, free: 11.1 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0004954/0.6312, allocations: 51.92 kB / 478.9 MB, free: 11.05 MB / 410.8 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.001092/0.6323, allocations: 0.9516 MB / 479.9 MB, free: 10.06 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000647/0.633, allocations: 241.1 kB / 480.1 MB, free: 9.82 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.633, allocations: 3.938 kB / 480.1 MB, free: 9.816 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003827/0.6334, allocations: 177.7 kB / 480.3 MB, free: 9.633 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.6338, allocations: 24.11 kB / 480.3 MB, free: 9.609 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.635, allocations: 377.9 kB / 480.7 MB, free: 9.203 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.6354, allocations: 0.7207 MB / 481.4 MB, free: 8.453 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 8.83e-05/0.6355, allocations: 9.203 kB / 481.4 MB, free: 8.441 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.724e-05/0.6356, allocations: 43.42 kB / 481.5 MB, free: 8.398 MB / 410.8 MB Notification: Performance of SimCode: time 1.062e-06/0.6356, allocations: 0 / 481.5 MB, free: 8.398 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02743/0.6631, allocations: 2.984 MB / 484.4 MB, free: 5.508 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003872/0.6635, allocations: 186.7 kB / 484.6 MB, free: 5.273 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.485/3.149, allocations: 4 kB / 484.6 MB, free: 5.27 MB / 410.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat does not exist to compare? outputFormat=mat