Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_ForUsersGuide_Directions",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.524/2.524, allocations: 235 MB / 241.9 MB, free: 9.793 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1881/2.712, allocations: 57.21 MB / 299.1 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/2.997, allocations: 54.84 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.179/3.176, allocations: 81.15 MB / 435.1 MB, free: 12.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003844/3.177, allocations: 71.97 kB / 435.2 MB, free: 12.12 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.03213/3.209, allocations: 6.062 MB / 441.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/3.209, allocations: 12 kB / 441.3 MB, free: 5.984 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/3.209, allocations: 43.53 kB / 441.3 MB, free: 5.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004895/3.21, allocations: 283.2 kB / 441.6 MB, free: 5.621 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/3.21, allocations: 12 kB / 441.6 MB, free: 5.609 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/3.21, allocations: 24 kB / 441.6 MB, free: 5.586 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006491/3.21, allocations: 189.5 kB / 441.8 MB, free: 5.402 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000784/3.211, allocations: 300.7 kB / 442.1 MB, free: 5.094 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/3.211, allocations: 3.906 kB / 442.1 MB, free: 5.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.646e-05/3.211, allocations: 11.98 kB / 442.1 MB, free: 5.078 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/3.211, allocations: 8 kB / 442.1 MB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002526/3.214, allocations: 0.9996 MB / 443.1 MB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005877/3.215, allocations: 233 kB / 443.3 MB, free: 3.777 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004127/3.215, allocations: 147.2 kB / 443.5 MB, free: 3.625 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.168e-05/3.215, allocations: 15.98 kB / 443.5 MB, free: 3.609 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/3.215, allocations: 34.56 kB / 443.5 MB, free: 3.566 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 5.861e-06/3.215, allocations: 4 kB / 443.5 MB, free: 3.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.005451/3.221, allocations: 2.108 MB / 445.6 MB, free: 1.184 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/3.221, allocations: 110.8 kB / 445.8 MB, free: 1.051 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/3.221, allocations: 167.1 kB / 445.9 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/3.221, allocations: 25.7 kB / 445.9 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/3.221, allocations: 165.2 kB / 446.1 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/3.221, allocations: 189.1 kB / 446.3 MB, free: 0.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/3.221, allocations: 3.938 kB / 446.3 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/3.222, allocations: 346.7 kB / 446.6 MB, free: 152 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/3.222, allocations: 105.3 kB / 446.7 MB, free: 44 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1548/3.377, allocations: 195.9 kB / 446.9 MB, free: 130.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003894/3.377, allocations: 139.8 kB / 447.1 MB, free: 130.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/3.377, allocations: 0 / 447.1 MB, free: 130.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001392/3.379, allocations: 471.1 kB / 447.5 MB, free: 130.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/3.379, allocations: 2.938 kB / 447.5 MB, free: 130.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/3.379, allocations: 6.203 kB / 447.5 MB, free: 130.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005583/3.379, allocations: 126.5 kB / 447.7 MB, free: 130.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007477/3.38, allocations: 99.97 kB / 447.8 MB, free: 130.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004326/3.384, allocations: 4.429 MB / 452.2 MB, free: 126.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004377/3.385, allocations: 12.88 kB / 452.2 MB, free: 126.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/3.385, allocations: 20.28 kB / 452.2 MB, free: 126.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000144/3.385, allocations: 121.4 kB / 452.3 MB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/3.385, allocations: 33.91 kB / 452.4 MB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/3.385, allocations: 36.52 kB / 452.4 MB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/3.385, allocations: 9.5 kB / 452.4 MB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/3.385, allocations: 2.188 kB / 452.4 MB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/3.385, allocations: 7.016 kB / 452.4 MB, free: 126.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00256/3.388, allocations: 1.188 MB / 453.6 MB, free: 125.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/3.388, allocations: 3.781 kB / 453.6 MB, free: 125.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008735/3.389, allocations: 109.8 kB / 453.7 MB, free: 125.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004664/3.389, allocations: 87.89 kB / 453.8 MB, free: 125.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.745e-05/3.389, allocations: 6.5 kB / 453.8 MB, free: 125.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003364/3.393, allocations: 3.902 MB / 457.7 MB, free: 122.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/3.393, allocations: 3.531 kB / 457.7 MB, free: 122.2 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001701/3.395, allocations: 0.8898 MB / 458.6 MB, free: 121.8 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001994/3.397, allocations: 1.423 MB / 460 MB, free: 120.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.985e-05/3.397, allocations: 106.3 kB / 460.1 MB, free: 120.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.628e-05/3.397, allocations: 7.844 kB / 460.1 MB, free: 120.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004876/3.397, allocations: 14.12 kB / 460.2 MB, free: 120.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/3.397, allocations: 31.34 kB / 460.2 MB, free: 120.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/3.397, allocations: 16.62 kB / 460.2 MB, free: 120.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000134/3.398, allocations: 128.3 kB / 460.3 MB, free: 120.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001833/3.399, allocations: 105.2 kB / 460.4 MB, free: 120.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002093/3.4, allocations: 108.2 kB / 460.5 MB, free: 120.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001712/3.401, allocations: 0.6333 MB / 461.2 MB, free: 120.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/3.401, allocations: 0 / 461.2 MB, free: 120.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/3.403, allocations: 0.5046 MB / 461.7 MB, free: 120 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000713/3.403, allocations: 38.56 kB / 461.7 MB, free: 120 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/3.406, allocations: 0.8914 MB / 462.6 MB, free: 119.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005481/3.407, allocations: 0.8614 MB / 463.5 MB, free: 118.9 MB / 378.7 MB Notification: Performance of SimCode: time 1.843e-06/3.407, allocations: 0 / 463.5 MB, free: 118.9 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat does not exist to compare? outputFormat=mat