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.959/1.959, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.62e-05/2.632e-05, allocations: 4 kB / 267.6 MB, free: 5.324 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 48.7 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3942/0.4959, allocations: 75.09 MB / 391.4 MB, free: 1.156 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.4962, allocations: 70.22 kB / 391.5 MB, free: 1.121 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02515/0.5214, allocations: 5.77 MB / 397.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5214, allocations: 0 / 397.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.584e-05/0.5215, allocations: 8 kB / 397.2 MB, free: 12.38 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.001206/0.5227, allocations: 0.5821 MB / 397.8 MB, free: 11.78 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.5227, allocations: 8.031 kB / 397.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.5229, allocations: 55.39 kB / 397.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004315/0.5233, allocations: 279.2 kB / 398.2 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.5234, allocations: 15.94 kB / 398.2 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.568e-05/0.5235, allocations: 20 kB / 398.2 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005863/0.5241, allocations: 192.8 kB / 398.4 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007109/0.5248, allocations: 301.1 kB / 398.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.5248, allocations: 4 kB / 398.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.868e-05/0.5249, allocations: 0.9844 kB / 398.7 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.5249, allocations: 11.95 kB / 398.7 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.5271, allocations: 1.02 MB / 399.7 MB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006609/0.5278, allocations: 309.2 kB / 400 MB, free: 9.891 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003381/0.5282, allocations: 144.8 kB / 400.2 MB, free: 9.785 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.88e-05/0.5283, allocations: 4 kB / 400.2 MB, free: 9.781 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.5283, allocations: 42 kB / 400.2 MB, free: 9.734 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 3.457e-06/0.5283, allocations: 0 / 400.2 MB, free: 9.734 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.004735/0.5331, allocations: 2.135 MB / 402.3 MB, free: 7.582 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.5332, allocations: 114.6 kB / 402.4 MB, free: 7.449 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.5334, allocations: 164.2 kB / 402.6 MB, free: 7.305 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.5335, allocations: 25.7 kB / 402.6 MB, free: 7.273 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.5336, allocations: 246.3 kB / 402.9 MB, free: 7.055 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.5338, allocations: 194 kB / 403.1 MB, free: 6.887 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.5339, allocations: 0 / 403.1 MB, free: 6.887 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.534, allocations: 333.6 kB / 403.4 MB, free: 6.559 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.5343, allocations: 102.9 kB / 403.5 MB, free: 6.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/0.5347, allocations: 199.4 kB / 403.7 MB, free: 6.324 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.535, allocations: 130.3 kB / 403.8 MB, free: 6.246 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.5351, allocations: 0 / 403.8 MB, free: 6.246 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001316/0.5364, allocations: 466.3 kB / 404.3 MB, free: 5.879 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.5364, allocations: 8 kB / 404.3 MB, free: 5.871 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.5365, allocations: 4 kB / 404.3 MB, free: 5.867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005578/0.537, allocations: 127.5 kB / 404.4 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007261/0.5378, allocations: 99.69 kB / 404.5 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005348/0.5432, allocations: 4.474 MB / 409 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000417/0.5436, allocations: 19.97 kB / 409 MB, free: 1.203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-05/0.5437, allocations: 15.88 kB / 409 MB, free: 1.191 MB / 330.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.000168/0.5439, allocations: 120.5 kB / 409.1 MB, free: 1.07 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001206/0.5451, allocations: 422.8 kB / 409.5 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.5452, allocations: 35.62 kB / 409.6 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.5453, allocations: 39.95 kB / 409.6 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.5454, allocations: 4 kB / 409.6 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/0.5454, allocations: 7.953 kB / 409.6 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.5454, allocations: 0 / 409.6 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/0.5481, allocations: 1.197 MB / 410.8 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.5481, allocations: 3.938 kB / 410.8 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008441/0.549, allocations: 107.2 kB / 410.9 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000452/0.5495, allocations: 83.66 kB / 411 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.024e-05/0.5495, allocations: 11.92 kB / 411 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004092/0.5536, allocations: 3.923 MB / 414.9 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.5537, allocations: 12.11 kB / 415 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.5554, allocations: 0.8878 MB / 415.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/0.5556, allocations: 131.2 kB / 416 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.46e-05/0.5557, allocations: 4 kB / 416 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004193/0.5561, allocations: 12 kB / 416 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.5563, allocations: 47.08 kB / 416 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.5563, allocations: 12 kB / 416.1 MB, free: 10.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001568/0.5565, allocations: 134.4 kB / 416.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5565, allocations: 0 / 416.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001052/0.5576, allocations: 100 kB / 416.3 MB, free: 10.2 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.002175/0.5598, allocations: 1.789 MB / 418.1 MB, free: 8.516 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.5613, allocations: 0.6668 MB / 418.7 MB, free: 7.934 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.5614, allocations: 0 / 418.7 MB, free: 7.934 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.5624, allocations: 0.521 MB / 419.3 MB, free: 7.445 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007231/0.5632, allocations: 45.09 kB / 419.3 MB, free: 7.402 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.5661, allocations: 0.9957 MB / 420.3 MB, free: 6.426 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/0.5667, allocations: 0.8359 MB / 421.1 MB, free: 5.559 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.567, allocations: 126 kB / 421.3 MB, free: 5.52 MB / 346.7 MB Notification: Performance of SimCode: time 1.693e-06/0.567, allocations: 0 / 421.3 MB, free: 5.52 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.84/3.408, allocations: 10.32 MB / 431.6 MB, free: 11.27 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