Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_2_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 2.344/2.344, allocations: 235 MB / 241.9 MB, free: 9.715 MB / 194.8 MB Notification: Performance of FrontEnd - loaded program: time 0.173/2.517, allocations: 57.19 MB / 299.1 MB, free: 0.9336 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/2.88, allocations: 54.84 MB / 354 MB, free: 1.582 MB / 290.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1796/3.06, allocations: 80.26 MB / 434.2 MB, free: 11.86 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003826/3.06, allocations: 61.03 kB / 434.3 MB, free: 11.8 MB / 370.8 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.03364/3.094, allocations: 7.122 MB / 441.4 MB, free: 4.648 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/3.094, allocations: 8.75 kB / 441.4 MB, free: 4.641 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/3.094, allocations: 60.66 kB / 441.5 MB, free: 4.582 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003908/3.095, allocations: 226.3 kB / 441.7 MB, free: 4.32 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.215e-05/3.095, allocations: 19.98 kB / 441.7 MB, free: 4.301 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002022/3.095, allocations: 32 kB / 441.7 MB, free: 4.27 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001067/3.096, allocations: 217.8 kB / 442 MB, free: 4.059 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/3.097, allocations: 384.6 kB / 442.3 MB, free: 3.645 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.378e-05/3.098, allocations: 16.64 kB / 442.3 MB, free: 3.629 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.54e-05/3.098, allocations: 0 / 442.3 MB, free: 3.629 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.829e-05/3.098, allocations: 12 kB / 442.4 MB, free: 3.617 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004961/3.103, allocations: 1.609 MB / 444 MB, free: 1.938 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009648/3.104, allocations: 339.4 kB / 444.3 MB, free: 1.539 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004338/3.104, allocations: 136.9 kB / 444.4 MB, free: 1.379 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.945e-05/3.104, allocations: 8 kB / 444.4 MB, free: 1.371 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.865e-05/3.104, allocations: 50.5 kB / 444.5 MB, free: 1.312 MB / 370.8 MB Notification: Performance of pre-optimization done (n=42): time 7.674e-06/3.104, allocations: 1.594 kB / 444.5 MB, free: 1.312 MB / 370.8 MB Notification: Performance of matching and sorting (n=42): time 0.001318/3.106, allocations: 241.6 kB / 444.7 MB, free: 1.07 MB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002425/3.106, allocations: 269 kB / 445 MB, free: 0.7461 MB / 370.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004398/3.106, allocations: 201.2 kB / 445.2 MB, free: 0.543 MB / 370.8 MB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/3.106, allocations: 25.7 kB / 445.2 MB, free: 0.5117 MB / 370.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/3.107, allocations: 227.5 kB / 445.4 MB, free: 292 kB / 370.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/3.107, allocations: 169.5 kB / 445.6 MB, free: 120 kB / 370.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/3.107, allocations: 4.125 kB / 445.6 MB, free: 116 kB / 370.8 MB Notification: Performance of setup shared object (initialization): time 0.0002402/3.107, allocations: 348.3 kB / 445.9 MB, free: 15.77 MB / 386.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004301/3.108, allocations: 101.6 kB / 446 MB, free: 15.66 MB / 386.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007264/3.108, allocations: 385.9 kB / 446.4 MB, free: 15.15 MB / 386.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006393/3.109, allocations: 163.7 kB / 446.6 MB, free: 14.99 MB / 386.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.962e-05/3.109, allocations: 4 kB / 446.6 MB, free: 14.99 MB / 386.8 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00166/3.111, allocations: 485.6 kB / 447.1 MB, free: 14.51 MB / 386.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/3.111, allocations: 4 kB / 447.1 MB, free: 14.5 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/3.111, allocations: 12 kB / 447.1 MB, free: 14.49 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.158e-05/3.111, allocations: 16 kB / 447.1 MB, free: 14.48 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/3.112, allocations: 184.4 kB / 447.3 MB, free: 14.3 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.911e-05/3.112, allocations: 19.94 kB / 447.3 MB, free: 14.28 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005234/3.113, allocations: 47.75 kB / 447.3 MB, free: 14.23 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.023e-05/3.113, allocations: 40 kB / 447.4 MB, free: 14.19 MB / 386.8 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.0002316/3.113, allocations: 124.6 kB / 447.5 MB, free: 14.06 MB / 386.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005404/3.114, allocations: 44.7 kB / 447.5 MB, free: 14.02 MB / 386.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/3.114, allocations: 37.69 kB / 447.6 MB, free: 13.98 MB / 386.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/3.114, allocations: 8 kB / 447.6 MB, free: 13.98 MB / 386.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/3.114, allocations: 6.781 kB / 447.6 MB, free: 13.97 MB / 386.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/3.114, allocations: 0 / 447.6 MB, free: 13.97 MB / 386.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/3.116, allocations: 361.7 kB / 447.9 MB, free: 13.58 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/3.116, allocations: 4 kB / 447.9 MB, free: 13.58 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/3.117, allocations: 123.9 kB / 448.1 MB, free: 13.46 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.607e-05/3.117, allocations: 4 kB / 448.1 MB, free: 13.45 MB / 386.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.678e-05/3.117, allocations: 12 kB / 448.1 MB, free: 13.44 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.968e-06/3.117, allocations: 7.938 kB / 448.1 MB, free: 13.43 MB / 386.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/3.117, allocations: 3.938 kB / 448.1 MB, free: 13.43 MB / 386.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001338/3.119, allocations: 1.128 MB / 449.2 MB, free: 12.23 MB / 386.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001804/3.12, allocations: 1.605 MB / 450.8 MB, free: 10.54 MB / 386.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/3.121, allocations: 108.7 kB / 450.9 MB, free: 10.42 MB / 386.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.465e-05/3.121, allocations: 4 kB / 450.9 MB, free: 10.41 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006824/3.121, allocations: 4 kB / 450.9 MB, free: 10.41 MB / 386.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.165e-05/3.122, allocations: 27.91 kB / 451 MB, free: 10.38 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/3.122, allocations: 19.98 kB / 451 MB, free: 10.36 MB / 386.8 MB Notification: Performance of sort global known variables: time 0.0002247/3.122, allocations: 153.2 kB / 451.1 MB, free: 10.21 MB / 386.8 MB Notification: Performance of remove unused functions: time 0.002096/3.124, allocations: 123.5 kB / 451.3 MB, free: 10.09 MB / 386.8 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.0002946/3.124, allocations: 99.19 kB / 451.4 MB, free: 9.984 MB / 386.8 MB Notification: Performance of simCode: created initialization part: time 0.0009072/3.125, allocations: 313.2 kB / 451.7 MB, free: 9.68 MB / 386.8 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/3.125, allocations: 0 / 451.7 MB, free: 9.68 MB / 386.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002851/3.125, allocations: 115.8 kB / 451.8 MB, free: 9.566 MB / 386.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001395/3.127, allocations: 68.28 kB / 451.8 MB, free: 9.504 MB / 386.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007642/3.135, allocations: 1.917 MB / 453.8 MB, free: 7.535 MB / 386.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001661/3.136, allocations: 0.9161 MB / 454.7 MB, free: 6.59 MB / 386.8 MB Notification: Performance of SimCode: time 3.967e-06/3.136, allocations: 4 kB / 454.7 MB, free: 6.586 MB / 386.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat