Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.626/2.626, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.531e-05/3.536e-05, allocations: 0 / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4657/0.4658, allocations: 58.83 MB / 382.3 MB, free: 10.3 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1746/0.6404, allocations: 86.89 MB / 469.2 MB, free: 5.609 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003684/0.6409, allocations: 67.97 kB / 469.3 MB, free: 5.543 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.04041/0.6813, allocations: 6.266 MB / 475.5 MB, free: 15.23 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.935e-06/0.6814, allocations: 0 / 475.5 MB, free: 15.23 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.874e-05/0.6814, allocations: 16 kB / 475.5 MB, free: 15.22 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001938/0.6834, allocations: 0.5765 MB / 476.1 MB, free: 14.6 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 8.324e-05/0.6835, allocations: 12.03 kB / 476.1 MB, free: 14.59 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002384/0.6838, allocations: 82.52 kB / 476.2 MB, free: 14.5 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.684, allocations: 39.53 kB / 476.2 MB, free: 14.46 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007068/0.6847, allocations: 275.3 kB / 476.5 MB, free: 14.14 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.981e-05/0.6848, allocations: 32.77 kB / 476.5 MB, free: 14.11 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.685, allocations: 47.89 kB / 476.6 MB, free: 14.07 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.6863, allocations: 352.6 kB / 476.9 MB, free: 13.71 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.384e-05/0.6864, allocations: 3.938 kB / 476.9 MB, free: 13.7 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-05/0.6865, allocations: 23.89 kB / 477 MB, free: 13.68 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.6866, allocations: 16 kB / 477 MB, free: 13.66 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009683/0.6875, allocations: 200 kB / 477.2 MB, free: 13.47 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003732/0.6913, allocations: 1.097 MB / 478.3 MB, free: 12.31 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.6926, allocations: 327.6 kB / 478.6 MB, free: 11.96 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006057/0.6932, allocations: 162.6 kB / 478.7 MB, free: 11.8 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.546e-05/0.6933, allocations: 7.984 kB / 478.8 MB, free: 11.79 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.6933, allocations: 34.56 kB / 478.8 MB, free: 11.75 MB / 410.8 MB Notification: Performance of pre-optimization done (n=39): time 1.147e-05/0.6934, allocations: 0 / 478.8 MB, free: 11.75 MB / 410.8 MB Notification: Performance of matching and sorting (n=57): time 0.007418/0.7008, allocations: 2.266 MB / 481.1 MB, free: 9.211 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.701, allocations: 110.8 kB / 481.2 MB, free: 9.078 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005046/0.7015, allocations: 214.8 kB / 481.4 MB, free: 8.855 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.7016, allocations: 33.7 kB / 481.4 MB, free: 8.816 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.7018, allocations: 180.7 kB / 481.6 MB, free: 8.637 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002991/0.7022, allocations: 197.1 kB / 481.8 MB, free: 8.441 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.7022, allocations: 16 kB / 481.8 MB, free: 8.426 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0002359/0.7025, allocations: 346.8 kB / 482.1 MB, free: 8.078 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005002/0.703, allocations: 113.1 kB / 482.2 MB, free: 7.969 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006212/0.7036, allocations: 210.7 kB / 482.4 MB, free: 7.727 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006311/0.7043, allocations: 147.9 kB / 482.6 MB, free: 7.582 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.7043, allocations: 0 / 482.6 MB, free: 7.582 MB / 410.8 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002222/0.7066, allocations: 0.5187 MB / 483.1 MB, free: 7.047 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/0.7067, allocations: 8 kB / 483.1 MB, free: 7.039 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.7067, allocations: 0 / 483.1 MB, free: 7.039 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008789/0.7076, allocations: 126.5 kB / 483.2 MB, free: 6.906 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.7087, allocations: 95.89 kB / 483.3 MB, free: 6.812 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008081/0.7168, allocations: 4.669 MB / 488 MB, free: 1.746 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006732/0.7176, allocations: 24.05 kB / 488 MB, free: 1.723 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.502e-05/0.7176, allocations: 20 kB / 488 MB, free: 1.703 MB / 410.8 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.000257/0.7179, allocations: 128.9 kB / 488.2 MB, free: 1.57 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/0.7182, allocations: 35.58 kB / 488.2 MB, free: 1.535 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.7184, allocations: 49.95 kB / 488.3 MB, free: 1.484 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.7184, allocations: 4 kB / 488.3 MB, free: 1.48 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-05/0.7184, allocations: 7.938 kB / 488.3 MB, free: 1.473 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.7185, allocations: 7.984 kB / 488.3 MB, free: 1.465 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00448/0.723, allocations: 1.3 MB / 489.6 MB, free: 92 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.723, allocations: 0 / 489.6 MB, free: 92 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/0.7243, allocations: 104 kB / 489.7 MB, free: 15.98 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006948/0.725, allocations: 90.47 kB / 489.8 MB, free: 15.89 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.207e-05/0.7251, allocations: 12 kB / 489.8 MB, free: 15.88 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006936/0.732, allocations: 4.096 MB / 493.9 MB, free: 11.38 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/0.7321, allocations: 4.031 kB / 493.9 MB, free: 11.38 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002791/0.7349, allocations: 0.9376 MB / 494.8 MB, free: 10.38 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/0.7352, allocations: 104.7 kB / 494.9 MB, free: 10.25 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.7353, allocations: 12.06 kB / 494.9 MB, free: 10.24 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007223/0.7361, allocations: 27.98 kB / 495 MB, free: 10.21 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002122/0.7363, allocations: 39.94 kB / 495 MB, free: 10.18 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.396e-05/0.7364, allocations: 16 kB / 495 MB, free: 10.16 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0004344/0.7369, allocations: 171.1 kB / 495.2 MB, free: 9.992 MB / 426.8 MB Notification: Performance of sort global known variables: time 7.11e-07/0.7369, allocations: 0 / 495.2 MB, free: 9.992 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.001843/0.7388, allocations: 124 kB / 495.3 MB, free: 9.871 MB / 426.8 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.003643/0.7425, allocations: 1.846 MB / 497.1 MB, free: 7.965 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.002421/0.745, allocations: 0.6885 MB / 497.8 MB, free: 7.246 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.745, allocations: 3.938 kB / 497.8 MB, free: 7.242 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.7462, allocations: 0.5385 MB / 498.4 MB, free: 6.676 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007695/0.747, allocations: 51.78 kB / 498.4 MB, free: 6.629 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003123/0.7502, allocations: 1.001 MB / 499.4 MB, free: 5.578 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005617/0.7508, allocations: 0.832 MB / 0.4885 GB, free: 4.715 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0002511/0.7511, allocations: 31.27 kB / 0.4886 GB, free: 4.684 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/0.7514, allocations: 131.4 kB / 0.4887 GB, free: 4.559 MB / 426.8 MB Notification: Performance of SimCode: time 4.909e-06/0.7514, allocations: 7.938 kB / 0.4887 GB, free: 4.551 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03788/0.7893, allocations: 7.426 MB / 0.4959 GB, free: 13.2 MB / 442.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003467/0.7897, allocations: 176.2 kB / 0.4961 GB, free: 12.97 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.006/3.796, allocations: 0 / 0.4961 GB, free: 12.97 MB / 442.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat