Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",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.613/2.613, allocations: 235.1 MB / 242 MB, free: 9.734 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1522/2.766, allocations: 57.19 MB / 299.2 MB, free: 428 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/3.092, allocations: 54.86 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1917/3.284, allocations: 82.44 MB / 436.5 MB, free: 10.81 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/3.285, allocations: 75.91 kB / 436.6 MB, free: 10.74 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.02582/3.31, allocations: 4.539 MB / 441.1 MB, free: 6.137 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/3.31, allocations: 8 kB / 441.1 MB, free: 6.129 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/3.311, allocations: 27.72 kB / 441.2 MB, free: 6.102 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004372/3.311, allocations: 230.7 kB / 441.4 MB, free: 5.836 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/3.311, allocations: 8 kB / 441.4 MB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.941e-05/3.311, allocations: 15.91 kB / 441.4 MB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000757/3.312, allocations: 196.8 kB / 441.6 MB, free: 5.617 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006918/3.313, allocations: 206.4 kB / 441.8 MB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/3.313, allocations: 4 kB / 441.8 MB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.784e-05/3.313, allocations: 0 / 441.8 MB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/3.313, allocations: 7.938 kB / 441.8 MB, free: 5.402 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002606/3.315, allocations: 0.6621 MB / 442.5 MB, free: 4.695 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005495/3.316, allocations: 154.2 kB / 442.6 MB, free: 4.539 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003958/3.316, allocations: 133.2 kB / 442.8 MB, free: 4.406 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.84e-05/3.316, allocations: 4.234 kB / 442.8 MB, free: 4.402 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/3.317, allocations: 38.8 kB / 442.8 MB, free: 4.355 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 4.077e-06/3.317, allocations: 0 / 442.8 MB, free: 4.355 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.004394/3.321, allocations: 1.088 MB / 443.9 MB, free: 3.172 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/3.321, allocations: 59.34 kB / 444 MB, free: 3.102 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/3.321, allocations: 143.3 kB / 444.1 MB, free: 2.957 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.972e-05/3.321, allocations: 29.7 kB / 444.1 MB, free: 2.922 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/3.322, allocations: 124.7 kB / 444.2 MB, free: 2.797 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000172/3.322, allocations: 118.3 kB / 444.4 MB, free: 2.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/3.322, allocations: 0 / 444.4 MB, free: 2.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/3.322, allocations: 330.8 kB / 444.7 MB, free: 2.348 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/3.322, allocations: 100 kB / 444.8 MB, free: 2.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004033/3.323, allocations: 131.4 kB / 444.9 MB, free: 2.109 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004897/3.323, allocations: 108 kB / 445 MB, free: 2.004 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/3.323, allocations: 0 / 445 MB, free: 2.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001462/3.325, allocations: 354 kB / 445.4 MB, free: 1.648 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/3.325, allocations: 4 kB / 445.4 MB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.345e-05/3.325, allocations: 7.984 kB / 445.4 MB, free: 1.637 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008354/3.326, allocations: 184.8 kB / 445.6 MB, free: 1.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005381/3.326, allocations: 51.91 kB / 445.6 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/3.328, allocations: 0.7397 MB / 446.3 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006729/3.328, allocations: 48.02 kB / 446.4 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.76e-05/3.329, allocations: 19.89 kB / 446.4 MB, free: 0.5703 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.0002589/3.329, allocations: 112.9 kB / 446.5 MB, free: 464 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/3.329, allocations: 27.66 kB / 446.6 MB, free: 436 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/3.331, allocations: 404.8 kB / 446.9 MB, free: 24 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/3.331, allocations: 4 kB / 447 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/3.331, allocations: 0 / 447 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/3.331, allocations: 7.984 kB / 447 MB, free: 12 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1693/3.5, allocations: 0.8529 MB / 447.8 MB, free: 131.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/3.5, allocations: 0 / 447.8 MB, free: 131.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/3.501, allocations: 55.02 kB / 447.9 MB, free: 131.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006385/3.501, allocations: 163.8 kB / 448 MB, free: 131.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.615e-05/3.501, allocations: 9.938 kB / 448 MB, free: 131.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009857/3.502, allocations: 0.6906 MB / 448.7 MB, free: 130.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/3.502, allocations: 0.75 kB / 448.7 MB, free: 130.8 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001736/3.504, allocations: 0.5997 MB / 449.3 MB, free: 130.6 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002153/3.506, allocations: 1.108 MB / 450.4 MB, free: 130.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/3.507, allocations: 122.8 kB / 450.6 MB, free: 130 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.462e-05/3.507, allocations: 7.375 kB / 450.6 MB, free: 130 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006143/3.507, allocations: 48.39 kB / 450.6 MB, free: 130 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/3.508, allocations: 60.7 kB / 450.7 MB, free: 130 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-05/3.508, allocations: 13.23 kB / 450.7 MB, free: 130 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001561/3.508, allocations: 117.4 kB / 450.8 MB, free: 129.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001566/3.509, allocations: 65.83 kB / 450.9 MB, free: 129.9 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.0002941/3.51, allocations: 127.1 kB / 451 MB, free: 129.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001001/3.511, allocations: 306.8 kB / 451.3 MB, free: 129.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/3.511, allocations: 0 / 451.3 MB, free: 129.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004983/3.511, allocations: 138.8 kB / 451.4 MB, free: 129.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00052/3.512, allocations: 17.55 kB / 451.4 MB, free: 129.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/3.514, allocations: 453.4 kB / 451.9 MB, free: 129.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003946/3.514, allocations: 0.7852 MB / 452.7 MB, free: 129 MB / 378.7 MB Notification: Performance of SimCode: time 1.383e-06/3.514, allocations: 4 kB / 452.7 MB, free: 129 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat does not exist to compare? outputFormat=mat