Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Rotational_InitializationConversion_Inertia",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.601/2.601, allocations: 235.1 MB / 242 MB, free: 13.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1851/2.787, allocations: 57.2 MB / 299.2 MB, free: 3.773 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/3.141, allocations: 54.85 MB / 354.1 MB, free: 1.176 MB / 286.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1784/3.32, allocations: 80.25 MB / 434.3 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003542/3.32, allocations: 67.91 kB / 434.4 MB, free: 0.7461 MB / 366.1 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.04238/3.362, allocations: 7.129 MB / 441.5 MB, free: 9.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/3.362, allocations: 8 kB / 441.5 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/3.363, allocations: 55.34 kB / 441.6 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/3.363, allocations: 226.3 kB / 441.8 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.343e-05/3.363, allocations: 20 kB / 441.8 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/3.363, allocations: 32 kB / 441.8 MB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007925/3.364, allocations: 217.8 kB / 442.1 MB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/3.365, allocations: 380.6 kB / 442.4 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.115e-05/3.365, allocations: 15.89 kB / 442.4 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.367e-05/3.366, allocations: 0 / 442.4 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/3.366, allocations: 12 kB / 442.5 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005174/3.371, allocations: 1.617 MB / 444.1 MB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008173/3.372, allocations: 323.2 kB / 444.4 MB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/3.372, allocations: 143.6 kB / 444.5 MB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/3.372, allocations: 4 kB / 444.5 MB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.332e-05/3.372, allocations: 54.5 kB / 444.6 MB, free: 6.234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 3.686e-06/3.372, allocations: 0 / 444.6 MB, free: 6.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.001016/3.373, allocations: 237.7 kB / 444.8 MB, free: 5.996 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001735/3.373, allocations: 277.1 kB / 445.1 MB, free: 5.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/3.374, allocations: 201.2 kB / 445.3 MB, free: 5.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.769e-05/3.374, allocations: 25.7 kB / 445.3 MB, free: 5.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/3.374, allocations: 227.5 kB / 445.5 MB, free: 5.207 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/3.374, allocations: 169.5 kB / 445.7 MB, free: 5.039 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/3.374, allocations: 0 / 445.7 MB, free: 5.039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002165/3.374, allocations: 346.8 kB / 446 MB, free: 4.691 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/3.375, allocations: 109.5 kB / 446.1 MB, free: 4.582 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006504/3.376, allocations: 385.9 kB / 446.5 MB, free: 4.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005593/3.376, allocations: 167.9 kB / 446.7 MB, free: 3.906 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/3.376, allocations: 7.938 kB / 446.7 MB, free: 3.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001493/3.378, allocations: 481.5 kB / 447.2 MB, free: 3.422 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/3.378, allocations: 4 kB / 447.2 MB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.618e-05/3.378, allocations: 12 kB / 447.2 MB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.708e-05/3.378, allocations: 16 kB / 447.2 MB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/3.379, allocations: 183.6 kB / 447.4 MB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.881e-05/3.379, allocations: 19.94 kB / 447.4 MB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006082/3.38, allocations: 47.38 kB / 447.4 MB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.649e-05/3.38, allocations: 36 kB / 447.5 MB, free: 3.109 MB / 382.1 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.000192/3.38, allocations: 128.7 kB / 447.6 MB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003467/3.381, allocations: 43.61 kB / 447.6 MB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/3.381, allocations: 33.7 kB / 447.7 MB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/3.381, allocations: 8 kB / 447.7 MB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/3.381, allocations: 0 / 447.7 MB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/3.381, allocations: 4 kB / 447.7 MB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/3.383, allocations: 357.7 kB / 448 MB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/3.383, allocations: 0 / 448 MB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001585/3.384, allocations: 123.9 kB / 448.2 MB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.626e-05/3.384, allocations: 4 kB / 448.2 MB, free: 2.379 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.033e-05/3.384, allocations: 16 kB / 448.2 MB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.259e-05/3.384, allocations: 4 kB / 448.2 MB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/3.384, allocations: 3.938 kB / 448.2 MB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001669/3.386, allocations: 1.132 MB / 449.3 MB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2435/3.63, allocations: 1.594 MB / 450.9 MB, free: 32.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/3.63, allocations: 114.4 kB / 451 MB, free: 32.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001613/3.63, allocations: 7.031 kB / 451 MB, free: 32.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001532/3.632, allocations: 3.969 kB / 451 MB, free: 32.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/3.632, allocations: 26.92 kB / 451.1 MB, free: 32.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.425e-05/3.632, allocations: 15.81 kB / 451.1 MB, free: 32.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 0.0003271/3.632, allocations: 150.3 kB / 451.2 MB, free: 32.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00439/3.637, allocations: 123.2 kB / 451.3 MB, free: 32.57 MB / 382.1 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.0003711/3.637, allocations: 108.4 kB / 451.5 MB, free: 32.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001415/3.639, allocations: 302.4 kB / 451.7 MB, free: 32.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/3.639, allocations: 2.844 kB / 451.8 MB, free: 32.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004516/3.639, allocations: 126.2 kB / 451.9 MB, free: 32.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/3.642, allocations: 63.11 kB / 451.9 MB, free: 32.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00739/3.649, allocations: 1.907 MB / 453.8 MB, free: 31.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/3.65, allocations: 0.9116 MB / 454.8 MB, free: 30.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.935e-06/3.65, allocations: 0 / 454.8 MB, free: 30.59 MB / 382.1 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat