Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Rotational_ForUsersGuide_Directions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.896/1.896, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.879e-05/3.89e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09968/0.09976, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4239/0.5238, allocations: 75.51 MB / 397.4 MB, free: 14.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.5241, allocations: 66.56 kB / 397.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02709/0.5512, allocations: 5.833 MB / 403.3 MB, free: 8.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5513, allocations: 0 / 403.3 MB, free: 8.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.855e-05/0.5513, allocations: 8 kB / 403.3 MB, free: 8.492 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.001298/0.5526, allocations: 0.5805 MB / 403.9 MB, free: 7.867 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.5527, allocations: 12.03 kB / 403.9 MB, free: 7.855 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000146/0.5529, allocations: 76.17 kB / 403.9 MB, free: 7.773 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.553, allocations: 47.39 kB / 404 MB, free: 7.727 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004711/0.5535, allocations: 278 kB / 404.3 MB, free: 7.414 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.056e-05/0.5535, allocations: 32.77 kB / 404.3 MB, free: 7.383 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.5536, allocations: 44 kB / 404.3 MB, free: 7.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008896/0.5545, allocations: 344.7 kB / 404.7 MB, free: 6.988 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.895e-05/0.5546, allocations: 8 kB / 404.7 MB, free: 6.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.266e-05/0.5547, allocations: 16 kB / 404.7 MB, free: 6.965 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.5547, allocations: 11.95 kB / 404.7 MB, free: 6.953 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006144/0.5553, allocations: 203.9 kB / 404.9 MB, free: 6.754 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/0.5578, allocations: 1.109 MB / 406 MB, free: 5.586 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000756/0.5586, allocations: 327.6 kB / 406.3 MB, free: 5.238 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004025/0.559, allocations: 154.6 kB / 406.5 MB, free: 5.078 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.497e-05/0.5591, allocations: 8 kB / 406.5 MB, free: 5.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.5591, allocations: 42.5 kB / 406.5 MB, free: 5.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 3.236e-06/0.5591, allocations: 3.938 kB / 406.5 MB, free: 5.016 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.005409/0.5645, allocations: 2.266 MB / 408.8 MB, free: 2.477 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/0.5647, allocations: 114.8 kB / 408.9 MB, free: 2.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003662/0.565, allocations: 215.1 kB / 409.1 MB, free: 2.125 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.416e-05/0.5651, allocations: 33.7 kB / 409.2 MB, free: 2.086 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.5653, allocations: 239.1 kB / 409.4 MB, free: 1.852 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/0.5655, allocations: 197 kB / 409.6 MB, free: 1.656 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.5656, allocations: 8 kB / 409.6 MB, free: 1.648 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.5657, allocations: 342.8 kB / 409.9 MB, free: 1.305 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.5661, allocations: 113.1 kB / 410 MB, free: 1.195 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004177/0.5665, allocations: 202.8 kB / 410.2 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000434/0.567, allocations: 156.4 kB / 410.4 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.567, allocations: 0 / 410.4 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001474/0.5685, allocations: 0.4954 MB / 410.9 MB, free: 304 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.5685, allocations: 4 kB / 410.9 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.5686, allocations: 8.094 kB / 410.9 MB, free: 292 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006162/0.5692, allocations: 122.7 kB / 411 MB, free: 160 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007491/0.5699, allocations: 99.83 kB / 411.1 MB, free: 60 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00577/0.5757, allocations: 4.661 MB / 415.8 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004542/0.5762, allocations: 24.02 kB / 415.8 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-05/0.5763, allocations: 20 kB / 415.8 MB, free: 10.96 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.0001735/0.5765, allocations: 129 kB / 415.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.5766, allocations: 39.58 kB / 416 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.5768, allocations: 49.95 kB / 416 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.5768, allocations: 4 kB / 416 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.789e-05/0.5768, allocations: 4 kB / 416 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.5769, allocations: 7.922 kB / 416 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003008/0.5799, allocations: 1.297 MB / 417.3 MB, free: 9.348 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/0.5799, allocations: 3.953 kB / 417.3 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008562/0.5808, allocations: 103.9 kB / 417.4 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004802/0.5813, allocations: 90.56 kB / 417.5 MB, free: 9.145 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.081e-05/0.5814, allocations: 16.17 kB / 417.5 MB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004275/0.5857, allocations: 4.092 MB / 421.6 MB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.5857, allocations: 4.031 kB / 421.6 MB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.5876, allocations: 0.9471 MB / 422.6 MB, free: 3.617 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002224/0.5879, allocations: 136.7 kB / 422.7 MB, free: 3.465 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.958e-05/0.5879, allocations: 12 kB / 422.7 MB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/0.5884, allocations: 23.98 kB / 422.8 MB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.5885, allocations: 48 kB / 422.8 MB, free: 3.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.446e-05/0.5886, allocations: 20 kB / 422.8 MB, free: 3.363 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002466/0.5889, allocations: 171.1 kB / 423 MB, free: 3.195 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5889, allocations: 0 / 423 MB, free: 3.195 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001003/0.5899, allocations: 128 kB / 423.1 MB, free: 3.07 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.002367/0.5923, allocations: 1.828 MB / 424.9 MB, free: 1.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001602/0.5939, allocations: 0.6963 MB / 425.6 MB, free: 464 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.5939, allocations: 0 / 425.6 MB, free: 464 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.5951, allocations: 0.5283 MB / 426.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007114/0.5958, allocations: 59.8 kB / 426.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.5986, allocations: 1.038 MB / 427.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.5991, allocations: 0.8289 MB / 428.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/0.5994, allocations: 131.4 kB / 428.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5995, allocations: 4 kB / 428.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.759/3.358, allocations: 10.5 MB / 438.7 MB, free: 3.242 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat