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.399/2.399, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.818e-05/2.828e-05, allocations: 4 kB / 299.5 MB, free: 6.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4116, allocations: 54.85 MB / 354.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1494/0.561, allocations: 79.02 MB / 433.4 MB, free: 3.176 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.5614, allocations: 71.91 kB / 433.4 MB, free: 3.105 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01229/0.5737, allocations: 1.927 MB / 435.4 MB, free: 1.184 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5738, allocations: 0 / 435.4 MB, free: 1.184 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.241e-05/0.5738, allocations: 4 kB / 435.4 MB, free: 1.18 MB / 362.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.0007083/0.5746, allocations: 382.4 kB / 435.7 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.788e-05/0.5746, allocations: 8.031 kB / 435.7 MB, free: 0.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.136e-05/0.5747, allocations: 15.86 kB / 435.8 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.575, allocations: 178.8 kB / 435.9 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.575, allocations: 4 kB / 435.9 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.943e-05/0.5751, allocations: 12 kB / 435.9 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000252/0.5753, allocations: 48.45 kB / 436 MB, free: 468 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003682/0.5757, allocations: 112.7 kB / 436.1 MB, free: 344 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.5758, allocations: 4 kB / 436.1 MB, free: 340 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.5758, allocations: 3.984 kB / 436.1 MB, free: 336 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.5758, allocations: 7.953 kB / 436.1 MB, free: 328 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.577, allocations: 0.5104 MB / 436.6 MB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.5772, allocations: 77.09 kB / 436.7 MB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.186e-05/0.5773, allocations: 25.89 kB / 436.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.5773, allocations: 0 / 436.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.5773, allocations: 42.56 kB / 436.8 MB, free: 15.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.304e-06/0.5774, allocations: 0 / 436.8 MB, free: 15.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004331/0.5778, allocations: 95.28 kB / 436.9 MB, free: 15.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.5779, allocations: 77.11 kB / 436.9 MB, free: 15.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.578, allocations: 112.9 kB / 437.1 MB, free: 15.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.578, allocations: 25.7 kB / 437.1 MB, free: 15.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.508e-05/0.5781, allocations: 123.7 kB / 437.2 MB, free: 15.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.5782, allocations: 31.55 kB / 437.2 MB, free: 15.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-06/0.5782, allocations: 3.938 kB / 437.2 MB, free: 15.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.5784, allocations: 318.8 kB / 437.5 MB, free: 14.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.495e-05/0.5784, allocations: 20 kB / 437.6 MB, free: 14.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.5786, allocations: 81.58 kB / 437.6 MB, free: 14.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.387e-05/0.5787, allocations: 27.98 kB / 437.7 MB, free: 14.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.5787, allocations: 3.938 kB / 437.7 MB, free: 14.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004208/0.5791, allocations: 155 kB / 437.8 MB, free: 14.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.5791, allocations: 8 kB / 437.8 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.5792, allocations: 0 / 437.8 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002431/0.5794, allocations: 33.72 kB / 437.9 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.5796, allocations: 23.98 kB / 437.9 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/0.582, allocations: 2.435 MB / 440.3 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.5821, allocations: 7.969 kB / 440.3 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.5822, allocations: 12 kB / 440.3 MB, free: 11.68 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.0001276/0.5823, allocations: 113.1 kB / 440.5 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003173/0.5826, allocations: 111.2 kB / 440.6 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.497e-05/0.5827, allocations: 7.906 kB / 440.6 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.151e-05/0.5828, allocations: 12.34 kB / 440.6 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.5828, allocations: 4 kB / 440.6 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5828, allocations: 0 / 440.6 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.5828, allocations: 7.938 kB / 440.6 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.5832, allocations: 166.2 kB / 440.8 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.5832, allocations: 0 / 440.8 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.5834, allocations: 19.94 kB / 440.8 MB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000177/0.5836, allocations: 33.7 kB / 440.8 MB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.5836, allocations: 0 / 440.8 MB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002387/0.586, allocations: 2.435 MB / 443.2 MB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.586, allocations: 0 / 443.2 MB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004489/0.5865, allocations: 310 kB / 443.5 MB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.5866, allocations: 85.02 kB / 443.6 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.5866, allocations: 8.047 kB / 443.6 MB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.5868, allocations: 8 kB / 443.6 MB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.5868, allocations: 8.031 kB / 443.7 MB, free: 8.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.5869, allocations: 4 kB / 443.7 MB, free: 8.027 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.728e-05/0.5869, allocations: 91.66 kB / 443.7 MB, free: 7.938 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.587, allocations: 0 / 443.7 MB, free: 7.938 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00056/0.5875, allocations: 31.94 kB / 443.8 MB, free: 7.906 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.0008709/0.5884, allocations: 0.9031 MB / 444.7 MB, free: 6.969 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00052/0.5889, allocations: 283.7 kB / 445 MB, free: 6.672 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.589, allocations: 0 / 445 MB, free: 6.672 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003507/0.5893, allocations: 239.6 kB / 445.2 MB, free: 6.418 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.5898, allocations: 15.98 kB / 445.2 MB, free: 6.402 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.591, allocations: 445.8 kB / 445.6 MB, free: 5.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.5914, allocations: 0.7201 MB / 446.4 MB, free: 5.184 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.01e-05/0.5915, allocations: 4.891 kB / 446.4 MB, free: 5.172 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.553e-05/0.5915, allocations: 35.42 kB / 446.4 MB, free: 5.137 MB / 378.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5916, allocations: 0 / 446.4 MB, free: 5.137 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0392/0.6308, allocations: 2.217 MB / 448.6 MB, free: 2.93 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000248/0.6311, allocations: 137.1 kB / 448.8 MB, free: 2.742 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/3.063, allocations: 4.031 kB / 448.8 MB, free: 2.738 MB / 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