Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_ForUsersGuide_SimpleDriveTrain",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.363/2.363, allocations: 234.9 MB / 241.9 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1309/2.493, allocations: 57.21 MB / 299.1 MB, free: 468 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/2.743, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1577/2.901, allocations: 80.57 MB / 434.5 MB, free: 12.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/2.901, allocations: 71.95 kB / 434.6 MB, free: 12.68 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.01062/2.912, allocations: 2.399 MB / 437 MB, free: 10.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/2.912, allocations: 8 kB / 437 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.559e-05/2.912, allocations: 15.81 kB / 437 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/2.912, allocations: 202.8 kB / 437.2 MB, free: 9.977 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/2.912, allocations: 4 kB / 437.2 MB, free: 9.973 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/2.912, allocations: 11.94 kB / 437.2 MB, free: 9.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002531/2.912, allocations: 63.98 kB / 437.3 MB, free: 9.898 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00028/2.913, allocations: 105.5 kB / 437.4 MB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/2.913, allocations: 7.984 kB / 437.4 MB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/2.913, allocations: 0 / 437.4 MB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/2.913, allocations: 4 kB / 437.4 MB, free: 9.777 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/2.914, allocations: 436.7 kB / 437.9 MB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/2.914, allocations: 77.7 kB / 437.9 MB, free: 9.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/2.914, allocations: 44.86 kB / 438 MB, free: 9.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/2.914, allocations: 0 / 438 MB, free: 9.184 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/2.914, allocations: 34.56 kB / 438 MB, free: 9.141 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 3.987e-06/2.914, allocations: 0 / 438 MB, free: 9.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.00189/2.916, allocations: 0.6961 MB / 438.7 MB, free: 8.352 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/2.916, allocations: 55.41 kB / 438.8 MB, free: 8.285 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/2.916, allocations: 117.4 kB / 438.9 MB, free: 8.164 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/2.916, allocations: 25.7 kB / 438.9 MB, free: 8.133 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.036e-05/2.916, allocations: 112.3 kB / 439 MB, free: 8.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.151e-05/2.916, allocations: 67.03 kB / 439.1 MB, free: 7.953 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.858e-06/2.917, allocations: 0 / 439.1 MB, free: 7.953 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000167/2.917, allocations: 326.8 kB / 439.4 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/2.917, allocations: 32.38 kB / 439.4 MB, free: 7.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/2.917, allocations: 67.94 kB / 439.5 MB, free: 7.512 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/2.917, allocations: 47.97 kB / 439.5 MB, free: 7.465 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/2.917, allocations: 3.906 kB / 439.5 MB, free: 7.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005497/2.918, allocations: 170.3 kB / 439.7 MB, free: 7.285 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/2.918, allocations: 4 kB / 439.7 MB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/2.918, allocations: 3.938 kB / 439.7 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002417/2.918, allocations: 40.84 kB / 439.8 MB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/2.918, allocations: 40.03 kB / 439.8 MB, free: 7.195 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/2.92, allocations: 1.478 MB / 441.3 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/2.921, allocations: 4 kB / 441.3 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/2.921, allocations: 12.05 kB / 441.3 MB, free: 5.582 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001226/2.921, allocations: 104.9 kB / 441.4 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.524e-05/2.921, allocations: 11.91 kB / 441.4 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.465e-05/2.921, allocations: 16.5 kB / 441.4 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/2.921, allocations: 8.062 kB / 441.4 MB, free: 5.434 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/2.921, allocations: 3.938 kB / 441.4 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/2.921, allocations: 0 / 441.4 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/2.922, allocations: 0.4901 MB / 441.9 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/2.922, allocations: 0 / 441.9 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003495/2.922, allocations: 40 kB / 442 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002265/2.923, allocations: 32.84 kB / 442 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/2.923, allocations: 8.031 kB / 442 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/2.924, allocations: 1.295 MB / 443.3 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/2.924, allocations: 0 / 443.3 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007105/2.925, allocations: 337.9 kB / 443.6 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009306/2.926, allocations: 0.7456 MB / 444.4 MB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.912e-05/2.926, allocations: 88.92 kB / 444.5 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/2.926, allocations: 128 / 444.5 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/2.926, allocations: 9.031 kB / 444.5 MB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/2.926, allocations: 7.984 kB / 444.5 MB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/2.926, allocations: 4 kB / 444.5 MB, free: 2.141 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.83e-05/2.927, allocations: 99.27 kB / 444.6 MB, free: 2.043 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001301/2.928, allocations: 32 kB / 444.6 MB, free: 2.012 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001645/2.928, allocations: 99.19 kB / 444.7 MB, free: 1.906 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005632/2.929, allocations: 225.8 kB / 444.9 MB, free: 1.676 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/2.929, allocations: 0 / 444.9 MB, free: 1.676 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003515/2.929, allocations: 169.6 kB / 445.1 MB, free: 1.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/2.929, allocations: 8.609 kB / 445.1 MB, free: 1.492 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009626/2.93, allocations: 333.1 kB / 445.4 MB, free: 1.137 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004655/2.931, allocations: 0.7387 MB / 446.2 MB, free: 384 kB / 378.7 MB Notification: Performance of SimCode: time 1.062e-06/2.931, allocations: 0 / 446.2 MB, free: 384 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SimpleDriveTrain_res.mat does not exist to compare? outputFormat=mat