Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.935/1.935, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.067e-05/3.072e-05, allocations: 0 / 273.1 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1029, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4146/0.5177, allocations: 75.5 MB / 397.4 MB, free: 14.14 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.518, allocations: 71.95 kB / 397.4 MB, free: 14.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02799/0.546, allocations: 5.83 MB / 403.3 MB, free: 8.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.546, allocations: 0 / 403.3 MB, free: 8.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.304e-05/0.5461, allocations: 8 kB / 403.3 MB, free: 8.223 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0016/0.5477, allocations: 0.5883 MB / 403.8 MB, free: 7.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.434e-05/0.5478, allocations: 12.02 kB / 403.9 MB, free: 7.578 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001633/0.548, allocations: 80.33 kB / 403.9 MB, free: 7.492 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.5481, allocations: 47.39 kB / 404 MB, free: 7.445 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005705/0.5487, allocations: 278 kB / 404.3 MB, free: 7.133 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.549e-05/0.5488, allocations: 32.78 kB / 404.3 MB, free: 7.102 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.5489, allocations: 44 kB / 404.3 MB, free: 7.059 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.5501, allocations: 350.2 kB / 404.7 MB, free: 6.699 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.044e-05/0.5502, allocations: 4 kB / 404.7 MB, free: 6.695 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.804e-05/0.5503, allocations: 16 kB / 404.7 MB, free: 6.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.5503, allocations: 11.95 kB / 404.7 MB, free: 6.668 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008575/0.5512, allocations: 211.9 kB / 404.9 MB, free: 6.461 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003239/0.5545, allocations: 1.105 MB / 406 MB, free: 5.297 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.5556, allocations: 331.5 kB / 406.3 MB, free: 4.945 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000537/0.5561, allocations: 162.5 kB / 406.5 MB, free: 4.777 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.623e-05/0.5562, allocations: 4 kB / 406.5 MB, free: 4.773 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/0.5563, allocations: 38.56 kB / 406.5 MB, free: 4.727 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 4.739e-06/0.5563, allocations: 0 / 406.5 MB, free: 4.727 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.00733/0.5636, allocations: 2.274 MB / 408.8 MB, free: 2.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.5638, allocations: 118.7 kB / 408.9 MB, free: 2.039 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004763/0.5643, allocations: 215.2 kB / 409.1 MB, free: 1.828 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.962e-05/0.5644, allocations: 33.7 kB / 409.2 MB, free: 1.789 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.5646, allocations: 184.6 kB / 409.4 MB, free: 1.605 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/0.5649, allocations: 197 kB / 409.5 MB, free: 1.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/0.565, allocations: 12 kB / 409.6 MB, free: 1.398 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002355/0.5652, allocations: 350.8 kB / 409.9 MB, free: 1.047 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004962/0.5658, allocations: 121.1 kB / 410 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005899/0.5664, allocations: 207.9 kB / 410.2 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000595/0.567, allocations: 148.4 kB / 410.4 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.567, allocations: 0 / 410.4 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002028/0.5691, allocations: 0.5264 MB / 410.9 MB, free: 4 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.5691, allocations: 4 kB / 410.9 MB, free: 0 / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.5692, allocations: 8.281 kB / 410.9 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007691/0.57, allocations: 118.5 kB / 411 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000952/0.5709, allocations: 103.8 kB / 411.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007444/0.5784, allocations: 4.669 MB / 415.8 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006512/0.5791, allocations: 20 kB / 415.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-05/0.5792, allocations: 19.98 kB / 415.8 MB, free: 10.66 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002453/0.5795, allocations: 133 kB / 416 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.5797, allocations: 35.58 kB / 416 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.5799, allocations: 49.95 kB / 416 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/0.5799, allocations: 11.98 kB / 416.1 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.936e-05/0.58, allocations: 3.938 kB / 416.1 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.58, allocations: 7.984 kB / 416.1 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004126/0.5841, allocations: 1.301 MB / 417.4 MB, free: 9.035 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.5842, allocations: 3.953 kB / 417.4 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.5853, allocations: 99.83 kB / 417.5 MB, free: 8.934 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006566/0.586, allocations: 98.61 kB / 417.6 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.961e-05/0.5861, allocations: 8 kB / 417.6 MB, free: 8.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005744/0.5919, allocations: 4.104 MB / 421.7 MB, free: 4.316 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.5919, allocations: 4.031 kB / 421.7 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/0.594, allocations: 0.9433 MB / 422.6 MB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002282/0.5942, allocations: 132.7 kB / 422.8 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.208e-05/0.5943, allocations: 19.98 kB / 422.8 MB, free: 3.137 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004255/0.5947, allocations: 16 kB / 422.8 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.5949, allocations: 43.94 kB / 422.8 MB, free: 3.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.17e-05/0.5949, allocations: 19.94 kB / 422.8 MB, free: 3.059 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002462/0.5952, allocations: 175.1 kB / 423 MB, free: 2.887 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5952, allocations: 4 kB / 423 MB, free: 2.883 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009112/0.5961, allocations: 120 kB / 423.1 MB, free: 2.766 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00244/0.5986, allocations: 1.836 MB / 425 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.6003, allocations: 0.7188 MB / 425.7 MB, free: 112 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.6003, allocations: 0 / 425.7 MB, free: 112 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.6015, allocations: 0.5571 MB / 426.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000703/0.6023, allocations: 57.47 kB / 426.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/0.6051, allocations: 1.005 MB / 427.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/0.6057, allocations: 0.832 MB / 428.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000227/0.6059, allocations: 39.25 kB / 428.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/0.6062, allocations: 135.4 kB / 428.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of SimCode: time 8.51e-07/0.6062, allocations: 0 / 428.3 MB, free: 13.37 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03511/0.6414, allocations: 7.48 MB / 435.8 MB, free: 5.969 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000328/0.6418, allocations: 181.7 kB / 436 MB, free: 5.738 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.817/3.459, allocations: 0 / 436 MB, free: 5.738 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat