Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Parts_PointMass",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.831/2.831, allocations: 235 MB / 242 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2037/3.035, allocations: 57.2 MB / 299.2 MB, free: 452 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/3.384, allocations: 54.85 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1942/3.579, allocations: 88.77 MB / 442.8 MB, free: 4.516 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004614/3.579, allocations: 71.95 kB / 442.9 MB, free: 4.445 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: 946 * Number of variables: 946 Notification: Performance of Generate backend data structure: time 0.4995/4.079, allocations: 47.63 MB / 490.5 MB, free: 54.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/4.079, allocations: 15.94 kB / 490.6 MB, free: 54.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01616/4.095, allocations: 1.42 MB / 492 MB, free: 53.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005164/4.1, allocations: 1.358 MB / 493.3 MB, free: 51.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/4.1, allocations: 79.98 kB / 493.4 MB, free: 51.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001396/4.102, allocations: 139.9 kB / 493.5 MB, free: 51.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0104/4.112, allocations: 3.803 MB / 497.4 MB, free: 47.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01408/4.126, allocations: 6.129 MB / 0.4917 GB, free: 40.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001257/4.126, allocations: 43.62 kB / 0.4917 GB, free: 40.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005522/4.127, allocations: 23.91 kB / 0.4917 GB, free: 40.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001067/4.128, allocations: 0.7303 MB / 0.4925 GB, free: 40.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04015/4.168, allocations: 30.66 MB / 0.5224 GB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004565/4.173, allocations: 2.032 MB / 0.5244 GB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002787/4.176, allocations: 0.9877 MB / 0.5253 GB, free: 5.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001984/4.176, allocations: 39.97 kB / 0.5254 GB, free: 5.121 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/4.176, allocations: 46.47 kB / 0.5254 GB, free: 5.066 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 6.812e-06/4.176, allocations: 0 / 0.5254 GB, free: 5.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=117): time 0.04538/4.221, allocations: 9.682 MB / 0.5349 GB, free: 11.26 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/4.222, allocations: 141 kB / 0.535 GB, free: 11.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006135/4.228, allocations: 2.022 MB / 0.537 GB, free: 9.039 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003136/4.228, allocations: 25.7 kB / 0.537 GB, free: 9.008 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002641/4.231, allocations: 2.019 MB / 0.539 GB, free: 6.953 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009838/4.232, allocations: 458.2 kB / 0.5394 GB, free: 6.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006657/4.233, allocations: 0 / 0.5394 GB, free: 6.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0008272/4.233, allocations: 0.5359 MB / 0.5399 GB, free: 5.953 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005438/4.239, allocations: 1.379 MB / 0.5413 GB, free: 4.566 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00888/4.248, allocations: 4.262 MB / 0.5455 GB, free: 14.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009343/4.257, allocations: 2.627 MB / 0.548 GB, free: 12.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001337/4.257, allocations: 28 kB / 0.548 GB, free: 12.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=593) (initialization): time 0.02387/4.281, allocations: 5.427 MB / 0.5533 GB, free: 6.746 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/4.281, allocations: 7.984 kB / 0.5534 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002312/4.282, allocations: 108.2 kB / 0.5535 GB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003081/4.285, allocations: 0.52 MB / 0.554 GB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0085/4.293, allocations: 1.064 MB / 0.555 GB, free: 5.043 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/4.306, allocations: 3.738 MB / 0.5587 GB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005907/4.312, allocations: 131.7 kB / 0.5588 GB, free: 1.059 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001635/4.314, allocations: 311.8 kB / 0.5591 GB, free: 0.7539 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 472 * Number of states: 0 () * Number of discrete variables: 18 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (560): * Single equations (assignments): 556 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001869/4.316, allocations: 356.5 kB / 0.5594 GB, free: 408 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007399/4.317, allocations: 197.4 kB / 0.5596 GB, free: 208 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008474/4.325, allocations: 1.758 MB / 0.5613 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001086/4.325, allocations: 8 kB / 0.5613 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.899e-05/4.325, allocations: 4 kB / 0.5613 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.321e-05/4.325, allocations: 7.984 kB / 0.5613 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02027/4.346, allocations: 4.466 MB / 0.5657 GB, free: 9.879 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-05/4.346, allocations: 4 kB / 0.5657 GB, free: 9.875 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002385/4.348, allocations: 171.8 kB / 0.5659 GB, free: 9.707 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003479/4.352, allocations: 376.5 kB / 0.5662 GB, free: 9.336 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000466/4.352, allocations: 11.98 kB / 0.5662 GB, free: 9.324 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01608/4.368, allocations: 3.215 MB / 0.5694 GB, free: 5.988 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/4.368, allocations: 4 kB / 0.5694 GB, free: 5.984 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01519/4.383, allocations: 3.698 MB / 0.573 GB, free: 2.238 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02008/4.404, allocations: 5.239 MB / 0.5781 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001829/4.406, allocations: 422.3 kB / 0.5785 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007861/4.406, allocations: 7.891 kB / 0.5785 GB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002575/4.409, allocations: 23.97 kB / 0.5785 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004044/4.409, allocations: 52.42 kB / 0.5786 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002142/4.41, allocations: 47.98 kB / 0.5786 GB, free: 12.38 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.004507/4.414, allocations: 1.325 MB / 0.5799 GB, free: 11.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007231/4.421, allocations: 0.5312 MB / 0.5805 GB, free: 10.51 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (88): * Single equations (assignments): 84 * 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%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008051/4.422, allocations: 151 kB / 0.5806 GB, free: 10.35 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01213/4.434, allocations: 3.337 MB / 0.5839 GB, free: 7.031 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/4.435, allocations: 3.938 kB / 0.5839 GB, free: 7.027 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003529/4.438, allocations: 0.9725 MB / 0.5848 GB, free: 6.047 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/4.44, allocations: 145.5 kB / 0.5849 GB, free: 5.902 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02002/4.46, allocations: 4.65 MB / 0.5895 GB, free: 1.176 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008008/4.468, allocations: 2.428 MB / 0.5919 GB, free: 14.71 MB / 458.7 MB Notification: Performance of SimCode: time 2.094e-06/4.468, allocations: 0 / 0.5919 GB, free: 14.71 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Parts.PointMass_res.mat does not exist to compare? outputFormat=mat