Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.791/2.791, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.299e-05/2.322e-05, allocations: 0 / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.4247, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1646/0.5893, allocations: 79.01 MB / 433.5 MB, free: 80 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.5896, allocations: 59.97 kB / 433.5 MB, free: 20 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009297/0.599, allocations: 1.957 MB / 435.5 MB, free: 14.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.599, allocations: 0 / 435.5 MB, free: 14.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.599, allocations: 4 kB / 435.5 MB, free: 14.06 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.0005619/0.5996, allocations: 375.1 kB / 435.8 MB, free: 13.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.5997, allocations: 8.031 kB / 435.8 MB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.5998, allocations: 19.86 kB / 435.9 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.5999, allocations: 178.8 kB / 436 MB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.6, allocations: 4 kB / 436 MB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-05/0.6, allocations: 8 kB / 436.1 MB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001939/0.6002, allocations: 52.39 kB / 436.1 MB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.6005, allocations: 112.8 kB / 436.2 MB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.6006, allocations: 3.938 kB / 436.2 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.6006, allocations: 0 / 436.2 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.6006, allocations: 7.953 kB / 436.2 MB, free: 13.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.6018, allocations: 0.5066 MB / 436.7 MB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.602, allocations: 81.17 kB / 436.8 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.801e-05/0.6021, allocations: 25.72 kB / 436.8 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.6021, allocations: 0 / 436.8 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.6022, allocations: 38.5 kB / 436.9 MB, free: 12.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.495e-06/0.6022, allocations: 4 kB / 436.9 MB, free: 12.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004781/0.6027, allocations: 95.38 kB / 437 MB, free: 12.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.6027, allocations: 81.09 kB / 437 MB, free: 12.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.6029, allocations: 108.9 kB / 437.2 MB, free: 12.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.316e-05/0.603, allocations: 29.7 kB / 437.2 MB, free: 12.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.496e-05/0.6031, allocations: 115.7 kB / 437.3 MB, free: 12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.427e-05/0.6031, allocations: 31.56 kB / 437.3 MB, free: 11.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.6031, allocations: 0 / 437.3 MB, free: 11.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.6033, allocations: 326.8 kB / 437.6 MB, free: 11.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.6034, allocations: 12 kB / 437.7 MB, free: 11.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.6035, allocations: 86.34 kB / 437.7 MB, free: 11.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.6037, allocations: 40.06 kB / 437.8 MB, free: 11.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.6037, allocations: 0 / 437.8 MB, free: 11.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004861/0.6042, allocations: 151.1 kB / 437.9 MB, free: 11.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.6042, allocations: 8 kB / 437.9 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.6042, allocations: 0 / 437.9 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002533/0.6045, allocations: 41.64 kB / 438 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.6047, allocations: 20 kB / 438 MB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002675/0.6074, allocations: 2.434 MB / 440.4 MB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.6075, allocations: 4.031 kB / 440.4 MB, free: 8.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.6076, allocations: 8 kB / 440.4 MB, free: 8.57 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.0001225/0.6077, allocations: 108.9 kB / 440.6 MB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003637/0.6081, allocations: 111.4 kB / 440.7 MB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.629e-05/0.6082, allocations: 7.906 kB / 440.7 MB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.607e-05/0.6082, allocations: 12.33 kB / 440.7 MB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.6082, allocations: 4 kB / 440.7 MB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.6083, allocations: 0 / 440.7 MB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.6083, allocations: 3.953 kB / 440.7 MB, free: 8.305 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004951/0.6088, allocations: 170.2 kB / 440.9 MB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.6088, allocations: 0 / 440.9 MB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.609, allocations: 12 kB / 440.9 MB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00019/0.6092, allocations: 41.58 kB / 440.9 MB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.6093, allocations: 7.938 kB / 440.9 MB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002558/0.6118, allocations: 2.427 MB / 443.3 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.146e-05/0.6119, allocations: 8.281 kB / 443.3 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004846/0.6124, allocations: 310.1 kB / 443.7 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.27e-05/0.6125, allocations: 81.02 kB / 443.7 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.6125, allocations: 3.953 kB / 443.7 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.6128, allocations: 4 kB / 443.7 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.6128, allocations: 16.03 kB / 443.8 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-06/0.6128, allocations: 0 / 443.8 MB, free: 4.922 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.502e-05/0.6129, allocations: 91.27 kB / 443.8 MB, free: 4.832 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6129, allocations: 0 / 443.8 MB, free: 4.832 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006651/0.6136, allocations: 36.06 kB / 443.9 MB, free: 4.797 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.0008807/0.6145, allocations: 0.9049 MB / 444.8 MB, free: 3.855 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006047/0.6151, allocations: 275.8 kB / 445.1 MB, free: 3.566 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.6152, allocations: 4.062 kB / 445.1 MB, free: 3.562 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004129/0.6156, allocations: 243.5 kB / 445.3 MB, free: 3.305 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/0.6161, allocations: 15.98 kB / 445.3 MB, free: 3.289 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.6175, allocations: 439.8 kB / 445.7 MB, free: 2.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.6179, allocations: 0.7084 MB / 446.4 MB, free: 2.086 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.087e-05/0.618, allocations: 8.875 kB / 446.5 MB, free: 2.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.082e-05/0.6181, allocations: 27.44 kB / 446.5 MB, free: 2.043 MB / 378.7 MB Notification: Performance of SimCode: time 1.143e-06/0.6181, allocations: 0 / 446.5 MB, free: 2.043 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04184/0.66, allocations: 2.233 MB / 448.7 MB, free: 15.82 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002971/0.6603, allocations: 156.7 kB / 448.9 MB, free: 15.62 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.699/3.359, allocations: 0 / 448.9 MB, free: 15.62 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat