Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_RevoluteInitialization",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.529/2.529, allocations: 235.1 MB / 242 MB, free: 9.746 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.197/2.726, allocations: 57.2 MB / 299.2 MB, free: 436 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/3.042, allocations: 54.86 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4524/3.495, allocations: 99.44 MB / 453.5 MB, free: 33.65 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/3.495, allocations: 83.02 kB / 453.6 MB, free: 33.64 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.4367/3.932, allocations: 72.83 MB / 0.5141 GB, free: 7.707 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/3.932, allocations: 8 kB / 0.5141 GB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01912/3.951, allocations: 1.699 MB / 0.5158 GB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02604/3.977, allocations: 4.113 MB / 0.5198 GB, free: 2.633 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002472/3.977, allocations: 108 kB / 0.5199 GB, free: 2.527 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002328/3.98, allocations: 200 kB / 0.5201 GB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02524/4.005, allocations: 5.182 MB / 0.5251 GB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03414/4.039, allocations: 8.1 MB / 0.533 GB, free: 4.059 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003856/4.04, allocations: 51.56 kB / 0.5331 GB, free: 4.008 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002417/4.042, allocations: 28 kB / 0.5331 GB, free: 3.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003523/4.046, allocations: 0.9302 MB / 0.534 GB, free: 3.051 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1037/4.149, allocations: 41.6 MB / 0.5747 GB, free: 8.109 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008834/4.158, allocations: 2.555 MB / 0.5772 GB, free: 5.395 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006796/4.165, allocations: 1.529 MB / 0.5787 GB, free: 3.852 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01869/4.184, allocations: 5.136 MB / 0.5837 GB, free: 14.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.632e-05/4.184, allocations: 47 kB / 0.5837 GB, free: 14.45 MB / 458.7 MB Notification: Performance of pre-optimization done (n=114): time 6.011e-06/4.184, allocations: 0 / 0.5837 GB, free: 14.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=123): time 0.04894/4.233, allocations: 10.64 MB / 0.5941 GB, free: 3.68 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/4.233, allocations: 162.9 kB / 0.5943 GB, free: 3.484 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/4.243, allocations: 2.832 MB / 0.597 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000399/4.244, allocations: 29.7 kB / 0.597 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004049/4.248, allocations: 2.619 MB / 0.5996 GB, free: 13.95 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00145/4.249, allocations: 497.9 kB / 0.6001 GB, free: 13.46 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009461/4.25, allocations: 0 / 0.6001 GB, free: 13.46 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008947/4.251, allocations: 0.5373 MB / 0.6006 GB, free: 12.92 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007592/4.259, allocations: 1.619 MB / 0.6022 GB, free: 11.29 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03224/4.291, allocations: 5.127 MB / 0.6072 GB, free: 4.367 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03626/4.327, allocations: 2.905 MB / 0.61 GB, free: 1.465 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001427/4.327, allocations: 36 kB / 0.6101 GB, free: 1.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=709) (initialization): time 0.2101/4.538, allocations: 6.011 MB / 0.6159 GB, free: 154.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/4.538, allocations: 3.969 kB / 0.6159 GB, free: 154.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002197/4.538, allocations: 128.2 kB / 0.6161 GB, free: 154.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/4.539, allocations: 340.9 kB / 0.6164 GB, free: 154.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009934/4.549, allocations: 1.286 MB / 0.6176 GB, free: 154.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003826/4.553, allocations: 2.226 MB / 0.6198 GB, free: 153.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00758/4.561, allocations: 163 kB / 0.62 GB, free: 153.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002044/4.563, allocations: 345.7 kB / 0.6203 GB, free: 153.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (681): * Single equations (assignments): 677 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002037/4.565, allocations: 417.4 kB / 0.6207 GB, free: 153.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008319/4.566, allocations: 282.5 kB / 0.621 GB, free: 153.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01001/4.576, allocations: 2.181 MB / 0.6231 GB, free: 153.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001092/4.576, allocations: 13.64 kB / 0.6231 GB, free: 153.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.989e-05/4.576, allocations: 4.375 kB / 0.6231 GB, free: 153.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.338e-05/4.576, allocations: 9.016 kB / 0.6231 GB, free: 153.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02085/4.597, allocations: 5.193 MB / 0.6282 GB, free: 152.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.201e-05/4.597, allocations: 0 / 0.6282 GB, free: 152.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00208/4.599, allocations: 166.9 kB / 0.6284 GB, free: 152.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004783/4.604, allocations: 0.6401 MB / 0.629 GB, free: 152.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003304/4.604, allocations: 7.516 kB / 0.629 GB, free: 152.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/4.615, allocations: 4.207 MB / 0.6331 GB, free: 151.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/4.615, allocations: 3.719 kB / 0.6331 GB, free: 151.6 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01412/4.629, allocations: 4.305 MB / 0.6373 GB, free: 151 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01695/4.646, allocations: 6.006 MB / 0.6432 GB, free: 149.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002023/4.648, allocations: 0.4905 MB / 0.6436 GB, free: 149.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007692/4.649, allocations: 11.25 kB / 0.6437 GB, free: 149.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002487/4.651, allocations: 42.2 kB / 0.6437 GB, free: 149.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004145/4.652, allocations: 54.64 kB / 0.6437 GB, free: 149.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001766/4.652, allocations: 36.72 kB / 0.6438 GB, free: 149.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.005767/4.658, allocations: 1.886 MB / 0.6456 GB, free: 149.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009164/4.667, allocations: 0.6995 MB / 0.6463 GB, free: 149.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 87 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007681/4.668, allocations: 136 kB / 0.6464 GB, free: 149.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0117/4.679, allocations: 3.828 MB / 0.6502 GB, free: 149 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/4.679, allocations: 0 / 0.6502 GB, free: 149 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002812/4.682, allocations: 1.056 MB / 0.6512 GB, free: 148.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003749/4.686, allocations: 277.7 kB / 0.6515 GB, free: 148.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02856/4.715, allocations: 5.889 MB / 0.6572 GB, free: 147.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00915/4.724, allocations: 3.064 MB / 0.6602 GB, free: 146 MB / 474.7 MB Notification: Performance of SimCode: time 2.806e-06/4.724, allocations: 0 / 0.6602 GB, free: 146 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat