Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Rotational_ForUsersGuide_Directions2",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.551/2.551, allocations: 235 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1909/2.742, allocations: 57.2 MB / 299.2 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/3.067, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1838/3.25, allocations: 81.06 MB / 435.1 MB, free: 12.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/3.251, allocations: 67.97 kB / 435.2 MB, free: 12.15 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.03184/3.283, allocations: 5.995 MB / 441.2 MB, free: 6.094 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/3.283, allocations: 8 kB / 441.2 MB, free: 6.086 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/3.283, allocations: 43.44 kB / 441.2 MB, free: 6.043 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000507/3.283, allocations: 251.4 kB / 441.5 MB, free: 5.754 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/3.283, allocations: 19.91 kB / 441.5 MB, free: 5.734 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/3.284, allocations: 27.98 kB / 441.5 MB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006614/3.284, allocations: 161.5 kB / 441.7 MB, free: 5.551 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008712/3.285, allocations: 321.7 kB / 442 MB, free: 5.203 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.517e-05/3.285, allocations: 7.984 kB / 442 MB, free: 5.195 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.523e-05/3.285, allocations: 3.938 kB / 442 MB, free: 5.191 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/3.285, allocations: 8 kB / 442 MB, free: 5.184 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003759/3.289, allocations: 1.645 MB / 443.7 MB, free: 3.445 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005485/3.29, allocations: 203 kB / 443.9 MB, free: 3.195 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/3.29, allocations: 86.06 kB / 444 MB, free: 3.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/3.29, allocations: 7.938 kB / 444 MB, free: 3.082 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/3.29, allocations: 42.5 kB / 444 MB, free: 3.031 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 3.957e-06/3.29, allocations: 0 / 444 MB, free: 3.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.0008168/3.291, allocations: 173.1 kB / 444.2 MB, free: 2.855 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/3.291, allocations: 209.6 kB / 444.4 MB, free: 2.602 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/3.291, allocations: 205 kB / 444.6 MB, free: 2.395 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.145e-05/3.291, allocations: 25.7 kB / 444.6 MB, free: 2.363 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001866/3.291, allocations: 227.2 kB / 444.8 MB, free: 2.137 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/3.292, allocations: 122.3 kB / 444.9 MB, free: 2.016 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/3.292, allocations: 4.094 kB / 445 MB, free: 2.012 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001749/3.292, allocations: 334.8 kB / 445.3 MB, free: 1.676 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/3.292, allocations: 73.31 kB / 445.3 MB, free: 1.605 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005551/3.293, allocations: 403.5 kB / 445.7 MB, free: 1.051 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004238/3.293, allocations: 139.8 kB / 445.9 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-05/3.293, allocations: 7.984 kB / 445.9 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001234/3.294, allocations: 421.4 kB / 446.3 MB, free: 500 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/3.295, allocations: 7.906 kB / 446.3 MB, free: 492 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/3.295, allocations: 12 kB / 446.3 MB, free: 480 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.578e-05/3.295, allocations: 20 kB / 446.3 MB, free: 460 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/3.296, allocations: 156.4 kB / 446.5 MB, free: 304 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.676e-05/3.296, allocations: 15.94 kB / 446.5 MB, free: 288 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006527/3.296, allocations: 59.41 kB / 446.6 MB, free: 228 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-05/3.297, allocations: 32.12 kB / 446.6 MB, free: 196 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.0001912/3.297, allocations: 132.7 kB / 446.7 MB, free: 56 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002837/3.297, allocations: 31.62 kB / 446.8 MB, free: 24 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1908/3.488, allocations: 37.48 kB / 446.8 MB, free: 129.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/3.488, allocations: 3.875 kB / 446.8 MB, free: 129.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/3.488, allocations: 0 / 446.8 MB, free: 129.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/3.488, allocations: 7.547 kB / 446.8 MB, free: 129.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/3.49, allocations: 0.571 MB / 447.4 MB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/3.49, allocations: 3.969 kB / 447.4 MB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/3.491, allocations: 91.64 kB / 447.5 MB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-05/3.491, allocations: 3.781 kB / 447.5 MB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/3.491, allocations: 15.02 kB / 447.5 MB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/3.491, allocations: 6.938 kB / 447.5 MB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/3.491, allocations: 2.906 kB / 447.5 MB, free: 129.4 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007628/3.492, allocations: 0.8749 MB / 448.4 MB, free: 128.7 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001017/3.493, allocations: 1.298 MB / 449.7 MB, free: 127.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.495e-05/3.493, allocations: 102 kB / 449.8 MB, free: 127.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/3.494, allocations: 10.16 kB / 449.8 MB, free: 127.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009361/3.494, allocations: 13.52 kB / 449.8 MB, free: 127.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/3.495, allocations: 21.89 kB / 449.8 MB, free: 127.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/3.495, allocations: 12.31 kB / 449.8 MB, free: 127.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002/3.495, allocations: 154.2 kB / 450 MB, free: 127.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0021/3.497, allocations: 98.86 kB / 450.1 MB, free: 127.4 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.0001728/3.497, allocations: 106.5 kB / 450.2 MB, free: 127.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006324/3.498, allocations: 233 kB / 450.4 MB, free: 127.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/3.498, allocations: 0 / 450.4 MB, free: 127.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000176/3.498, allocations: 70.78 kB / 450.5 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.001144/3.499, allocations: 62.5 kB / 450.5 MB, free: 127.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/3.502, allocations: 1.464 MB / 452 MB, free: 126.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005036/3.503, allocations: 0.865 MB / 452.9 MB, free: 125.8 MB / 378.7 MB Notification: Performance of SimCode: time 2.144e-06/3.503, allocations: 0 / 452.9 MB, free: 125.8 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat does not exist to compare? outputFormat=mat