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.344/2.344, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.867e-05/3.872e-05, allocations: 4 kB / 305 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4025, allocations: 54.85 MB / 359.9 MB, free: 3.199 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1801/0.5827, allocations: 95.66 MB / 455.5 MB, free: 1.234 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/0.5831, allocations: 75.95 kB / 455.6 MB, free: 1.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8071/1.39, allocations: 115.6 MB / 0.5579 GB, free: 97.72 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.845e-06/1.39, allocations: 0 / 0.5579 GB, free: 97.72 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003554/1.391, allocations: 124 kB / 0.558 GB, free: 97.72 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.02752/1.418, allocations: 6.282 MB / 0.5641 GB, free: 95.34 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/1.418, allocations: 10.81 kB / 0.5641 GB, free: 95.34 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005956/1.424, allocations: 1.195 MB / 0.5653 GB, free: 95.24 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02021/1.444, allocations: 2.735 MB / 0.568 GB, free: 94.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01383/1.458, allocations: 3.661 MB / 0.5715 GB, free: 94.09 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007908/1.459, allocations: 0.5054 MB / 0.572 GB, free: 94.08 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004275/1.464, allocations: 0.6728 MB / 0.5727 GB, free: 94.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07024/1.534, allocations: 19.37 MB / 0.5916 GB, free: 86.61 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005253/1.534, allocations: 81.16 kB / 0.5917 GB, free: 86.56 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003609/1.538, allocations: 319 kB / 0.592 GB, free: 86.38 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004323/1.542, allocations: 1.799 MB / 0.5937 GB, free: 86.05 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06088/1.603, allocations: 17 MB / 0.6103 GB, free: 74.08 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1182/1.722, allocations: 70.93 MB / 0.6796 GB, free: 1.871 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04185/1.764, allocations: 8.51 MB / 0.6879 GB, free: 9.203 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01246/1.776, allocations: 5.618 MB / 0.6934 GB, free: 3.562 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03821/1.814, allocations: 14.92 MB / 0.708 GB, free: 4.453 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001029/1.814, allocations: 80.77 kB / 0.708 GB, free: 4.367 MB / 490.7 MB Notification: Performance of pre-optimization done (n=355): time 8.426e-06/1.815, allocations: 0 / 0.708 GB, free: 4.367 MB / 490.7 MB Notification: Performance of matching and sorting (n=502): time 0.6766/2.491, allocations: 60.62 MB / 0.7672 GB, free: 112.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.941e-05/2.491, allocations: 180 kB / 0.7674 GB, free: 112 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01031/2.502, allocations: 4.191 MB / 0.7715 GB, free: 110.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001573/2.503, allocations: 108.5 kB / 0.7716 GB, free: 110.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003598/2.507, allocations: 4.139 MB / 0.7757 GB, free: 107.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003273/2.51, allocations: 1.798 MB / 0.7774 GB, free: 106 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002101/2.512, allocations: 188.4 kB / 0.7776 GB, free: 105.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0009449/2.513, allocations: 0.7049 MB / 0.7783 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01323/2.527, allocations: 5.308 MB / 0.7835 GB, free: 103.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01616/2.543, allocations: 9.673 MB / 0.7929 GB, free: 94.76 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01603/2.559, allocations: 7.182 MB / 0.7999 GB, free: 88.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001822/2.559, allocations: 44 kB / 0.8 GB, free: 88.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=1221) (initialization): time 0.05156/2.611, allocations: 17.3 MB / 0.8169 GB, free: 73.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001172/2.611, allocations: 72 kB / 0.8169 GB, free: 73.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002501/2.611, allocations: 154.5 kB / 0.8171 GB, free: 73.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01443/2.626, allocations: 3.113 MB / 0.8201 GB, free: 71.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01759/2.643, allocations: 2.235 MB / 0.8223 GB, free: 69.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03634/2.68, allocations: 24.16 MB / 0.8459 GB, free: 45.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01243/2.692, allocations: 0.5743 MB / 0.8464 GB, free: 45.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002564/2.695, allocations: 0.5162 MB / 0.847 GB, free: 44.5 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.003991/2.699, allocations: 0.7764 MB / 0.8477 GB, free: 43.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002263/2.701, allocations: 0.513 MB / 0.8482 GB, free: 43.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03965/2.741, allocations: 12.92 MB / 0.8608 GB, free: 30.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.363e-05/2.741, allocations: 49.09 kB / 0.8609 GB, free: 30.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.447e-05/2.741, allocations: 16 kB / 0.8609 GB, free: 30.14 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001333/2.741, allocations: 27.91 kB / 0.8609 GB, free: 30.12 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06683/2.808, allocations: 25.22 MB / 0.8855 GB, free: 4.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.641e-05/2.808, allocations: 4 kB / 0.8855 GB, free: 4.816 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01013/2.818, allocations: 0.878 MB / 0.8864 GB, free: 3.938 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01638/2.835, allocations: 3.323 MB / 0.8896 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001408/2.836, allocations: 95.98 kB / 0.8897 GB, free: 492 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3876/3.224, allocations: 21.06 MB / 0.9103 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/3.224, allocations: 4.75 kB / 0.9103 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07259/3.296, allocations: 20.59 MB / 0.9304 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007994/3.304, allocations: 1.557 MB / 0.9319 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00332/3.308, allocations: 86.53 kB / 0.932 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01104/3.319, allocations: 373.5 kB / 0.9324 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002346/3.321, allocations: 327.3 kB / 0.9327 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001086/3.322, allocations: 125.1 kB / 0.9328 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007518/3.33, allocations: 2.898 MB / 0.9356 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.032e-06/3.33, allocations: 2.719 kB / 0.9356 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01357/3.344, allocations: 1.945 MB / 0.9375 GB, free: 105.4 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.0534/3.397, allocations: 22.18 MB / 0.9592 GB, free: 95.38 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03317/3.43, allocations: 13.81 MB / 0.9727 GB, free: 89.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/3.43, allocations: 3.562 kB / 0.9727 GB, free: 89.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02097/3.451, allocations: 7.676 MB / 0.9802 GB, free: 86.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005305/3.457, allocations: 0.5082 MB / 0.9807 GB, free: 85.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05745/3.514, allocations: 18.37 MB / 0.9986 GB, free: 70.54 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01102/3.525, allocations: 4.946 MB / 1.003 GB, free: 66.86 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01424/3.54, allocations: 3.046 MB / 1.006 GB, free: 64.83 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009061/3.549, allocations: 3.096 MB / 1.009 GB, free: 61.98 MB / 0.4948 GB Notification: Performance of SimCode: time 1.483e-06/3.549, allocations: 0 / 1.009 GB, free: 61.98 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6993/4.248, allocations: 145.3 MB / 1.151 GB, free: 97.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002813/4.248, allocations: 193.2 kB / 1.152 GB, free: 97.27 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.368/12.62, allocations: 0 / 1.152 GB, free: 97.27 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