Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperParallel,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperParallel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.566/2.566, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.608e-05/4.594e-05, allocations: 7.984 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1315, allocations: 61.88 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5771/0.7086, allocations: 105.7 MB / 0.504 GB, free: 14.24 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/0.7089, allocations: 83.94 kB / 0.5041 GB, free: 14.16 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.004/1.713, allocations: 129.3 MB / 0.6303 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.895e-06/1.713, allocations: 0 / 0.6303 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004297/1.713, allocations: 135.7 kB / 0.6305 GB, free: 105.2 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2641 * Number of variables: 2641 Notification: Performance of Generate backend data structure: time 0.03145/1.745, allocations: 6.736 MB / 0.637 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/1.745, allocations: 8.875 kB / 0.637 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006134/1.751, allocations: 1.304 MB / 0.6383 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02106/1.772, allocations: 2.806 MB / 0.6411 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01437/1.787, allocations: 3.875 MB / 0.6448 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007496/1.787, allocations: 0.5477 MB / 0.6454 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00444/1.792, allocations: 0.7446 MB / 0.6461 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07422/1.866, allocations: 20.4 MB / 0.666 GB, free: 97.95 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000605/1.867, allocations: 80.41 kB / 0.6661 GB, free: 97.94 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004124/1.871, allocations: 345.1 kB / 0.6664 GB, free: 97.94 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004807/1.876, allocations: 1.958 MB / 0.6684 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07975/1.956, allocations: 17.74 MB / 0.6857 GB, free: 94.32 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1427/2.098, allocations: 74.95 MB / 0.7589 GB, free: 32.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05363/2.152, allocations: 8.596 MB / 0.7673 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01589/2.168, allocations: 5.727 MB / 0.7729 GB, free: 19.92 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0633/2.231, allocations: 19.89 MB / 0.7923 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/2.232, allocations: 77.17 kB / 0.7924 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=386): time 1.274e-05/2.232, allocations: 0 / 0.7924 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=531): time 0.7646/2.996, allocations: 59.07 MB / 0.85 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/2.996, allocations: 184.6 kB / 0.8502 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.013/3.009, allocations: 4.505 MB / 0.8546 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002851/3.012, allocations: 110 kB / 0.8547 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00479/3.017, allocations: 4.519 MB / 0.8591 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004286/3.022, allocations: 1.911 MB / 0.861 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002791/3.024, allocations: 206.9 kB / 0.8612 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.00125/3.026, allocations: 0.7323 MB / 0.8619 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01506/3.041, allocations: 5.474 MB / 0.8673 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0192/3.06, allocations: 10.31 MB / 0.8773 GB, free: 93.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01891/3.079, allocations: 7.504 MB / 0.8847 GB, free: 90.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002094/3.079, allocations: 51.3 kB / 0.8847 GB, free: 90.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1325) (initialization): time 0.07919/3.158, allocations: 18.02 MB / 0.9023 GB, free: 84.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000241/3.159, allocations: 79.25 kB / 0.9024 GB, free: 84.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004286/3.159, allocations: 170.9 kB / 0.9025 GB, free: 84.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02327/3.183, allocations: 3.128 MB / 0.9056 GB, free: 83.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01955/3.202, allocations: 2.394 MB / 0.9079 GB, free: 82.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03797/3.24, allocations: 24.2 MB / 0.9316 GB, free: 59.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0132/3.253, allocations: 0.578 MB / 0.9321 GB, free: 59.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002846/3.256, allocations: 0.5614 MB / 0.9327 GB, free: 58.75 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 768 * Number of states: 0 () * Number of discrete variables: 72 (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],springDamperParallel2.color_b[3],springDamperParallel2.color_b[2],springDamperParallel2.color_b[1],springDamperParallel2.color_a[3],springDamperParallel2.color_a[2],springDamperParallel2.color_a[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],springDamperParallel1.color_b[3],springDamperParallel1.color_b[2],springDamperParallel1.color_b[1],springDamperParallel1.color_a[3],springDamperParallel1.color_a[2],springDamperParallel1.color_a[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],springDamperParallel.color_b[3],springDamperParallel.color_b[2],springDamperParallel.color_b[1],springDamperParallel.color_a[3],springDamperParallel.color_a[2],springDamperParallel.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (1230): * Single equations (assignments): 1217 * 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.004778/3.261, allocations: 0.8487 MB / 0.9335 GB, free: 57.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002233/3.263, allocations: 0.5438 MB / 0.934 GB, free: 57.35 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04324/3.307, allocations: 13.19 MB / 0.9469 GB, free: 46.39 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-05/3.307, allocations: 52 kB / 0.947 GB, free: 46.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-05/3.307, allocations: 15.95 kB / 0.947 GB, free: 46.33 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001692/3.307, allocations: 30.77 kB / 0.947 GB, free: 46.32 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08195/3.389, allocations: 26.02 MB / 0.9724 GB, free: 24.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.731e-05/3.389, allocations: 7.938 kB / 0.9724 GB, free: 24.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01036/3.4, allocations: 0.8937 MB / 0.9733 GB, free: 23.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01709/3.417, allocations: 3.336 MB / 0.9766 GB, free: 19.96 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001749/3.419, allocations: 99.98 kB / 0.9767 GB, free: 19.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03404/3.453, allocations: 21.07 MB / 0.9972 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-05/3.453, allocations: 11.94 kB / 0.9972 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5044/3.957, allocations: 21.05 MB / 1.018 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002175/3.959, allocations: 0.5779 MB / 1.018 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003228/3.963, allocations: 93.78 kB / 1.018 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009491/3.972, allocations: 361.2 kB / 1.019 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002969/3.975, allocations: 343.7 kB / 1.019 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00194/3.977, allocations: 138.6 kB / 1.019 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0111/3.988, allocations: 3.089 MB / 1.022 GB, free: 111.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.172e-06/3.988, allocations: 0 / 1.022 GB, free: 111.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0159/4.004, allocations: 2.079 MB / 1.024 GB, free: 111.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (448): * Single equations (assignments): 430 * 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.06096/4.065, allocations: 22.76 MB / 1.047 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03653/4.102, allocations: 14.23 MB / 1.06 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/4.102, allocations: 0 / 1.06 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02309/4.125, allocations: 7.777 MB / 1.068 GB, free: 98.34 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006936/4.132, allocations: 0.5703 MB / 1.069 GB, free: 98.06 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06951/4.202, allocations: 19.34 MB / 1.087 GB, free: 91.01 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01487/4.217, allocations: 5.277 MB / 1.093 GB, free: 89.29 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01813/4.235, allocations: 3.214 MB / 1.096 GB, free: 89.08 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01114/4.246, allocations: 3.423 MB / 1.099 GB, free: 86.3 MB / 0.5417 GB Notification: Performance of SimCode: time 1.873e-06/4.246, allocations: 0 / 1.099 GB, free: 86.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.846/5.092, allocations: 153.7 MB / 1.249 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002771/5.092, allocations: 186.2 kB / 1.249 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.917/14.01, allocations: 0 / 1.249 GB, free: 122.4 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat does not exist to compare? outputFormat=mat