Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",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.467/2.467, allocations: 235 MB / 241.9 MB, free: 9.766 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1794/2.647, allocations: 57.2 MB / 299.1 MB, free: 460 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/2.989, allocations: 54.85 MB / 354 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1663/3.155, allocations: 82.44 MB / 436.4 MB, free: 10.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003614/3.156, allocations: 71.97 kB / 436.5 MB, free: 10.79 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0237/3.179, allocations: 4.547 MB / 441 MB, free: 6.184 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/3.179, allocations: 8 kB / 441 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/3.179, allocations: 27.72 kB / 441.1 MB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/3.18, allocations: 230.7 kB / 441.3 MB, free: 5.883 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.947e-05/3.18, allocations: 12 kB / 441.3 MB, free: 5.871 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.358e-05/3.18, allocations: 23.91 kB / 441.3 MB, free: 5.848 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006644/3.181, allocations: 188.8 kB / 441.5 MB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006277/3.181, allocations: 202.4 kB / 441.7 MB, free: 5.461 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/3.181, allocations: 15.92 kB / 441.7 MB, free: 5.445 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.347e-05/3.181, allocations: 0 / 441.7 MB, free: 5.445 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/3.182, allocations: 4 kB / 441.7 MB, free: 5.441 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/3.184, allocations: 0.6582 MB / 442.4 MB, free: 4.738 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004289/3.184, allocations: 154.2 kB / 442.5 MB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003731/3.185, allocations: 129.2 kB / 442.7 MB, free: 4.453 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.487e-05/3.185, allocations: 4.234 kB / 442.7 MB, free: 4.449 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/3.185, allocations: 38.78 kB / 442.7 MB, free: 4.402 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 3.627e-06/3.185, allocations: 0 / 442.7 MB, free: 4.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.004017/3.189, allocations: 1.088 MB / 443.8 MB, free: 3.219 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.673e-05/3.189, allocations: 59.41 kB / 443.9 MB, free: 3.148 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/3.189, allocations: 143.3 kB / 444 MB, free: 3.004 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.605e-05/3.189, allocations: 29.7 kB / 444 MB, free: 2.969 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/3.189, allocations: 120.7 kB / 444.1 MB, free: 2.848 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002825/3.19, allocations: 118.3 kB / 444.3 MB, free: 2.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/3.19, allocations: 0 / 444.3 MB, free: 2.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001924/3.19, allocations: 330.8 kB / 444.6 MB, free: 2.398 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/3.19, allocations: 100 kB / 444.7 MB, free: 2.301 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003802/3.191, allocations: 139.4 kB / 444.8 MB, free: 2.152 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004396/3.191, allocations: 99.97 kB / 444.9 MB, free: 2.055 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/3.191, allocations: 0 / 444.9 MB, free: 2.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001288/3.192, allocations: 358 kB / 445.3 MB, free: 1.695 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/3.193, allocations: 4 kB / 445.3 MB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/3.193, allocations: 4 kB / 445.3 MB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000744/3.193, allocations: 184.8 kB / 445.4 MB, free: 1.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000488/3.194, allocations: 55.89 kB / 445.5 MB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/3.195, allocations: 0.7437 MB / 446.2 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000598/3.196, allocations: 47.97 kB / 446.3 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.721e-05/3.196, allocations: 19.89 kB / 446.3 MB, free: 0.6133 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: bearingFriction1.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode,bearingFriction1.free) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002445/3.196, allocations: 119 kB / 446.4 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.228e-05/3.196, allocations: 27.72 kB / 446.5 MB, free: 476 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/3.198, allocations: 400.8 kB / 446.8 MB, free: 68 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/3.198, allocations: 4 kB / 446.8 MB, free: 64 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.944e-06/3.198, allocations: 4 kB / 446.9 MB, free: 60 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/3.198, allocations: 7.984 kB / 446.9 MB, free: 52 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1574/3.355, allocations: 0.846 MB / 447.7 MB, free: 131.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/3.355, allocations: 0 / 447.7 MB, free: 131.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004598/3.356, allocations: 54.84 kB / 447.8 MB, free: 131.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000628/3.357, allocations: 170.1 kB / 447.9 MB, free: 131.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.295e-05/3.357, allocations: 2.297 kB / 447.9 MB, free: 131.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000981/3.358, allocations: 0.7014 MB / 448.6 MB, free: 131 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/3.358, allocations: 0 / 448.6 MB, free: 131 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001537/3.359, allocations: 0.5936 MB / 449.2 MB, free: 130.8 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001896/3.361, allocations: 1.108 MB / 450.3 MB, free: 130.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/3.361, allocations: 121.2 kB / 450.5 MB, free: 130.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.675e-05/3.361, allocations: 6.719 kB / 450.5 MB, free: 130.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005582/3.362, allocations: 48.69 kB / 450.5 MB, free: 130.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/3.362, allocations: 59.28 kB / 450.6 MB, free: 130.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.231e-05/3.362, allocations: 14.83 kB / 450.6 MB, free: 130.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001544/3.362, allocations: 115.8 kB / 450.7 MB, free: 130 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001479/3.364, allocations: 67.83 kB / 450.8 MB, free: 130 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003276/3.364, allocations: 125.5 kB / 450.9 MB, free: 130 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009641/3.365, allocations: 302.4 kB / 451.2 MB, free: 129.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/3.365, allocations: 0 / 451.2 MB, free: 129.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005184/3.366, allocations: 140.7 kB / 451.3 MB, free: 129.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/3.366, allocations: 14.88 kB / 451.3 MB, free: 129.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/3.368, allocations: 453.7 kB / 451.8 MB, free: 129.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003544/3.368, allocations: 0.7919 MB / 452.6 MB, free: 129.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.452e-06/3.368, allocations: 0 / 452.6 MB, free: 129.1 MB / 378.7 MB