Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.048/2.048, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.086e-05/4.097e-05, allocations: 4 kB / 273.2 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1066, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4017/0.5083, allocations: 73.3 MB / 395.2 MB, free: 240 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003316/0.5087, allocations: 63.97 kB / 395.2 MB, free: 176 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01136/0.5201, allocations: 1.966 MB / 397.2 MB, free: 14.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.5201, allocations: 0 / 397.2 MB, free: 14.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.5202, allocations: 4 kB / 397.2 MB, free: 14.21 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006875/0.5209, allocations: 366.5 kB / 397.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.682e-05/0.521, allocations: 8.031 kB / 397.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.442e-05/0.5211, allocations: 43.66 kB / 397.6 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.883e-05/0.5212, allocations: 11.91 kB / 397.6 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.5214, allocations: 186.8 kB / 397.8 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.314e-05/0.5215, allocations: 8.234 kB / 397.8 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.657e-05/0.5216, allocations: 12 kB / 397.8 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004476/0.522, allocations: 125 kB / 397.9 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.5221, allocations: 0 / 397.9 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.5221, allocations: 4 kB / 397.9 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.5222, allocations: 4 kB / 397.9 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.5224, allocations: 63.92 kB / 398 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.524, allocations: 0.5389 MB / 398.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.5243, allocations: 94.17 kB / 398.6 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.191e-05/0.5244, allocations: 21.72 kB / 398.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.5245, allocations: 0 / 398.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.5245, allocations: 42.5 kB / 398.7 MB, free: 12.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 3.577e-06/0.5246, allocations: 0 / 398.7 MB, free: 12.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006003/0.5252, allocations: 111.4 kB / 398.8 MB, free: 12.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.5253, allocations: 81.06 kB / 398.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.5254, allocations: 113.5 kB / 399 MB, free: 12.17 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.5254, allocations: 29.7 kB / 399 MB, free: 12.13 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.5256, allocations: 111.6 kB / 399.1 MB, free: 12.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/0.5256, allocations: 35.45 kB / 399.2 MB, free: 11.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.532e-05/0.5256, allocations: 8 kB / 399.2 MB, free: 11.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5258, allocations: 318.8 kB / 399.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.245e-05/0.5259, allocations: 31.94 kB / 399.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.526, allocations: 76.53 kB / 399.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.5261, allocations: 48 kB / 399.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.5261, allocations: 0 / 399.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004204/0.5266, allocations: 159.2 kB / 399.8 MB, free: 11.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.5266, allocations: 11.94 kB / 399.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.5266, allocations: 7.984 kB / 399.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002319/0.5269, allocations: 33.72 kB / 399.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.527, allocations: 27.92 kB / 399.9 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/0.5293, allocations: 2.537 MB / 402.4 MB, free: 8.418 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.5295, allocations: 12 kB / 402.4 MB, free: 8.406 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.5295, allocations: 4 kB / 402.4 MB, free: 8.402 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.5296, allocations: 116.9 kB / 402.5 MB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.24e-05/0.5297, allocations: 15.95 kB / 402.6 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.877e-05/0.5298, allocations: 8.125 kB / 402.6 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.5298, allocations: 7.984 kB / 402.6 MB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5298, allocations: 0 / 402.6 MB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.5298, allocations: 0 / 402.6 MB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.5301, allocations: 197.6 kB / 402.8 MB, free: 8.008 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.5302, allocations: 0 / 402.8 MB, free: 8.008 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.5304, allocations: 19.98 kB / 402.8 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000168/0.5305, allocations: 33.61 kB / 402.8 MB, free: 7.949 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.5306, allocations: 8 kB / 402.8 MB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002297/0.5329, allocations: 2.525 MB / 405.3 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5329, allocations: 0 / 405.3 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004545/0.5334, allocations: 322.6 kB / 405.7 MB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.717e-05/0.5335, allocations: 89.08 kB / 405.7 MB, free: 4.699 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.5335, allocations: 4 kB / 405.8 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.5337, allocations: 4 kB / 405.8 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.5337, allocations: 12.02 kB / 405.8 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.5338, allocations: 11.95 kB / 405.8 MB, free: 4.668 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.711e-05/0.5338, allocations: 99.16 kB / 405.9 MB, free: 4.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5339, allocations: 0 / 405.9 MB, free: 4.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000475/0.5343, allocations: 35.91 kB / 405.9 MB, free: 4.535 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007862/0.5351, allocations: 0.9165 MB / 406.8 MB, free: 3.578 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005268/0.5357, allocations: 289.2 kB / 407.1 MB, free: 3.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.5357, allocations: 0.5 kB / 407.1 MB, free: 3.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003801/0.5361, allocations: 261.2 kB / 407.4 MB, free: 2.988 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.5365, allocations: 15.98 kB / 407.4 MB, free: 2.973 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.5378, allocations: 451 kB / 407.8 MB, free: 2.496 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.5381, allocations: 0.72 MB / 408.5 MB, free: 1.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.113e-05/0.5382, allocations: 4.891 kB / 408.5 MB, free: 1.742 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.437e-05/0.5383, allocations: 31.42 kB / 408.6 MB, free: 1.711 MB / 330.7 MB Notification: Performance of SimCode: time 1.362e-06/0.5383, allocations: 0 / 408.6 MB, free: 1.711 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.5657, allocations: 2.627 MB / 411.2 MB, free: 15.16 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000332/0.5661, allocations: 182.7 kB / 411.4 MB, free: 14.93 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.406/2.973, allocations: 0 / 411.4 MB, free: 14.93 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat