Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_3_2_1_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 1.875/1.875, allocations: 209.3 MB / 216.3 MB, free: 6.785 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2558/2.131, allocations: 51.03 MB / 267.3 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/2.259, allocations: 48.69 MB / 316 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3282/2.588, allocations: 75.32 MB / 391.3 MB, free: 1.359 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/2.588, allocations: 73.58 kB / 391.4 MB, free: 1.316 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.04343/2.631, allocations: 8.695 MB / 400.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/2.631, allocations: 9.859 kB / 400.1 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/2.632, allocations: 55.34 kB / 400.1 MB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005251/2.632, allocations: 294 kB / 400.4 MB, free: 9.828 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/2.632, allocations: 16 kB / 400.4 MB, free: 9.812 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/2.632, allocations: 31.5 kB / 400.5 MB, free: 9.785 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008234/2.633, allocations: 277.5 kB / 400.7 MB, free: 9.594 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/2.634, allocations: 356.9 kB / 401.1 MB, free: 9.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.906e-05/2.634, allocations: 11.84 kB / 401.1 MB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.332e-05/2.634, allocations: 0 / 401.1 MB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/2.634, allocations: 12 kB / 401.1 MB, free: 9.297 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002999/2.637, allocations: 1.071 MB / 402.2 MB, free: 8.402 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008153/2.638, allocations: 290.5 kB / 402.5 MB, free: 8.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005599/2.639, allocations: 193.6 kB / 402.6 MB, free: 8.047 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/2.639, allocations: 8.438 kB / 402.7 MB, free: 8.039 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/2.639, allocations: 42.19 kB / 402.7 MB, free: 7.996 MB / 330.7 MB Notification: Performance of pre-optimization done (n=62): time 6.872e-06/2.639, allocations: 3.984 kB / 402.7 MB, free: 7.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=74): time 0.004477/2.643, allocations: 1.805 MB / 404.5 MB, free: 6.266 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/2.643, allocations: 85.61 kB / 404.6 MB, free: 6.164 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/2.644, allocations: 193.1 kB / 404.8 MB, free: 5.996 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.553e-05/2.644, allocations: 29.7 kB / 404.8 MB, free: 5.961 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/2.644, allocations: 190.6 kB / 405 MB, free: 5.789 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002584/2.644, allocations: 257.8 kB / 405.2 MB, free: 5.566 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/2.644, allocations: 0 / 405.2 MB, free: 5.566 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001732/2.644, allocations: 356.3 kB / 405.6 MB, free: 5.227 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004052/2.645, allocations: 134.8 kB / 405.7 MB, free: 5.148 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/2.645, allocations: 238 kB / 406 MB, free: 4.941 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005081/2.646, allocations: 181.1 kB / 406.1 MB, free: 4.824 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/2.646, allocations: 0 / 406.1 MB, free: 4.824 MB / 330.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001265/2.647, allocations: 495.6 kB / 406.6 MB, free: 4.438 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/2.647, allocations: 8 kB / 406.6 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/2.647, allocations: 0 / 406.6 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.253e-05/2.647, allocations: 8.281 kB / 406.6 MB, free: 4.422 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/2.649, allocations: 190.5 kB / 406.8 MB, free: 4.242 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/2.649, allocations: 7.984 kB / 406.8 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00059/2.649, allocations: 8 kB / 406.8 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.109e-05/2.649, allocations: 23.75 kB / 406.9 MB, free: 4.207 MB / 330.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.0001761/2.65, allocations: 116.3 kB / 407 MB, free: 4.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/2.65, allocations: 47.44 kB / 407 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001853/2.65, allocations: 43.67 kB / 407.1 MB, free: 4.023 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/2.65, allocations: 12 kB / 407.1 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/2.65, allocations: 4 kB / 407.1 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/2.65, allocations: 3.984 kB / 407.1 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/2.653, allocations: 1.303 MB / 408.4 MB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/2.653, allocations: 4 kB / 408.4 MB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001472/2.655, allocations: 159.6 kB / 408.5 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.789e-05/2.655, allocations: 4 kB / 408.5 MB, free: 2.668 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.086e-05/2.655, allocations: 11.23 kB / 408.6 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-05/2.655, allocations: 12.28 kB / 408.6 MB, free: 2.648 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.343e-06/2.655, allocations: 11.94 kB / 408.6 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001758/2.657, allocations: 0.9724 MB / 409.5 MB, free: 1.719 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002894/2.659, allocations: 1.536 MB / 411.1 MB, free: 320 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/2.66, allocations: 108.6 kB / 411.2 MB, free: 192 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.629e-05/2.66, allocations: 4 kB / 411.2 MB, free: 188 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000538/2.66, allocations: 15.98 kB / 411.2 MB, free: 172 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.761e-05/2.661, allocations: 43.91 kB / 411.3 MB, free: 136 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.104e-05/2.661, allocations: 27.86 kB / 411.3 MB, free: 112 kB / 330.7 MB Notification: Performance of sort global known variables: time 0.000262/2.661, allocations: 150.4 kB / 411.4 MB, free: 15.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001947/2.663, allocations: 120 kB / 411.5 MB, free: 15.87 MB / 346.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.0002549/2.663, allocations: 113.6 kB / 411.7 MB, free: 15.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00114/2.664, allocations: 412.6 kB / 412.1 MB, free: 15.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/2.664, allocations: 0 / 412.1 MB, free: 15.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005331/2.665, allocations: 213.3 kB / 412.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/2.667, allocations: 92.64 kB / 412.4 MB, free: 15.22 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004337/2.671, allocations: 1.485 MB / 413.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009071/2.672, allocations: 0.9271 MB / 414.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of SimCode: time 1.333e-06/2.672, allocations: 0 / 414.8 MB, free: 12.8 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat does not exist to compare? outputFormat=mat