Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Rotational_InitializationConversion_Inertia",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 1.949/1.949, allocations: 209.3 MB / 216.3 MB, free: 6.805 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2451/2.194, allocations: 51.03 MB / 267.3 MB, free: 5.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/2.317, allocations: 48.68 MB / 316 MB, free: 4.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3527/2.67, allocations: 74.09 MB / 390.1 MB, free: 2.656 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/2.67, allocations: 69.16 kB / 390.1 MB, free: 2.617 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.03073/2.701, allocations: 7.14 MB / 397.3 MB, free: 12.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/2.701, allocations: 8 kB / 397.3 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/2.701, allocations: 51.44 kB / 397.3 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/2.702, allocations: 222.2 kB / 397.6 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/2.702, allocations: 16 kB / 397.6 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/2.702, allocations: 38.7 kB / 397.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006787/2.703, allocations: 209.3 kB / 397.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/2.704, allocations: 385.9 kB / 398.2 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.553e-05/2.704, allocations: 11.89 kB / 398.2 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.344e-05/2.704, allocations: 0 / 398.2 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/2.704, allocations: 12 kB / 398.2 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004458/2.708, allocations: 1.621 MB / 399.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/2.709, allocations: 330.2 kB / 400.2 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004414/2.71, allocations: 135.3 kB / 400.3 MB, free: 9.996 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.287e-05/2.71, allocations: 7.984 kB / 400.3 MB, free: 9.988 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.158e-05/2.71, allocations: 54.38 kB / 400.3 MB, free: 9.934 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 7.855e-06/2.71, allocations: 0 / 400.3 MB, free: 9.934 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.001716/2.712, allocations: 239.6 kB / 400.6 MB, free: 9.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001938/2.712, allocations: 268.7 kB / 400.8 MB, free: 9.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004507/2.713, allocations: 204.6 kB / 401 MB, free: 9.234 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.553e-05/2.713, allocations: 25.7 kB / 401.1 MB, free: 9.203 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/2.713, allocations: 225.7 kB / 401.3 MB, free: 8.992 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/2.713, allocations: 171.1 kB / 401.5 MB, free: 8.848 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/2.713, allocations: 0 / 401.5 MB, free: 8.848 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002648/2.714, allocations: 350.3 kB / 401.8 MB, free: 8.512 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000559/2.714, allocations: 108 kB / 401.9 MB, free: 8.445 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009312/2.715, allocations: 384.7 kB / 402.3 MB, free: 7.984 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006379/2.716, allocations: 178.2 kB / 402.5 MB, free: 7.859 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/2.716, allocations: 4 kB / 402.5 MB, free: 7.855 MB / 330.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001967/2.718, allocations: 472.8 kB / 402.9 MB, free: 7.469 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/2.718, allocations: 4 kB / 402.9 MB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.574e-05/2.718, allocations: 16.86 kB / 402.9 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.346e-05/2.718, allocations: 20.06 kB / 403 MB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/2.72, allocations: 178.6 kB / 403.1 MB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.969e-05/2.72, allocations: 23.92 kB / 403.2 MB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007834/2.721, allocations: 47.38 kB / 403.2 MB, free: 7.191 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/2.721, allocations: 31.88 kB / 403.2 MB, free: 7.164 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.000256/2.721, allocations: 128 kB / 403.4 MB, free: 7.035 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004631/2.721, allocations: 35.62 kB / 403.4 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/2.722, allocations: 40.94 kB / 403.4 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/2.722, allocations: 8 kB / 403.4 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/2.722, allocations: 256 / 403.4 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/2.722, allocations: 7.984 kB / 403.4 MB, free: 6.969 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/2.725, allocations: 355.8 kB / 403.8 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/2.725, allocations: 3.984 kB / 403.8 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001782/2.727, allocations: 127.6 kB / 403.9 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.772e-05/2.727, allocations: 4 kB / 403.9 MB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.178e-05/2.727, allocations: 15.61 kB / 403.9 MB, free: 6.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.378e-06/2.727, allocations: 4 kB / 403.9 MB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/2.727, allocations: 3.906 kB / 404 MB, free: 6.492 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001517/2.728, allocations: 1.135 MB / 405.1 MB, free: 5.355 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001971/2.73, allocations: 1.589 MB / 406.7 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/2.73, allocations: 108.7 kB / 406.8 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.26e-05/2.731, allocations: 11.62 kB / 406.8 MB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006736/2.731, allocations: 7.984 kB / 406.8 MB, free: 3.672 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/2.731, allocations: 19.22 kB / 406.8 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/2.731, allocations: 19 kB / 406.8 MB, free: 3.641 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001893/2.732, allocations: 144.9 kB / 407 MB, free: 3.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002789/2.734, allocations: 127.5 kB / 407.1 MB, free: 3.395 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.0003662/2.735, allocations: 110.7 kB / 407.2 MB, free: 3.277 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001247/2.736, allocations: 301.2 kB / 407.5 MB, free: 3.051 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/2.736, allocations: 4 kB / 407.5 MB, free: 3.047 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003964/2.737, allocations: 116.5 kB / 407.6 MB, free: 2.957 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/2.739, allocations: 71.89 kB / 407.7 MB, free: 2.902 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006684/2.745, allocations: 1.918 MB / 409.6 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/2.747, allocations: 0.9136 MB / 410.5 MB, free: 36 kB / 330.7 MB Notification: Performance of SimCode: time 1.874e-06/2.747, allocations: 4 kB / 410.5 MB, free: 32 kB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat