Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Rotational_InitializationConversion_SpringDamper",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.238/2.238, allocations: 235 MB / 241.9 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1694/2.407, allocations: 57.2 MB / 299.1 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/2.713, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1713/2.884, allocations: 81.47 MB / 435.4 MB, free: 11.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003384/2.884, allocations: 71.89 kB / 435.5 MB, free: 11.79 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.04772/2.932, allocations: 8.689 MB / 444.2 MB, free: 3.008 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/2.932, allocations: 8 kB / 444.2 MB, free: 3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/2.932, allocations: 55.34 kB / 444.3 MB, free: 2.945 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006283/2.933, allocations: 297.3 kB / 444.6 MB, free: 2.617 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/2.933, allocations: 16 kB / 444.6 MB, free: 2.602 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/2.933, allocations: 43.84 kB / 444.6 MB, free: 2.559 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009028/2.934, allocations: 273.9 kB / 444.9 MB, free: 2.293 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009714/2.935, allocations: 356.2 kB / 445.2 MB, free: 1.922 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.765e-05/2.935, allocations: 11.81 kB / 445.2 MB, free: 1.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.471e-05/2.935, allocations: 0 / 445.2 MB, free: 1.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-05/2.935, allocations: 12 kB / 445.2 MB, free: 1.898 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003106/2.938, allocations: 1.065 MB / 446.3 MB, free: 0.793 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008518/2.939, allocations: 289.2 kB / 446.6 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005439/2.94, allocations: 199.2 kB / 446.8 MB, free: 300 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/2.94, allocations: 4.438 kB / 446.8 MB, free: 296 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/2.94, allocations: 39 kB / 446.8 MB, free: 244 kB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 3.898e-06/2.94, allocations: 0 / 446.8 MB, free: 244 kB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.1562/3.096, allocations: 1.804 MB / 448.6 MB, free: 127.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/3.096, allocations: 86.92 kB / 448.7 MB, free: 127.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/3.097, allocations: 191.9 kB / 448.9 MB, free: 127.6 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/3.097, allocations: 25.7 kB / 448.9 MB, free: 127.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.971e-05/3.097, allocations: 183.6 kB / 449.1 MB, free: 127.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/3.097, allocations: 263.4 kB / 449.4 MB, free: 127.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/3.097, allocations: 2.688 kB / 449.4 MB, free: 127.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/3.097, allocations: 356.4 kB / 449.7 MB, free: 127 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003661/3.097, allocations: 130.2 kB / 449.8 MB, free: 127 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000445/3.098, allocations: 248.5 kB / 450.1 MB, free: 126.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/3.098, allocations: 179 kB / 450.3 MB, free: 126.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/3.098, allocations: 0 / 450.3 MB, free: 126.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001287/3.1, allocations: 492.2 kB / 450.7 MB, free: 126.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/3.1, allocations: 5.219 kB / 450.8 MB, free: 126.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/3.1, allocations: 2.375 kB / 450.8 MB, free: 126.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.275e-05/3.1, allocations: 7.688 kB / 450.8 MB, free: 126.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/3.101, allocations: 184.2 kB / 450.9 MB, free: 126.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/3.101, allocations: 8.938 kB / 451 MB, free: 126.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005454/3.102, allocations: 12.14 kB / 451 MB, free: 126.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/3.102, allocations: 27.58 kB / 451 MB, free: 126.8 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 (97): * Single equations (assignments): 97 * 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.0001604/3.102, allocations: 118.5 kB / 451.1 MB, free: 126.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/3.102, allocations: 46.94 kB / 451.2 MB, free: 126.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/3.102, allocations: 48.06 kB / 451.2 MB, free: 126.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/3.102, allocations: 12.58 kB / 451.2 MB, free: 126.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/3.102, allocations: 0 / 451.2 MB, free: 126.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/3.102, allocations: 3.094 kB / 451.2 MB, free: 126.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/3.105, allocations: 1.3 MB / 452.5 MB, free: 126.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/3.105, allocations: 6.562 kB / 452.5 MB, free: 126.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/3.106, allocations: 162.7 kB / 452.7 MB, free: 126.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.839e-05/3.107, allocations: 7.062 kB / 452.7 MB, free: 126.1 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.823e-05/3.107, allocations: 7.094 kB / 452.7 MB, free: 126.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/3.107, allocations: 11.47 kB / 452.7 MB, free: 126.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.986e-06/3.107, allocations: 6.875 kB / 452.7 MB, free: 126.1 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001546/3.108, allocations: 0.9832 MB / 453.7 MB, free: 125.6 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002067/3.11, allocations: 1.533 MB / 455.2 MB, free: 124.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/3.111, allocations: 113.8 kB / 455.3 MB, free: 124.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.51e-05/3.111, allocations: 8.031 kB / 455.3 MB, free: 124.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005459/3.111, allocations: 3.844 kB / 455.4 MB, free: 124.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.998e-05/3.111, allocations: 55.7 kB / 455.4 MB, free: 124.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-05/3.111, allocations: 20.38 kB / 455.4 MB, free: 124.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001734/3.112, allocations: 152.9 kB / 455.6 MB, free: 124.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001581/3.113, allocations: 118.4 kB / 455.7 MB, free: 124.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.0002357/3.113, allocations: 118.5 kB / 455.8 MB, free: 124.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001091/3.114, allocations: 403.5 kB / 456.2 MB, free: 124.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/3.115, allocations: 0.6562 kB / 456.2 MB, free: 124.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000562/3.115, allocations: 218.5 kB / 456.4 MB, free: 124.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/3.116, allocations: 93.11 kB / 456.5 MB, free: 124.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004189/3.121, allocations: 1.485 MB / 458 MB, free: 123.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000867/3.122, allocations: 0.9286 MB / 458.9 MB, free: 122.8 MB / 378.7 MB Notification: Performance of SimCode: time 2.234e-06/3.122, allocations: 0 / 458.9 MB, free: 122.8 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat