Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.53/2.53, allocations: 235 MB / 247.1 MB, free: 14.6 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.774e-05/3.791e-05, allocations: 4 kB / 305 MB, free: 5.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4149, allocations: 54.85 MB / 359.9 MB, free: 3.09 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1533/0.5683, allocations: 79.68 MB / 439.5 MB, free: 1.305 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.5687, allocations: 63.97 kB / 439.6 MB, free: 1.242 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00828/0.577, allocations: 1.959 MB / 441.6 MB, free: 15.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.577, allocations: 0 / 441.6 MB, free: 15.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.5771, allocations: 4 kB / 441.6 MB, free: 15.3 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005137/0.5776, allocations: 386.9 kB / 441.9 MB, free: 14.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.5776, allocations: 8.031 kB / 441.9 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.815e-05/0.5777, allocations: 46.55 kB / 442 MB, free: 14.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.5778, allocations: 15.86 kB / 442 MB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.5779, allocations: 174.9 kB / 442.2 MB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.578, allocations: 8.234 kB / 442.2 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/0.578, allocations: 12.88 kB / 442.2 MB, free: 14.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003607/0.5784, allocations: 121 kB / 442.3 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.5784, allocations: 4 kB / 442.3 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.5785, allocations: 8 kB / 442.3 MB, free: 14.42 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.5785, allocations: 0 / 442.3 MB, free: 14.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.5787, allocations: 67.88 kB / 442.4 MB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.5797, allocations: 0.5411 MB / 442.9 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.58, allocations: 82.17 kB / 443 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.323e-05/0.5801, allocations: 25.72 kB / 443 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.5801, allocations: 8.188 kB / 443.1 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.5801, allocations: 34.55 kB / 443.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 3.096e-06/0.5801, allocations: 0 / 443.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004508/0.5806, allocations: 105.2 kB / 443.2 MB, free: 13.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.5807, allocations: 85.05 kB / 443.3 MB, free: 13.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.5808, allocations: 118.4 kB / 443.4 MB, free: 13.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.5809, allocations: 25.7 kB / 443.4 MB, free: 13.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.143e-05/0.581, allocations: 119.8 kB / 443.5 MB, free: 13.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.581, allocations: 31.55 kB / 443.6 MB, free: 13.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.836e-06/0.581, allocations: 0 / 443.6 MB, free: 13.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.5812, allocations: 322.2 kB / 443.9 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.791e-05/0.5813, allocations: 24 kB / 443.9 MB, free: 12.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.5814, allocations: 85.86 kB / 444 MB, free: 12.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.5815, allocations: 36 kB / 444 MB, free: 12.56 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5816, allocations: 4 kB / 444 MB, free: 12.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004423/0.582, allocations: 171 kB / 444.2 MB, free: 12.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.582, allocations: 8 kB / 444.2 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.5821, allocations: 2.5 kB / 444.2 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002763/0.5823, allocations: 41.95 kB / 444.2 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.5825, allocations: 20 kB / 444.3 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002589/0.5851, allocations: 2.536 MB / 446.8 MB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.5853, allocations: 8.156 kB / 446.8 MB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.5853, allocations: 10.03 kB / 446.8 MB, free: 9.484 MB / 378.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.0001271/0.5855, allocations: 120.8 kB / 446.9 MB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/0.5855, allocations: 11.91 kB / 446.9 MB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.827e-05/0.5856, allocations: 16.11 kB / 447 MB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.5856, allocations: 0 / 447 MB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.5856, allocations: 0 / 447 MB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.5856, allocations: 3.984 kB / 447 MB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.586, allocations: 201.6 kB / 447.2 MB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.5861, allocations: 8 kB / 447.2 MB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.5863, allocations: 15.98 kB / 447.2 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001931/0.5865, allocations: 33.7 kB / 447.2 MB, free: 9.016 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.5865, allocations: 4 kB / 447.2 MB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002509/0.5891, allocations: 2.526 MB / 449.7 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5891, allocations: 0.75 kB / 449.7 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004635/0.5896, allocations: 318 kB / 450.1 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.5897, allocations: 89.05 kB / 450.1 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.5897, allocations: 3.953 kB / 450.1 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.5899, allocations: 7.391 kB / 450.2 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.5899, allocations: 12.11 kB / 450.2 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.5899, allocations: 4 kB / 450.2 MB, free: 5.754 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.567e-05/0.59, allocations: 89.03 kB / 450.3 MB, free: 5.668 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.59, allocations: 1.031 kB / 450.3 MB, free: 5.668 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005499/0.5906, allocations: 39.91 kB / 450.3 MB, free: 5.629 MB / 378.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.0008976/0.5915, allocations: 0.9255 MB / 451.2 MB, free: 4.668 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006222/0.5921, allocations: 286.6 kB / 451.5 MB, free: 4.363 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/0.5922, allocations: 4 kB / 451.5 MB, free: 4.359 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004266/0.5926, allocations: 257.1 kB / 451.8 MB, free: 4.082 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/0.5931, allocations: 30.53 kB / 451.8 MB, free: 4.055 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.5945, allocations: 444 kB / 452.2 MB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.595, allocations: 0.7132 MB / 452.9 MB, free: 2.844 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.098e-05/0.595, allocations: 12.83 kB / 452.9 MB, free: 2.824 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.919e-05/0.5951, allocations: 31.42 kB / 453 MB, free: 2.793 MB / 378.7 MB Notification: Performance of SimCode: time 1.753e-06/0.5951, allocations: 0 / 453 MB, free: 2.793 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03015/0.6253, allocations: 2.626 MB / 455.6 MB, free: 264 kB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004787/0.6259, allocations: 186.7 kB / 455.8 MB, free: 24 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.628/3.254, allocations: 0 / 455.8 MB, free: 24 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat