Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.589/2.589, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.146e-05/4.163e-05, allocations: 4 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4632/0.4633, allocations: 58.83 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1803/0.6436, allocations: 84.57 MB / 466.9 MB, free: 7.836 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.644, allocations: 71.97 kB / 466.9 MB, free: 7.766 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.009057/0.653, allocations: 2.01 MB / 468.9 MB, free: 5.754 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.395e-06/0.6531, allocations: 0 / 468.9 MB, free: 5.754 MB / 394.8 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.6531, allocations: 4 kB / 468.9 MB, free: 5.75 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005918/0.6537, allocations: 386.9 kB / 469.3 MB, free: 5.324 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.6538, allocations: 8.031 kB / 469.3 MB, free: 5.316 MB / 394.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.381e-05/0.6539, allocations: 46.55 kB / 469.4 MB, free: 5.262 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.6539, allocations: 11.91 kB / 469.4 MB, free: 5.25 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.6542, allocations: 186.8 kB / 469.6 MB, free: 5.027 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.6542, allocations: 8.234 kB / 469.6 MB, free: 5.02 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.831e-05/0.6542, allocations: 12 kB / 469.6 MB, free: 5.008 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.6546, allocations: 120.8 kB / 469.7 MB, free: 4.879 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.6546, allocations: 12 kB / 469.7 MB, free: 4.867 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.6547, allocations: 0 / 469.7 MB, free: 4.867 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.6547, allocations: 4 kB / 469.7 MB, free: 4.863 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.6549, allocations: 55.92 kB / 469.8 MB, free: 4.809 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.656, allocations: 0.5449 MB / 470.3 MB, free: 4.203 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.6563, allocations: 82.27 kB / 470.4 MB, free: 4.105 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.669e-05/0.6564, allocations: 25.72 kB / 470.4 MB, free: 4.074 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.6564, allocations: 8 kB / 470.4 MB, free: 4.066 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.6564, allocations: 34.5 kB / 470.5 MB, free: 4.023 MB / 394.8 MB Notification: Performance of pre-optimization done (n=8): time 3.366e-06/0.6564, allocations: 0 / 470.5 MB, free: 4.023 MB / 394.8 MB Notification: Performance of matching and sorting (n=8): time 0.0004752/0.6569, allocations: 107.4 kB / 470.6 MB, free: 3.906 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.878e-05/0.657, allocations: 81.11 kB / 470.7 MB, free: 3.809 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.6573, allocations: 116.8 kB / 470.8 MB, free: 3.688 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.6573, allocations: 33.69 kB / 470.8 MB, free: 3.648 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.6575, allocations: 111.8 kB / 470.9 MB, free: 3.535 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.47e-05/0.6576, allocations: 35.55 kB / 470.9 MB, free: 3.5 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.175e-05/0.6576, allocations: 0 / 470.9 MB, free: 3.5 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.6578, allocations: 314.8 kB / 471.3 MB, free: 3.184 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.658, allocations: 24 kB / 471.3 MB, free: 3.16 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.6583, allocations: 88.52 kB / 471.4 MB, free: 3.043 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.6584, allocations: 31.98 kB / 471.4 MB, free: 3.012 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.6585, allocations: 4 kB / 471.4 MB, free: 3.008 MB / 394.8 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0008081/0.6593, allocations: 159 kB / 471.6 MB, free: 2.84 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/0.6594, allocations: 4 kB / 471.6 MB, free: 2.836 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.6594, allocations: 4 kB / 471.6 MB, free: 2.832 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003832/0.6598, allocations: 45.89 kB / 471.6 MB, free: 2.781 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.6601, allocations: 23.98 kB / 471.6 MB, free: 2.758 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004574/0.6647, allocations: 2.533 MB / 474.2 MB, free: 15.96 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.665, allocations: 7.906 kB / 474.2 MB, free: 15.95 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.6651, allocations: 8.219 kB / 474.2 MB, free: 15.94 MB / 410.8 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.0001967/0.6653, allocations: 116.9 kB / 474.3 MB, free: 15.82 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.6655, allocations: 15.94 kB / 474.3 MB, free: 15.8 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.965e-05/0.6656, allocations: 12.03 kB / 474.3 MB, free: 15.79 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.6656, allocations: 0 / 474.3 MB, free: 15.79 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.6656, allocations: 0 / 474.3 MB, free: 15.79 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.6657, allocations: 4 kB / 474.3 MB, free: 15.79 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000807/0.6665, allocations: 201.5 kB / 474.5 MB, free: 15.54 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.6666, allocations: 4 kB / 474.5 MB, free: 15.54 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/0.6669, allocations: 15.95 kB / 474.5 MB, free: 15.52 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002657/0.6672, allocations: 37.64 kB / 474.6 MB, free: 15.48 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.496e-05/0.6673, allocations: 4 kB / 474.6 MB, free: 15.47 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003918/0.6712, allocations: 2.533 MB / 477.1 MB, free: 12.67 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.759e-06/0.6713, allocations: 4.031 kB / 477.1 MB, free: 12.67 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005831/0.6719, allocations: 310 kB / 477.4 MB, free: 12.34 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.831e-05/0.672, allocations: 85.11 kB / 477.5 MB, free: 12.23 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.672, allocations: 11.97 kB / 477.5 MB, free: 12.22 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.6722, allocations: 0 / 477.5 MB, free: 12.22 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.6722, allocations: 11.95 kB / 477.5 MB, free: 12.21 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.6723, allocations: 0 / 477.5 MB, free: 12.21 MB / 410.8 MB Notification: Performance of sorting global known variables: time 8.27e-05/0.6724, allocations: 99.2 kB / 477.6 MB, free: 12.11 MB / 410.8 MB Notification: Performance of sort global known variables: time 6.11e-07/0.6724, allocations: 0 / 477.6 MB, free: 12.11 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0005366/0.6729, allocations: 39.84 kB / 477.7 MB, free: 12.07 MB / 410.8 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.0009433/0.6739, allocations: 0.9212 MB / 478.6 MB, free: 11.12 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0006154/0.6745, allocations: 279.6 kB / 478.9 MB, free: 10.82 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.6746, allocations: 0 / 478.9 MB, free: 10.82 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000396/0.675, allocations: 244 kB / 479.1 MB, free: 10.57 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004662/0.6755, allocations: 22.73 kB / 479.1 MB, free: 10.55 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.6768, allocations: 459 kB / 479.6 MB, free: 10.06 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.6772, allocations: 0.7122 MB / 480.3 MB, free: 9.316 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 7.363e-05/0.6773, allocations: 12.88 kB / 480.3 MB, free: 9.301 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.055e-05/0.6774, allocations: 23.44 kB / 480.3 MB, free: 9.277 MB / 410.8 MB Notification: Performance of SimCode: time 1.412e-06/0.6774, allocations: 0 / 480.3 MB, free: 9.277 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02664/0.7041, allocations: 2.606 MB / 482.9 MB, free: 6.77 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002502/0.7044, allocations: 173.4 kB / 483.1 MB, free: 6.547 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/3.188, allocations: 0 / 483.1 MB, free: 6.547 MB / 410.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat