Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperParallel,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_SpringDamperParallel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.528/2.528, allocations: 235 MB / 247.2 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.649e-05/3.66e-05, allocations: 4 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3949, allocations: 54.85 MB / 359.9 MB, free: 2.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1763/0.5713, allocations: 95.65 MB / 455.5 MB, free: 1.148 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.5717, allocations: 76.73 kB / 455.6 MB, free: 1.074 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8659/1.438, allocations: 115.6 MB / 0.5578 GB, free: 97.39 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.994e-06/1.438, allocations: 4 kB / 0.5578 GB, free: 97.38 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003175/1.438, allocations: 125.7 kB / 0.5579 GB, free: 97.38 MB / 458.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.02544/1.463, allocations: 6.281 MB / 0.5641 GB, free: 95 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.464, allocations: 11.22 kB / 0.5641 GB, free: 95 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005349/1.469, allocations: 1.198 MB / 0.5653 GB, free: 94.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01927/1.488, allocations: 2.739 MB / 0.5679 GB, free: 94.46 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01294/1.501, allocations: 3.648 MB / 0.5715 GB, free: 93.77 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006966/1.502, allocations: 0.5054 MB / 0.572 GB, free: 93.75 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004014/1.506, allocations: 0.6767 MB / 0.5726 GB, free: 93.74 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07001/1.576, allocations: 19.45 MB / 0.5916 GB, free: 86.55 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005932/1.577, allocations: 79.2 kB / 0.5917 GB, free: 86.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004847/1.582, allocations: 314.1 kB / 0.592 GB, free: 86.32 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006791/1.588, allocations: 1.804 MB / 0.5938 GB, free: 85.99 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08429/1.673, allocations: 17.22 MB / 0.6106 GB, free: 73.62 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1171/1.79, allocations: 70.93 MB / 0.6799 GB, free: 1.41 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04109/1.831, allocations: 8.565 MB / 0.6882 GB, free: 8.684 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01223/1.843, allocations: 5.611 MB / 0.6937 GB, free: 3.055 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03753/1.881, allocations: 14.92 MB / 0.7083 GB, free: 3.941 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.244e-05/1.881, allocations: 64.94 kB / 0.7083 GB, free: 3.867 MB / 490.7 MB Notification: Performance of pre-optimization done (n=355): time 8.205e-06/1.881, allocations: 3.938 kB / 0.7083 GB, free: 3.863 MB / 490.7 MB Notification: Performance of matching and sorting (n=502): time 0.6695/2.551, allocations: 60.62 MB / 0.7675 GB, free: 112 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.893e-05/2.551, allocations: 184.4 kB / 0.7677 GB, free: 111.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009134/2.56, allocations: 4.19 MB / 0.7718 GB, free: 110.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001444/2.561, allocations: 108.1 kB / 0.7719 GB, free: 110.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003251/2.565, allocations: 4.143 MB / 0.776 GB, free: 107.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002953/2.568, allocations: 1.801 MB / 0.7777 GB, free: 105.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001484/2.569, allocations: 186.3 kB / 0.7779 GB, free: 105.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006672/2.57, allocations: 0.7023 MB / 0.7786 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01272/2.583, allocations: 5.305 MB / 0.7838 GB, free: 103.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01574/2.598, allocations: 9.739 MB / 0.7933 GB, free: 94.22 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0165/2.615, allocations: 7.176 MB / 0.8003 GB, free: 88.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001553/2.615, allocations: 44 kB / 0.8003 GB, free: 88.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=1221) (initialization): time 0.0509/2.666, allocations: 17.71 MB / 0.8176 GB, free: 73.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/2.666, allocations: 72 kB / 0.8177 GB, free: 72.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002002/2.667, allocations: 148.9 kB / 0.8178 GB, free: 72.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01384/2.68, allocations: 3.118 MB / 0.8209 GB, free: 70.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01692/2.697, allocations: 2.242 MB / 0.8231 GB, free: 68.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03713/2.735, allocations: 24.17 MB / 0.8467 GB, free: 44.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01225/2.747, allocations: 0.5697 MB / 0.8472 GB, free: 43.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002475/2.749, allocations: 0.5203 MB / 0.8477 GB, free: 43.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * 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 (1126): * Single equations (assignments): 1113 * 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.003681/2.753, allocations: 0.7788 MB / 0.8485 GB, free: 42.62 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001831/2.755, allocations: 0.5052 MB / 0.849 GB, free: 42.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03875/2.794, allocations: 12.92 MB / 0.8616 GB, free: 29.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.317e-05/2.794, allocations: 55.38 kB / 0.8617 GB, free: 29.06 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.067e-05/2.794, allocations: 12 kB / 0.8617 GB, free: 29.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001327/2.794, allocations: 23.91 kB / 0.8617 GB, free: 29.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07127/2.865, allocations: 25.22 MB / 0.8863 GB, free: 3.719 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.582e-05/2.865, allocations: 4.438 kB / 0.8863 GB, free: 3.715 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009987/2.875, allocations: 0.8776 MB / 0.8872 GB, free: 2.836 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0166/2.892, allocations: 3.329 MB / 0.8904 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001599/2.894, allocations: 91.98 kB / 0.8905 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4026/3.296, allocations: 21.07 MB / 0.9111 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/3.297, allocations: 7.625 kB / 0.9111 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06205/3.359, allocations: 20.6 MB / 0.9312 GB, free: 107 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006896/3.366, allocations: 1.55 MB / 0.9327 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003148/3.369, allocations: 95.7 kB / 0.9328 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009496/3.378, allocations: 368.8 kB / 0.9332 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002631/3.381, allocations: 329 kB / 0.9335 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001591/3.383, allocations: 132.1 kB / 0.9336 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009001/3.392, allocations: 2.895 MB / 0.9365 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.654e-06/3.392, allocations: 0 / 0.9365 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01488/3.407, allocations: 1.94 MB / 0.9383 GB, free: 105 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (419): * Single equations (assignments): 401 * 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.06225/3.469, allocations: 22.19 MB / 0.96 GB, free: 94.99 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03737/3.506, allocations: 14.1 MB / 0.9738 GB, free: 89.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/3.506, allocations: 0 / 0.9738 GB, free: 89.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02292/3.529, allocations: 7.769 MB / 0.9814 GB, free: 85.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005705/3.535, allocations: 0.5077 MB / 0.9819 GB, free: 85.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06455/3.6, allocations: 18.4 MB / 0.9998 GB, free: 69.29 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01367/3.614, allocations: 4.948 MB / 1.005 GB, free: 65.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01732/3.631, allocations: 3.047 MB / 1.008 GB, free: 63.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01064/3.642, allocations: 3.096 MB / 1.011 GB, free: 60.73 MB / 0.4948 GB Notification: Performance of SimCode: time 2.755e-06/3.642, allocations: 0 / 1.011 GB, free: 60.73 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6958/4.338, allocations: 146.4 MB / 1.154 GB, free: 94.82 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002761/4.338, allocations: 186.5 kB / 1.154 GB, free: 94.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.272/12.61, allocations: 0 / 1.154 GB, free: 94.6 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat does not exist to compare? outputFormat=mat