Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperParallel,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_SpringDamperParallel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.603/2.603, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.61e-05/3.611e-05, allocations: 4 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4477/0.4478, allocations: 58.83 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1974/0.6453, allocations: 104.5 MB / 486.8 MB, free: 3.902 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.6456, allocations: 79.95 kB / 486.9 MB, free: 3.824 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.8447/1.49, allocations: 127.7 MB / 0.6001 GB, free: 74.5 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.154e-06/1.49, allocations: 0 / 0.6001 GB, free: 74.5 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0004559/1.491, allocations: 140 kB / 0.6002 GB, free: 74.37 MB / 458.8 MB 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.06748/1.558, allocations: 6.744 MB / 0.6068 GB, free: 67.55 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/1.558, allocations: 8.031 kB / 0.6068 GB, free: 67.54 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006031/1.564, allocations: 1.303 MB / 0.6081 GB, free: 66.23 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02023/1.585, allocations: 2.807 MB / 0.6108 GB, free: 63.41 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/1.598, allocations: 3.883 MB / 0.6146 GB, free: 59.46 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007101/1.599, allocations: 0.5496 MB / 0.6152 GB, free: 58.91 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00413/1.603, allocations: 0.7418 MB / 0.6159 GB, free: 58.17 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07165/1.675, allocations: 20.41 MB / 0.6358 GB, free: 36.52 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005141/1.675, allocations: 83.16 kB / 0.6359 GB, free: 36.44 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003766/1.679, allocations: 347.8 kB / 0.6362 GB, free: 36.1 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004536/1.684, allocations: 1.949 MB / 0.6381 GB, free: 34.14 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06336/1.747, allocations: 17.75 MB / 0.6555 GB, free: 16.38 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5662/2.313, allocations: 74.95 MB / 0.7287 GB, free: 78.14 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03917/2.353, allocations: 8.589 MB / 0.7371 GB, free: 77.39 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01119/2.364, allocations: 5.744 MB / 0.7427 GB, free: 77.31 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04468/2.409, allocations: 19.91 MB / 0.7621 GB, free: 74.15 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.805e-05/2.409, allocations: 78.73 kB / 0.7622 GB, free: 74.08 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=386): time 8.466e-06/2.409, allocations: 0 / 0.7622 GB, free: 74.08 MB / 0.4949 GB Notification: Performance of matching and sorting (n=531): time 0.3246/2.733, allocations: 59.1 MB / 0.8199 GB, free: 44.19 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.987e-05/2.733, allocations: 187.6 kB / 0.8201 GB, free: 43.98 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.011/2.744, allocations: 4.519 MB / 0.8245 GB, free: 39.96 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001666/2.746, allocations: 109.7 kB / 0.8246 GB, free: 39.85 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003788/2.75, allocations: 4.513 MB / 0.829 GB, free: 35.81 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.003132/2.753, allocations: 1.911 MB / 0.8309 GB, free: 34.11 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001598/2.755, allocations: 200 kB / 0.8311 GB, free: 33.91 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0006868/2.756, allocations: 0.7368 MB / 0.8318 GB, free: 33.29 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01332/2.769, allocations: 5.478 MB / 0.8371 GB, free: 28.33 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01674/2.786, allocations: 10.3 MB / 0.8472 GB, free: 16.04 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.017/2.803, allocations: 7.504 MB / 0.8545 GB, free: 8.84 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001884/2.803, allocations: 48 kB / 0.8546 GB, free: 8.793 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1325) (initialization): time 0.05628/2.859, allocations: 18.03 MB / 0.8722 GB, free: 7.383 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001538/2.859, allocations: 78.03 kB / 0.8722 GB, free: 7.309 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003109/2.86, allocations: 168 kB / 0.8724 GB, free: 7.145 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01553/2.875, allocations: 3.138 MB / 0.8755 GB, free: 3.984 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01919/2.895, allocations: 2.394 MB / 0.8778 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04658/2.941, allocations: 24.2 MB / 0.9014 GB, free: 8.355 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01406/2.955, allocations: 0.5658 MB / 0.902 GB, free: 7.789 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003254/2.959, allocations: 0.566 MB / 0.9025 GB, free: 7.227 MB / 0.5418 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.005346/2.964, allocations: 0.8473 MB / 0.9034 GB, free: 6.371 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002747/2.967, allocations: 0.5477 MB / 0.9039 GB, free: 5.816 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04898/3.016, allocations: 13.19 MB / 0.9168 GB, free: 8.562 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001089/3.016, allocations: 52 kB / 0.9168 GB, free: 8.512 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.188e-05/3.016, allocations: 12 kB / 0.9168 GB, free: 8.5 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001485/3.016, allocations: 27.91 kB / 0.9169 GB, free: 8.473 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4958/3.512, allocations: 26.03 MB / 0.9423 GB, free: 165.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.219e-05/3.512, allocations: 5.906 kB / 0.9423 GB, free: 165.8 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01024/3.523, allocations: 0.8934 MB / 0.9432 GB, free: 165.8 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01701/3.54, allocations: 3.327 MB / 0.9464 GB, free: 165.7 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00165/3.541, allocations: 102.9 kB / 0.9465 GB, free: 165.7 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03362/3.575, allocations: 21.07 MB / 0.9671 GB, free: 155.7 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/3.575, allocations: 17.64 kB / 0.9671 GB, free: 155.7 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05467/3.63, allocations: 21.06 MB / 0.9877 GB, free: 146.8 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006616/3.636, allocations: 1.604 MB / 0.9892 GB, free: 146.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003368/3.64, allocations: 99.05 kB / 0.9893 GB, free: 146.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008975/3.649, allocations: 358.5 kB / 0.9897 GB, free: 146.1 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00247/3.651, allocations: 352.6 kB / 0.99 GB, free: 146 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001696/3.653, allocations: 134.6 kB / 0.9901 GB, free: 146 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.009151/3.662, allocations: 3.099 MB / 0.9932 GB, free: 144.9 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.022e-06/3.662, allocations: 3.656 kB / 0.9932 GB, free: 144.9 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01503/3.677, allocations: 2.08 MB / 0.9952 GB, free: 144.7 MB / 0.5574 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.0604/3.738, allocations: 22.75 MB / 1.017 GB, free: 128.1 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.03467/3.773, allocations: 14.22 MB / 1.031 GB, free: 115.4 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.662e-05/3.773, allocations: 9.906 kB / 1.031 GB, free: 115.4 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.02238/3.795, allocations: 7.784 MB / 1.039 GB, free: 108.2 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005834/3.801, allocations: 0.5674 MB / 1.039 GB, free: 107.7 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06404/3.865, allocations: 19.35 MB / 1.058 GB, free: 90.93 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01379/3.879, allocations: 5.296 MB / 1.064 GB, free: 87.02 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01907/3.898, allocations: 3.207 MB / 1.067 GB, free: 84.89 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01163/3.91, allocations: 3.422 MB / 1.07 GB, free: 81.73 MB / 0.5574 GB Notification: Performance of SimCode: time 1.694e-06/3.91, allocations: 3.094 kB / 1.07 GB, free: 81.73 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7723/4.682, allocations: 153.7 MB / 1.22 GB, free: 123.3 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002629/4.682, allocations: 182.6 kB / 1.22 GB, free: 123.1 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.76/13.44, allocations: 0 / 1.22 GB, free: 123.1 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat does not exist to compare? outputFormat=mat