Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.449/2.449, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.658e-05/3.662e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4153, allocations: 54.85 MB / 359.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2271/0.6425, allocations: 81.88 MB / 441.8 MB, free: 14.94 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/0.6428, allocations: 63.97 kB / 441.8 MB, free: 14.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02686/0.6697, allocations: 5.811 MB / 447.6 MB, free: 9.082 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.6698, allocations: 0 / 447.6 MB, free: 9.082 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.253e-05/0.6698, allocations: 8 kB / 447.6 MB, free: 9.074 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001354/0.6712, allocations: 0.5766 MB / 448.2 MB, free: 8.453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.6713, allocations: 16.02 kB / 448.2 MB, free: 8.438 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001252/0.6714, allocations: 74.53 kB / 448.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.6715, allocations: 47.44 kB / 448.4 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.672, allocations: 275.4 kB / 448.6 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.835e-05/0.672, allocations: 28.78 kB / 448.7 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.521e-05/0.6721, allocations: 43.86 kB / 448.7 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008615/0.673, allocations: 352.7 kB / 449 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/0.6731, allocations: 4 kB / 449 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.645e-05/0.6731, allocations: 12 kB / 449.1 MB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.6732, allocations: 12 kB / 449.1 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006064/0.6738, allocations: 203.9 kB / 449.3 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002459/0.6762, allocations: 1.097 MB / 450.4 MB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007486/0.677, allocations: 330.3 kB / 450.7 MB, free: 5.832 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000382/0.6774, allocations: 163.2 kB / 450.8 MB, free: 5.664 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.055e-05/0.6775, allocations: 11.98 kB / 450.9 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.6775, allocations: 38.56 kB / 450.9 MB, free: 5.605 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 3.297e-06/0.6776, allocations: 0 / 450.9 MB, free: 5.605 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.005346/0.6829, allocations: 2.257 MB / 453.2 MB, free: 3.082 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.276e-05/0.6831, allocations: 114.8 kB / 453.3 MB, free: 2.945 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003425/0.6834, allocations: 214.9 kB / 453.5 MB, free: 2.723 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/0.6835, allocations: 37.7 kB / 453.5 MB, free: 2.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.6836, allocations: 184.6 kB / 453.7 MB, free: 2.496 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.6839, allocations: 197.1 kB / 453.9 MB, free: 2.301 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.6839, allocations: 8 kB / 453.9 MB, free: 2.293 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.6841, allocations: 346.8 kB / 454.2 MB, free: 1.945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/0.6845, allocations: 113.1 kB / 454.3 MB, free: 1.836 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005307/0.685, allocations: 218 kB / 454.6 MB, free: 1.594 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004763/0.6855, allocations: 151 kB / 454.7 MB, free: 1.449 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.6855, allocations: 0 / 454.7 MB, free: 1.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001484/0.687, allocations: 0.5147 MB / 455.2 MB, free: 0.918 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.6871, allocations: 9.719 kB / 455.2 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.6871, allocations: 4 kB / 455.2 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005821/0.6877, allocations: 122.6 kB / 455.3 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007299/0.6885, allocations: 103.8 kB / 455.5 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005639/0.6941, allocations: 4.653 MB / 460.1 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004557/0.6946, allocations: 21.03 kB / 460.1 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-05/0.6947, allocations: 16 kB / 460.1 MB, free: 11.59 MB / 394.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.0001907/0.6949, allocations: 144.9 kB / 460.3 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.6951, allocations: 35.61 kB / 460.3 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.6952, allocations: 41.97 kB / 460.4 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.6953, allocations: 8 kB / 460.4 MB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/0.6953, allocations: 0 / 460.4 MB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.6953, allocations: 7.984 kB / 460.4 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003164/0.6985, allocations: 1.3 MB / 461.7 MB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.6985, allocations: 0 / 461.7 MB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008594/0.6994, allocations: 103.9 kB / 461.8 MB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004848/0.6999, allocations: 99.95 kB / 461.9 MB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.014e-05/0.7, allocations: 12 kB / 461.9 MB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004454/0.7044, allocations: 4.085 MB / 466 MB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/0.7045, allocations: 15.86 kB / 466 MB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.7064, allocations: 0.9317 MB / 466.9 MB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.7066, allocations: 104.7 kB / 467 MB, free: 4.129 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.171e-05/0.7067, allocations: 16.05 kB / 467 MB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004637/0.7071, allocations: 20 kB / 467.1 MB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.7073, allocations: 47.83 kB / 467.1 MB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.083e-05/0.7074, allocations: 12 kB / 467.1 MB, free: 4.035 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002348/0.7076, allocations: 179.1 kB / 467.3 MB, free: 3.863 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7076, allocations: 0 / 467.3 MB, free: 3.863 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001011/0.7086, allocations: 120 kB / 467.4 MB, free: 3.746 MB / 394.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.002398/0.7111, allocations: 1.834 MB / 469.2 MB, free: 1.848 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00161/0.7127, allocations: 0.6977 MB / 469.9 MB, free: 1.121 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.7127, allocations: 8.125 kB / 469.9 MB, free: 1.113 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.7139, allocations: 0.5244 MB / 470.5 MB, free: 0.5586 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007298/0.7146, allocations: 55.52 kB / 470.5 MB, free: 0.5078 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002948/0.7176, allocations: 1.017 MB / 471.5 MB, free: 15.44 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005499/0.7182, allocations: 0.8281 MB / 472.4 MB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002222/0.7184, allocations: 35.27 kB / 472.4 MB, free: 14.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/0.7187, allocations: 135.4 kB / 472.5 MB, free: 14.42 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/0.7187, allocations: 0 / 472.5 MB, free: 14.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04083/0.7596, allocations: 7.424 MB / 480 MB, free: 7.07 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003131/0.7599, allocations: 176.3 kB / 480.1 MB, free: 6.844 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.82/3.58, allocations: 0 / 480.1 MB, free: 6.844 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat