Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperParallel,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_SpringDamperParallel",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.54/2.54, allocations: 235 MB / 242 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1747/2.715, allocations: 57.2 MB / 299.2 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/2.982, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4884/3.471, allocations: 94.92 MB / 449 MB, free: 31.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003675/3.471, allocations: 71.89 kB / 449.1 MB, free: 31.99 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: 2401 * Number of variables: 2401 Notification: Performance of Generate backend data structure: time 0.6585/4.13, allocations: 117.8 MB / 0.5536 GB, free: 15.58 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/4.13, allocations: 15.94 kB / 0.5536 GB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02251/4.152, allocations: 2.319 MB / 0.5559 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01581/4.168, allocations: 3.67 MB / 0.5595 GB, free: 9.496 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005671/4.169, allocations: 220 kB / 0.5597 GB, free: 9.281 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004506/4.173, allocations: 399.8 kB / 0.5601 GB, free: 8.891 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0343/4.208, allocations: 10.66 MB / 0.5705 GB, free: 14.22 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0513/4.259, allocations: 15.15 MB / 0.5853 GB, free: 13.93 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004981/4.26, allocations: 83.23 kB / 0.5854 GB, free: 13.84 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00342/4.263, allocations: 36 kB / 0.5854 GB, free: 13.81 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00577/4.269, allocations: 1.874 MB / 0.5872 GB, free: 11.93 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3463/4.615, allocations: 69.58 MB / 0.6552 GB, free: 93.25 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02011/4.635, allocations: 6.896 MB / 0.6619 GB, free: 92.52 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01269/4.648, allocations: 5.609 MB / 0.6674 GB, free: 92.45 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001775/4.65, allocations: 1.108 MB / 0.6685 GB, free: 91.6 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.632e-05/4.65, allocations: 75.84 kB / 0.6685 GB, free: 91.55 MB / 474.7 MB Notification: Performance of pre-optimization done (n=361): time 8.596e-06/4.65, allocations: 0 / 0.6685 GB, free: 91.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=508): time 0.3488/4.999, allocations: 63.13 MB / 0.7302 GB, free: 76.58 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000188/4.999, allocations: 259.6 kB / 0.7304 GB, free: 76.33 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01554/5.015, allocations: 3.386 MB / 0.7337 GB, free: 75.07 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002187/5.017, allocations: 29.48 kB / 0.7338 GB, free: 75.04 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005274/5.022, allocations: 3.968 MB / 0.7376 GB, free: 72.36 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.005212/5.028, allocations: 1.761 MB / 0.7394 GB, free: 71.02 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0031/5.031, allocations: 0 / 0.7394 GB, free: 71.02 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001643/5.033, allocations: 0.7114 MB / 0.7401 GB, free: 70.54 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02503/5.058, allocations: 5.55 MB / 0.7455 GB, free: 67.43 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0289/5.087, allocations: 10.07 MB / 0.7553 GB, free: 56.02 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03448/5.121, allocations: 8.012 MB / 0.7631 GB, free: 49.35 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003351/5.122, allocations: 44 kB / 0.7632 GB, free: 49.31 MB / 474.7 MB Notification: Performance of matching and sorting (n=1251) (initialization): time 0.0688/5.19, allocations: 18.09 MB / 0.7808 GB, free: 34.21 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/5.19, allocations: 12.03 kB / 0.7809 GB, free: 34.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003171/5.191, allocations: 156 kB / 0.781 GB, free: 34.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02053/5.211, allocations: 3.276 MB / 0.7842 GB, free: 31.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0219/5.233, allocations: 2.241 MB / 0.7864 GB, free: 29.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06677/5.3, allocations: 24.03 MB / 0.8099 GB, free: 7.332 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01603/5.316, allocations: 321.6 kB / 0.8102 GB, free: 7.082 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003692/5.32, allocations: 0.5763 MB / 0.8107 GB, free: 6.551 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 719 * Number of states: 0 () * Number of discrete variables: 51 (prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],universal2.cylinderColor[3],universal2.cylinderColor[2],universal2.cylinderColor[1],pm3.sphereColor[3],pm3.sphereColor[2],pm3.sphereColor[1],springDamperParallel2.color[3],springDamperParallel2.color[2],springDamperParallel2.color[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pm2.sphereColor[3],pm2.sphereColor[2],pm2.sphereColor[1],springDamperParallel1.color[3],springDamperParallel1.color[2],springDamperParallel1.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],pm1.sphereColor[3],pm1.sphereColor[2],pm1.sphereColor[1],springDamperParallel.color[3],springDamperParallel.color[2],springDamperParallel.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 (1156): * Single equations (assignments): 1143 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005743/5.326, allocations: 0.5282 MB / 0.8112 GB, free: 6.023 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003231/5.329, allocations: 454.2 kB / 0.8117 GB, free: 5.574 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2915/5.621, allocations: 14.37 MB / 0.8257 GB, free: 116.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001966/5.621, allocations: 49.09 kB / 0.8258 GB, free: 116.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.275e-05/5.621, allocations: 15.41 kB / 0.8258 GB, free: 116.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001611/5.621, allocations: 21.52 kB / 0.8258 GB, free: 116.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1048/5.726, allocations: 25.87 MB / 0.8511 GB, free: 115.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.457e-05/5.726, allocations: 0 / 0.8511 GB, free: 115.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01259/5.739, allocations: 0.8369 MB / 0.8519 GB, free: 115.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02948/5.768, allocations: 3.476 MB / 0.8553 GB, free: 115.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002596/5.771, allocations: 39.05 kB / 0.8553 GB, free: 115.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03867/5.81, allocations: 19.54 MB / 0.8744 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.049e-05/5.81, allocations: 13.03 kB / 0.8744 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.08137/5.891, allocations: 21.96 MB / 0.8958 GB, free: 97.45 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.09809/5.989, allocations: 30.29 MB / 0.9254 GB, free: 84.97 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007492/5.997, allocations: 1.55 MB / 0.9269 GB, free: 84.17 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003279/6, allocations: 13.81 kB / 0.9269 GB, free: 84.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009957/6.01, allocations: 220.9 kB / 0.9272 GB, free: 84.16 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002364/6.013, allocations: 251.1 kB / 0.9274 GB, free: 84.13 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001319/6.014, allocations: 170.1 kB / 0.9276 GB, free: 84.09 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.007315/6.021, allocations: 2.215 MB / 0.9297 GB, free: 82.88 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01631/6.038, allocations: 1.691 MB / 0.9314 GB, free: 81.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 18 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic.s,prismatic.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v,pm3.r_0[1],pm3.r_0[2],pm3.r_0[3],pm3.v_0[1],pm3.v_0[2],pm3.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (425): * Single equations (assignments): 407 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 7 {(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002364/6.04, allocations: 200.3 kB / 0.9316 GB, free: 81.07 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.04244/6.082, allocations: 14.47 MB / 0.9457 GB, free: 68.19 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/6.083, allocations: 0 / 0.9457 GB, free: 68.19 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03126/6.114, allocations: 8.123 MB / 0.9536 GB, free: 60.77 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005869/6.12, allocations: 315.1 kB / 0.9539 GB, free: 60.49 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06816/6.188, allocations: 16.54 MB / 0.9701 GB, free: 46.07 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02142/6.209, allocations: 5.403 MB / 0.9753 GB, free: 41.97 MB / 474.7 MB Notification: Performance of SimCode: time 1.674e-06/6.209, allocations: 0 / 0.9753 GB, free: 41.97 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat does not exist to compare? outputFormat=mat