Running command: "" <> buildModelFMU(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.692/2.692, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.642e-05/4.649e-05, allocations: 3.938 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4067, allocations: 58.83 MB / 382.3 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1768/0.5836, allocations: 92.49 MB / 474.8 MB, free: 4 kB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.584, allocations: 68.05 kB / 474.9 MB, free: 15.93 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.05628/0.6403, allocations: 13.7 MB / 488.6 MB, free: 2.129 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6403, allocations: 0 / 488.6 MB, free: 2.129 MB / 410.8 MB Notification: Performance of Transformations before backend: time 8.063e-05/0.6404, allocations: 24 kB / 488.6 MB, free: 2.105 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.002111/0.6425, allocations: 0.9105 MB / 489.5 MB, free: 1.148 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.6426, allocations: 8.031 kB / 489.5 MB, free: 1.141 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00027/0.6429, allocations: 147.7 kB / 489.6 MB, free: 0.9883 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002254/0.6431, allocations: 98.78 kB / 489.7 MB, free: 0.8906 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.6444, allocations: 0.5398 MB / 490.3 MB, free: 320 kB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.941e-05/0.6445, allocations: 70 kB / 490.3 MB, free: 248 kB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001901/0.6447, allocations: 95.98 kB / 490.4 MB, free: 152 kB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002202/0.6469, allocations: 0.8424 MB / 491.3 MB, free: 15.24 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.391e-05/0.647, allocations: 11.94 kB / 491.3 MB, free: 15.23 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.6471, allocations: 40 kB / 491.3 MB, free: 15.19 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-05/0.6472, allocations: 24 kB / 491.4 MB, free: 15.17 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.6489, allocations: 475.8 kB / 491.8 MB, free: 14.7 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007726/0.6566, allocations: 3.647 MB / 495.5 MB, free: 10.9 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.6577, allocations: 207.2 kB / 495.7 MB, free: 10.68 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.6581, allocations: 92.86 kB / 495.8 MB, free: 10.59 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000317/0.6584, allocations: 251.3 kB / 496 MB, free: 10.29 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.6584, allocations: 34.56 kB / 496 MB, free: 10.25 MB / 426.8 MB Notification: Performance of pre-optimization done (n=30): time 4.288e-06/0.6585, allocations: 4 kB / 496 MB, free: 10.24 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.004352/0.6628, allocations: 1.188 MB / 497.2 MB, free: 8.953 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.6629, allocations: 63.33 kB / 497.3 MB, free: 8.879 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008541/0.6638, allocations: 339.1 kB / 497.6 MB, free: 8.543 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/0.6639, allocations: 33.64 kB / 497.7 MB, free: 8.504 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000541/0.6645, allocations: 470.1 kB / 498.1 MB, free: 8.035 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.6647, allocations: 134.1 kB / 498.2 MB, free: 7.902 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/0.6647, allocations: 12 kB / 498.3 MB, free: 7.891 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002353/0.665, allocations: 362.8 kB / 498.6 MB, free: 7.527 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004474/0.6655, allocations: 105.1 kB / 498.7 MB, free: 7.422 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006423/0.6661, allocations: 289.2 kB / 499 MB, free: 7.055 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006045/0.6667, allocations: 155.6 kB / 499.1 MB, free: 6.902 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.6668, allocations: 0 / 499.1 MB, free: 6.902 MB / 426.8 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001724/0.6685, allocations: 497.3 kB / 499.6 MB, free: 6.406 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.669e-05/0.6686, allocations: 8 kB / 499.6 MB, free: 6.398 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.6686, allocations: 4 kB / 499.6 MB, free: 6.395 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003607/0.669, allocations: 40.83 kB / 499.7 MB, free: 6.352 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.6701, allocations: 127.8 kB / 499.8 MB, free: 6.227 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006427/0.6707, allocations: 0.5526 MB / 0.4886 GB, free: 5.648 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005649/0.6713, allocations: 20.06 kB / 0.4887 GB, free: 5.629 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.54e-05/0.6714, allocations: 31.98 kB / 0.4887 GB, free: 5.598 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002313/0.6717, allocations: 140.8 kB / 0.4888 GB, free: 5.453 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.6718, allocations: 47.34 kB / 0.4889 GB, free: 5.406 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.673, allocations: 327 kB / 0.4892 GB, free: 5.078 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.6731, allocations: 4 kB / 0.4892 GB, free: 5.074 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.6731, allocations: 0 / 0.4892 GB, free: 5.074 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.6731, allocations: 3.984 kB / 0.4892 GB, free: 5.07 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003056/0.6762, allocations: 1.037 MB / 0.4902 GB, free: 3.961 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.6762, allocations: 4 kB / 0.4902 GB, free: 3.957 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.6773, allocations: 83.89 kB / 0.4903 GB, free: 3.875 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002734/0.6776, allocations: 28.84 kB / 0.4903 GB, free: 3.844 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.694e-05/0.6777, allocations: 12 kB / 0.4903 GB, free: 3.832 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005699/0.6782, allocations: 0.5447 MB / 0.4908 GB, free: 3.262 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.323e-06/0.6783, allocations: 8.094 kB / 0.4909 GB, free: 3.254 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.6799, allocations: 0.5992 MB / 0.4914 GB, free: 2.586 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001839/0.6801, allocations: 116.5 kB / 0.4916 GB, free: 2.453 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.6802, allocations: 8 kB / 0.4916 GB, free: 2.445 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000428/0.6807, allocations: 15.98 kB / 0.4916 GB, free: 2.43 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.6808, allocations: 31.92 kB / 0.4916 GB, free: 2.398 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-05/0.6809, allocations: 8 kB / 0.4916 GB, free: 2.391 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0006201/0.6815, allocations: 265.2 kB / 0.4919 GB, free: 2.133 MB / 426.8 MB Notification: Performance of sort global known variables: time 4.478e-06/0.6815, allocations: 96 / 0.4919 GB, free: 2.133 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.001243/0.6828, allocations: 144 kB / 0.492 GB, free: 1.992 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002308/0.6851, allocations: 1.501 MB / 0.4935 GB, free: 440 kB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.6864, allocations: 285.3 kB / 0.4937 GB, free: 156 kB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.6864, allocations: 0 / 0.4937 GB, free: 156 kB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005459/0.687, allocations: 132.2 kB / 0.4939 GB, free: 24 kB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009706/0.688, allocations: 76.41 kB / 0.4939 GB, free: 15.95 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005631/0.6936, allocations: 1.481 MB / 0.4954 GB, free: 14.41 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/0.6947, allocations: 0.9756 MB / 0.4963 GB, free: 13.41 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.0004867/0.6953, allocations: 52.55 kB / 0.4964 GB, free: 13.36 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007107/0.696, allocations: 295.3 kB / 0.4967 GB, free: 13.07 MB / 442.8 MB Notification: Performance of SimCode: time 1.353e-06/0.696, allocations: 0 / 0.4967 GB, free: 13.07 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08131/0.7773, allocations: 9.304 MB / 0.5058 GB, free: 3.859 MB / 442.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003459/0.7778, allocations: 171.2 kB / 0.5059 GB, free: 3.633 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.924/3.702, allocations: 0 / 0.5059 GB, free: 3.633 MB / 442.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs_res.mat does not exist to compare? outputFormat=mat