Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.396/2.396, allocations: 270.1 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.867e-05/4.878e-05, allocations: 7.984 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.132, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5281/0.6601, allocations: 108 MB / 0.5062 GB, free: 11.96 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.6605, allocations: 75.97 kB / 0.5063 GB, free: 11.88 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3078/0.9683, allocations: 72.25 MB / 0.5768 GB, free: 3.109 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.9684, allocations: 0 / 0.5768 GB, free: 3.109 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002126/0.9686, allocations: 75.92 kB / 0.5769 GB, free: 3.035 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.01445/0.9831, allocations: 3.611 MB / 0.5804 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.9831, allocations: 8.031 kB / 0.5804 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00289/0.986, allocations: 0.738 MB / 0.5812 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02063/1.007, allocations: 2.074 MB / 0.5832 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007577/1.014, allocations: 2.068 MB / 0.5852 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004814/1.015, allocations: 315.9 kB / 0.5855 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002362/1.017, allocations: 399.8 kB / 0.5859 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03939/1.057, allocations: 10.99 MB / 0.5966 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002314/1.057, allocations: 51.47 kB / 0.5967 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001546/1.059, allocations: 199.9 kB / 0.5969 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002651/1.061, allocations: 1.073 MB / 0.5979 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03372/1.095, allocations: 9.209 MB / 0.6069 GB, free: 3.219 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4242/1.519, allocations: 45.86 MB / 0.6517 GB, free: 98.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01913/1.538, allocations: 4.223 MB / 0.6558 GB, free: 97.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004775/1.543, allocations: 2.294 MB / 0.658 GB, free: 97.59 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01284/1.556, allocations: 5.766 MB / 0.6637 GB, free: 95.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/1.556, allocations: 53.69 kB / 0.6637 GB, free: 95.04 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=181): time 5.981e-06/1.556, allocations: 0 / 0.6637 GB, free: 95.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=224): time 0.127/1.683, allocations: 21.85 MB / 0.6851 GB, free: 88.03 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.89e-05/1.683, allocations: 159.4 kB / 0.6852 GB, free: 87.87 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00702/1.69, allocations: 2.973 MB / 0.6881 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006005/1.691, allocations: 58.05 kB / 0.6882 GB, free: 86.73 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002294/1.693, allocations: 2.801 MB / 0.6909 GB, free: 84.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00135/1.695, allocations: 0.8391 MB / 0.6917 GB, free: 84.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007719/1.696, allocations: 120.3 kB / 0.6918 GB, free: 84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004065/1.696, allocations: 0.5596 MB / 0.6924 GB, free: 83.58 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006023/1.702, allocations: 2.517 MB / 0.6949 GB, free: 82.67 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008669/1.711, allocations: 5.894 MB / 0.7006 GB, free: 77.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008497/1.719, allocations: 3.85 MB / 0.7044 GB, free: 75.83 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000141/1.719, allocations: 37.69 kB / 0.7044 GB, free: 75.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02393/1.743, allocations: 8.748 MB / 0.7129 GB, free: 72.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.425e-05/1.744, allocations: 63.59 kB / 0.713 GB, free: 72.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001536/1.744, allocations: 122.1 kB / 0.7131 GB, free: 72.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004675/1.748, allocations: 1.069 MB / 0.7142 GB, free: 72.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009626/1.758, allocations: 1.413 MB / 0.7155 GB, free: 71.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007391/1.765, allocations: 5.371 MB / 0.7208 GB, free: 66.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006947/1.772, allocations: 327.3 kB / 0.7211 GB, free: 66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001501/1.774, allocations: 364.1 kB / 0.7215 GB, free: 65.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.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 (745): * Single equations (assignments): 738 * 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: 2 * 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: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001738/1.776, allocations: 0.55 MB / 0.722 GB, free: 65.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008728/1.777, allocations: 315.9 kB / 0.7223 GB, free: 64.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01227/1.789, allocations: 4.515 MB / 0.7267 GB, free: 61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-05/1.789, allocations: 24 kB / 0.7267 GB, free: 60.98 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.666e-05/1.789, allocations: 4 kB / 0.7267 GB, free: 60.97 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.143e-05/1.789, allocations: 9.422 kB / 0.7267 GB, free: 60.97 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02675/1.816, allocations: 9.934 MB / 0.7364 GB, free: 52.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.202e-05/1.816, allocations: 0 / 0.7364 GB, free: 52.74 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004237/1.82, allocations: 386.4 kB / 0.7368 GB, free: 52.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00435/1.825, allocations: 0.8701 MB / 0.7377 GB, free: 51.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005696/1.825, allocations: 43.94 kB / 0.7377 GB, free: 51.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0063/1.832, allocations: 4.721 MB / 0.7423 GB, free: 47.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/1.832, allocations: 0 / 0.7423 GB, free: 47.17 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01754/1.849, allocations: 7.855 MB / 0.75 GB, free: 40.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/1.85, allocations: 360.1 kB / 0.7503 GB, free: 39.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001184/1.851, allocations: 43.94 kB / 0.7504 GB, free: 39.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00361/1.855, allocations: 121.3 kB / 0.7505 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007744/1.856, allocations: 131.4 kB / 0.7506 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002633/1.856, allocations: 60.31 kB / 0.7507 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004586/1.861, allocations: 2.031 MB / 0.7526 GB, free: 37.72 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.21e-07/1.861, allocations: 0 / 0.7526 GB, free: 37.72 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006835/1.868, allocations: 1.014 MB / 0.7536 GB, free: 36.71 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (190): * Single equations (assignments): 183 * 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: 2 * 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: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01822/1.886, allocations: 8.699 MB / 0.7621 GB, free: 28.63 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01582/1.902, allocations: 6.416 MB / 0.7684 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.592e-05/1.902, allocations: 0 / 0.7684 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006976/1.909, allocations: 2.713 MB / 0.771 GB, free: 19.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002719/1.912, allocations: 311.5 kB / 0.7713 GB, free: 19.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0271/1.939, allocations: 9.285 MB / 0.7804 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00611/1.945, allocations: 3.123 MB / 0.7835 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008495/1.954, allocations: 1.962 MB / 0.7854 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004461/1.958, allocations: 1.714 MB / 0.787 GB, free: 3.004 MB / 0.5105 GB Notification: Performance of SimCode: time 1.773e-06/1.958, allocations: 0 / 0.787 GB, free: 3.004 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5408/2.499, allocations: 74.51 MB / 0.8598 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002521/2.499, allocations: 183.9 kB / 0.86 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.311/7.81, allocations: 0 / 0.86 GB, free: 126.1 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat does not exist to compare? outputFormat=mat