Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions2,fileNamePrefix="ModelicaTest_3_2_1_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.067/2.067, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3157/2.383, allocations: 51.03 MB / 267.3 MB, free: 5.148 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/2.501, allocations: 48.68 MB / 316 MB, free: 4.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.345/2.846, allocations: 74.91 MB / 390.9 MB, free: 1.867 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004285/2.847, allocations: 83.03 kB / 391 MB, free: 1.82 MB / 314.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.03027/2.877, allocations: 6.009 MB / 397 MB, free: 12.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.354e-05/2.877, allocations: 8 kB / 397 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003326/2.877, allocations: 44.41 kB / 397 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005485/2.878, allocations: 255.2 kB / 397.3 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/2.878, allocations: 12 kB / 397.3 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.826e-05/2.878, allocations: 35.52 kB / 397.3 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005661/2.879, allocations: 166.3 kB / 397.5 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/2.88, allocations: 320.5 kB / 397.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.29e-05/2.88, allocations: 11.53 kB / 397.8 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.174e-05/2.88, allocations: 0 / 397.8 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/2.88, allocations: 13.86 kB / 397.8 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003581/2.884, allocations: 1.648 MB / 399.5 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000515/2.884, allocations: 204.7 kB / 399.7 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/2.884, allocations: 78.44 kB / 399.8 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/2.884, allocations: 4 kB / 399.8 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/2.884, allocations: 46.31 kB / 399.8 MB, free: 10.17 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 3.196e-06/2.884, allocations: 0 / 399.8 MB, free: 10.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006961/2.885, allocations: 173.1 kB / 400 MB, free: 10.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/2.885, allocations: 209.6 kB / 400.2 MB, free: 9.762 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/2.886, allocations: 220.1 kB / 400.4 MB, free: 9.578 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/2.886, allocations: 29.7 kB / 400.4 MB, free: 9.543 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/2.886, allocations: 228.5 kB / 400.6 MB, free: 9.332 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/2.886, allocations: 115.8 kB / 400.8 MB, free: 9.234 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/2.886, allocations: 0 / 400.8 MB, free: 9.234 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/2.886, allocations: 337.6 kB / 401.1 MB, free: 8.906 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/2.886, allocations: 81.23 kB / 401.2 MB, free: 8.852 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005267/2.887, allocations: 396 kB / 401.5 MB, free: 8.359 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004785/2.887, allocations: 146 kB / 401.7 MB, free: 8.254 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/2.888, allocations: 4 kB / 401.7 MB, free: 8.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001148/2.889, allocations: 418.5 kB / 402.1 MB, free: 7.895 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/2.889, allocations: 4 kB / 402.1 MB, free: 7.891 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/2.889, allocations: 16.16 kB / 402.1 MB, free: 7.875 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.203e-05/2.889, allocations: 16 kB / 402.1 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/2.89, allocations: 151.2 kB / 402.3 MB, free: 7.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.35e-05/2.89, allocations: 23.92 kB / 402.3 MB, free: 7.691 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000559/2.89, allocations: 55.31 kB / 402.4 MB, free: 7.637 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.818e-05/2.891, allocations: 38.75 kB / 402.4 MB, free: 7.605 MB / 330.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.0001815/2.891, allocations: 128.3 kB / 402.5 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002369/2.891, allocations: 31.66 kB / 402.6 MB, free: 7.445 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/2.891, allocations: 30.92 kB / 402.6 MB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/2.891, allocations: 4 kB / 402.6 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/2.891, allocations: 11.89 kB / 402.6 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/2.891, allocations: 0 / 402.6 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/2.893, allocations: 0.585 MB / 403.2 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/2.893, allocations: 4.25 kB / 403.2 MB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/2.894, allocations: 91.14 kB / 403.3 MB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.554e-05/2.894, allocations: 4.281 kB / 403.3 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.036e-05/2.894, allocations: 15.05 kB / 403.3 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/2.894, allocations: 0 / 403.3 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/2.894, allocations: 12 kB / 403.3 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009976/2.895, allocations: 0.8687 MB / 404.2 MB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001189/2.897, allocations: 1.291 MB / 405.5 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/2.897, allocations: 126 kB / 405.6 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.542e-05/2.897, allocations: 7.125 kB / 405.6 MB, free: 4.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006033/2.898, allocations: 11.92 kB / 405.6 MB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.202e-05/2.898, allocations: 18.92 kB / 405.6 MB, free: 4.348 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/2.898, allocations: 11.98 kB / 405.6 MB, free: 4.336 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002259/2.898, allocations: 159.2 kB / 405.8 MB, free: 4.203 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00195/2.9, allocations: 99.69 kB / 405.9 MB, free: 4.105 MB / 330.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.0002133/2.9, allocations: 102.8 kB / 406 MB, free: 4 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007502/2.901, allocations: 235.6 kB / 406.2 MB, free: 3.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.088e-06/2.901, allocations: 12.06 kB / 406.2 MB, free: 3.809 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002875/2.901, allocations: 69.8 kB / 406.3 MB, free: 3.754 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/2.903, allocations: 58.41 kB / 406.4 MB, free: 3.711 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006364/2.91, allocations: 1.459 MB / 407.8 MB, free: 2.238 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/2.911, allocations: 0.8666 MB / 408.7 MB, free: 1.352 MB / 330.7 MB Notification: Performance of SimCode: time 2.364e-06/2.911, allocations: 0 / 408.7 MB, free: 1.352 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2_res.mat does not exist to compare? outputFormat=mat