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.164/2.164, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.863e-05/4.871e-05, allocations: 0 / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1543, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5605/0.7148, allocations: 73.31 MB / 395.2 MB, free: 220 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.7151, allocations: 67.97 kB / 395.3 MB, free: 152 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008759/0.7239, allocations: 1.951 MB / 397.2 MB, free: 14.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.7239, allocations: 0 / 397.2 MB, free: 14.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.724, allocations: 0 / 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.0005297/0.7245, allocations: 378.5 kB / 397.6 MB, free: 13.79 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.7246, allocations: 8.031 kB / 397.6 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.408e-05/0.7247, allocations: 47.64 kB / 397.6 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.7247, allocations: 7.906 kB / 397.6 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.7249, allocations: 178.9 kB / 397.8 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.7249, allocations: 16.17 kB / 397.8 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.552e-05/0.725, allocations: 15.98 kB / 397.8 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.7253, allocations: 116.8 kB / 398 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.7253, allocations: 0 / 398 MB, free: 13.35 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.7253, allocations: 11.98 kB / 398 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.7254, allocations: 4 kB / 398 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.7256, allocations: 48 kB / 398 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.7266, allocations: 0.5584 MB / 398.6 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.7269, allocations: 82.33 kB / 398.7 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.382e-05/0.7269, allocations: 29.66 kB / 398.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.727, allocations: 0 / 398.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.727, allocations: 34.56 kB / 398.7 MB, free: 12.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.954e-06/0.727, allocations: 0 / 398.7 MB, free: 12.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.000428/0.7274, allocations: 107.3 kB / 398.8 MB, free: 12.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.7275, allocations: 85.05 kB / 398.9 MB, free: 12.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.7276, allocations: 112.9 kB / 399 MB, free: 12.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.7277, allocations: 25.7 kB / 399 MB, free: 12.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.966e-05/0.7278, allocations: 115.6 kB / 399.2 MB, free: 12.01 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.968e-05/0.7278, allocations: 35.47 kB / 399.2 MB, free: 11.97 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-06/0.7278, allocations: 7.938 kB / 399.2 MB, free: 11.96 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.728, allocations: 318.8 kB / 399.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.503e-05/0.7281, allocations: 27.94 kB / 399.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.7282, allocations: 88.52 kB / 399.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.7283, allocations: 35.98 kB / 399.7 MB, free: 11.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.7283, allocations: 0 / 399.7 MB, free: 11.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004131/0.7287, allocations: 151.3 kB / 399.8 MB, free: 11.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.7288, allocations: 11.95 kB / 399.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.7288, allocations: 0 / 399.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002555/0.7291, allocations: 41.89 kB / 399.9 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.7292, allocations: 23.92 kB / 399.9 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/0.7318, allocations: 2.541 MB / 402.4 MB, free: 8.418 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.732, allocations: 7.906 kB / 402.4 MB, free: 8.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.732, allocations: 4 kB / 402.4 MB, free: 8.406 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.0001329/0.7322, allocations: 116.9 kB / 402.5 MB, free: 8.285 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.368e-05/0.7322, allocations: 7.953 kB / 402.6 MB, free: 8.277 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.046e-05/0.7323, allocations: 20.11 kB / 402.6 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.7323, allocations: 4 kB / 402.6 MB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.7323, allocations: 0 / 402.6 MB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.7324, allocations: 0 / 402.6 MB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004127/0.7328, allocations: 201.5 kB / 402.8 MB, free: 8.008 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.7328, allocations: 0 / 402.8 MB, free: 8.008 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.733, allocations: 12 kB / 402.8 MB, free: 7.996 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002073/0.7332, allocations: 37.66 kB / 402.8 MB, free: 7.953 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.7333, allocations: 4 kB / 402.8 MB, free: 7.949 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002527/0.7358, allocations: 2.529 MB / 405.4 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.7359, allocations: 3.984 kB / 405.4 MB, free: 5.148 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/0.7363, allocations: 314.8 kB / 405.7 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.147e-05/0.7364, allocations: 89.02 kB / 405.8 MB, free: 4.707 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.7364, allocations: 0 / 405.8 MB, free: 4.707 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.7366, allocations: 4 kB / 405.8 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.7367, allocations: 11.97 kB / 405.8 MB, free: 4.691 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.7367, allocations: 7.953 kB / 405.8 MB, free: 4.684 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.775e-05/0.7368, allocations: 107.6 kB / 405.9 MB, free: 4.578 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7368, allocations: 0 / 405.9 MB, free: 4.578 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005646/0.7374, allocations: 39.84 kB / 405.9 MB, free: 4.539 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.0009059/0.7383, allocations: 0.9127 MB / 406.8 MB, free: 3.586 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005499/0.7389, allocations: 267.8 kB / 407.1 MB, free: 3.305 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.7389, allocations: 0 / 407.1 MB, free: 3.305 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003847/0.7393, allocations: 256 kB / 407.3 MB, free: 3.035 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/0.7398, allocations: 24.19 kB / 407.4 MB, free: 3.012 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.7411, allocations: 442.5 kB / 407.8 MB, free: 2.543 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.7415, allocations: 0.7161 MB / 408.5 MB, free: 1.801 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.022e-05/0.7416, allocations: 8.875 kB / 408.5 MB, free: 1.789 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.001e-05/0.7416, allocations: 27.44 kB / 408.6 MB, free: 1.762 MB / 330.7 MB Notification: Performance of SimCode: time 1.322e-06/0.7416, allocations: 3.938 kB / 408.6 MB, free: 1.758 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02637/0.768, allocations: 2.595 MB / 411.2 MB, free: 15.24 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.001036/0.7691, allocations: 177.4 kB / 411.3 MB, free: 15.02 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.571/3.34, allocations: 3.938 kB / 411.3 MB, free: 15.01 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