Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(ModelicaTest): time 2.355/2.355, allocations: 234.9 MB / 241.9 MB, free: 9.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1738/2.529, allocations: 57.21 MB / 299.1 MB, free: 460 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/2.824, allocations: 54.85 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1596/2.983, allocations: 81.05 MB / 435 MB, free: 12.26 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/2.984, allocations: 67.91 kB / 435.1 MB, free: 12.2 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.03247/3.016, allocations: 5.998 MB / 441.1 MB, free: 6.137 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/3.016, allocations: 8 kB / 441.1 MB, free: 6.129 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/3.016, allocations: 43.44 kB / 441.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000425/3.017, allocations: 263.3 kB / 441.4 MB, free: 5.785 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.24e-05/3.017, allocations: 15.91 kB / 441.4 MB, free: 5.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.196e-05/3.017, allocations: 24 kB / 441.4 MB, free: 5.746 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005499/3.018, allocations: 169.5 kB / 441.6 MB, free: 5.582 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007651/3.018, allocations: 317.7 kB / 441.9 MB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.466e-05/3.018, allocations: 4 kB / 441.9 MB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/3.018, allocations: 0 / 441.9 MB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/3.018, allocations: 12 kB / 441.9 MB, free: 5.223 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003328/3.022, allocations: 1.649 MB / 443.6 MB, free: 3.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005044/3.022, allocations: 203 kB / 443.8 MB, free: 3.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/3.023, allocations: 74.14 kB / 443.9 MB, free: 3.137 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/3.023, allocations: 11.94 kB / 443.9 MB, free: 3.125 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/3.023, allocations: 38.55 kB / 443.9 MB, free: 3.078 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 2.815e-06/3.023, allocations: 0 / 443.9 MB, free: 3.078 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006981/3.023, allocations: 173.2 kB / 444.1 MB, free: 2.902 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/3.024, allocations: 221.6 kB / 444.3 MB, free: 2.637 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005004/3.024, allocations: 205 kB / 444.5 MB, free: 2.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.376e-05/3.024, allocations: 25.7 kB / 444.5 MB, free: 2.398 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/3.024, allocations: 223.2 kB / 444.7 MB, free: 2.176 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/3.025, allocations: 122.3 kB / 444.8 MB, free: 2.055 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/3.025, allocations: 0 / 444.8 MB, free: 2.055 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002952/3.025, allocations: 342.8 kB / 445.2 MB, free: 1.711 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003999/3.025, allocations: 73.31 kB / 445.3 MB, free: 1.641 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008607/3.026, allocations: 395.6 kB / 445.6 MB, free: 1.094 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006283/3.027, allocations: 143.8 kB / 445.8 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/3.027, allocations: 7.938 kB / 445.8 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001246/3.028, allocations: 417.5 kB / 446.2 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/3.028, allocations: 11.91 kB / 446.2 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/3.028, allocations: 8 kB / 446.2 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.754e-05/3.028, allocations: 20 kB / 446.2 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009502/3.029, allocations: 151.7 kB / 446.4 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.073e-05/3.029, allocations: 28.23 kB / 446.4 MB, free: 324 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005025/3.03, allocations: 51.44 kB / 446.5 MB, free: 272 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-05/3.03, allocations: 32 kB / 446.5 MB, free: 240 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001745/3.03, allocations: 137.3 kB / 446.6 MB, free: 96 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/3.03, allocations: 31.62 kB / 446.7 MB, free: 64 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/3.03, allocations: 29.7 kB / 446.7 MB, free: 36 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/3.03, allocations: 7.938 kB / 446.7 MB, free: 28 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/3.031, allocations: 4 kB / 446.7 MB, free: 24 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/3.031, allocations: 4 kB / 446.7 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1724/3.203, allocations: 0.5797 MB / 447.3 MB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/3.203, allocations: 0 / 447.3 MB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/3.204, allocations: 95.34 kB / 447.4 MB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.291e-05/3.204, allocations: 3.719 kB / 447.4 MB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.724e-05/3.204, allocations: 9.062 kB / 447.4 MB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/3.204, allocations: 1.125 kB / 447.4 MB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/3.204, allocations: 8 kB / 447.4 MB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008121/3.205, allocations: 0.8769 MB / 448.3 MB, free: 128.6 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001016/3.206, allocations: 1.3 MB / 449.6 MB, free: 127.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/3.206, allocations: 111.8 kB / 449.7 MB, free: 127.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.848e-05/3.207, allocations: 3.219 kB / 449.7 MB, free: 127.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/3.208, allocations: 6.188 kB / 449.7 MB, free: 127.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.749e-05/3.208, allocations: 30.34 kB / 449.7 MB, free: 127.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/3.208, allocations: 10.5 kB / 449.7 MB, free: 127.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002297/3.208, allocations: 157 kB / 449.9 MB, free: 127.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003239/3.211, allocations: 86.36 kB / 450 MB, free: 127.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001942/3.211, allocations: 102.8 kB / 450.1 MB, free: 127.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007583/3.212, allocations: 235.3 kB / 450.3 MB, free: 127.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/3.212, allocations: 6.25 kB / 450.3 MB, free: 127.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002174/3.212, allocations: 71.8 kB / 450.4 MB, free: 127.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/3.214, allocations: 50.72 kB / 450.4 MB, free: 127.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004087/3.218, allocations: 1.471 MB / 451.9 MB, free: 126.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006981/3.219, allocations: 0.8574 MB / 452.8 MB, free: 125.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.302e-06/3.219, allocations: 0 / 452.8 MB, free: 125.7 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat does not exist to compare? outputFormat=mat