Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.659/2.659, allocations: 235.2 MB / 242.3 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.545e-05/2.543e-05, allocations: 0 / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.403, allocations: 54.85 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2003/0.6034, allocations: 96.17 MB / 450.6 MB, free: 14.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003922/0.6038, allocations: 83.88 kB / 450.7 MB, free: 14.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6396/1.243, allocations: 62.77 MB / 0.5014 GB, free: 64.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.555e-06/1.244, allocations: 0 / 0.5014 GB, free: 64.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001578/1.244, allocations: 67.94 kB / 0.5015 GB, free: 63.98 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1337 * Number of variables: 1337 Notification: Performance of Generate backend data structure: time 0.0126/1.256, allocations: 3.36 MB / 0.5048 GB, free: 60.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/1.256, allocations: 8.031 kB / 0.5048 GB, free: 60.56 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01534/1.272, allocations: 2.023 MB / 0.5068 GB, free: 58.53 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006395/1.278, allocations: 1.94 MB / 0.5087 GB, free: 56.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001928/1.278, allocations: 120 kB / 0.5088 GB, free: 56.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001701/1.28, allocations: 223.8 kB / 0.509 GB, free: 56.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01352/1.294, allocations: 5.605 MB / 0.5145 GB, free: 50.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0202/1.314, allocations: 8.535 MB / 0.5228 GB, free: 41.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001948/1.314, allocations: 51.62 kB / 0.5228 GB, free: 41.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009193/1.315, allocations: 24 kB / 0.5229 GB, free: 41.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002154/1.317, allocations: 0.9861 MB / 0.5238 GB, free: 40.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06133/1.379, allocations: 41.95 MB / 0.5648 GB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007301/1.386, allocations: 3.308 MB / 0.568 GB, free: 9.453 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004653/1.391, allocations: 2.159 MB / 0.5701 GB, free: 7.277 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007512/1.391, allocations: 388.4 kB / 0.5705 GB, free: 6.844 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.868e-05/1.392, allocations: 43.88 kB / 0.5705 GB, free: 6.793 MB / 410.7 MB Notification: Performance of pre-optimization done (n=169): time 9.457e-06/1.392, allocations: 3.984 kB / 0.5705 GB, free: 6.789 MB / 410.7 MB Notification: Performance of matching and sorting (n=214): time 0.09034/1.482, allocations: 20.85 MB / 0.5909 GB, free: 1.797 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001821/1.482, allocations: 187.4 kB / 0.5911 GB, free: 1.574 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006627/1.489, allocations: 2.341 MB / 0.5934 GB, free: 15.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000631/1.49, allocations: 25.7 kB / 0.5934 GB, free: 15.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003459/1.493, allocations: 2.633 MB / 0.596 GB, free: 12.51 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001703/1.495, allocations: 0.7785 MB / 0.5967 GB, free: 11.72 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007985/1.496, allocations: 0 / 0.5967 GB, free: 11.72 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007641/1.496, allocations: 0.6015 MB / 0.5973 GB, free: 11.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007206/1.504, allocations: 2.413 MB / 0.5997 GB, free: 8.688 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01095/1.515, allocations: 5.715 MB / 0.6053 GB, free: 1.312 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/1.525, allocations: 3.69 MB / 0.6089 GB, free: 13.62 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001256/1.525, allocations: 32 kB / 0.6089 GB, free: 13.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.02835/1.553, allocations: 8.191 MB / 0.6169 GB, free: 5.375 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001254/1.554, allocations: 56 kB / 0.6169 GB, free: 5.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002113/1.554, allocations: 116 kB / 0.6171 GB, free: 5.207 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005694/1.559, allocations: 1.034 MB / 0.6181 GB, free: 4.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01098/1.571, allocations: 1.38 MB / 0.6194 GB, free: 2.777 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.408/1.979, allocations: 5.062 MB / 0.6244 GB, free: 115.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007564/1.986, allocations: 207.1 kB / 0.6246 GB, free: 115.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001553/1.988, allocations: 353.5 kB / 0.6249 GB, free: 115.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 24 (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],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 (718): * Single equations (assignments): 711 * 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.001594/1.989, allocations: 401 kB / 0.6253 GB, free: 115.4 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0149/2.004, allocations: 4.512 MB / 0.6297 GB, free: 115.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/2.005, allocations: 267.9 kB / 0.6299 GB, free: 115.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01307/2.018, allocations: 4.307 MB / 0.6341 GB, free: 115.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.205e-05/2.019, allocations: 23.28 kB / 0.6342 GB, free: 115.2 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.712e-05/2.019, allocations: 7.594 kB / 0.6342 GB, free: 115.2 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.524e-05/2.019, allocations: 8.234 kB / 0.6342 GB, free: 115.2 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02546/2.044, allocations: 9.156 MB / 0.6431 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-05/2.044, allocations: 3.812 kB / 0.6431 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004267/2.048, allocations: 371.9 kB / 0.6435 GB, free: 114 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004582/2.053, allocations: 0.8618 MB / 0.6443 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004896/2.054, allocations: 7.359 kB / 0.6443 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006553/2.06, allocations: 4.44 MB / 0.6487 GB, free: 110.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/2.06, allocations: 0 / 0.6487 GB, free: 110.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02471/2.085, allocations: 7.758 MB / 0.6562 GB, free: 107.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003478/2.089, allocations: 0.7072 MB / 0.6569 GB, free: 106.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001378/2.09, allocations: 5.188 kB / 0.6569 GB, free: 106.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004531/2.094, allocations: 90.31 kB / 0.657 GB, free: 106.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009514/2.095, allocations: 119.8 kB / 0.6571 GB, free: 106.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004249/2.096, allocations: 56.86 kB / 0.6572 GB, free: 106.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004946/2.101, allocations: 1.537 MB / 0.6587 GB, free: 106.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.132e-06/2.101, allocations: 0 / 0.6587 GB, free: 106.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01042/2.111, allocations: 0.8085 MB / 0.6595 GB, free: 106.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (180): * Single equations (assignments): 173 * 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.02447/2.136, allocations: 8.625 MB / 0.6679 GB, free: 102.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01655/2.153, allocations: 6.261 MB / 0.674 GB, free: 98.23 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/2.153, allocations: 0 / 0.674 GB, free: 98.23 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00749/2.16, allocations: 2.688 MB / 0.6766 GB, free: 95.79 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/2.162, allocations: 204.3 kB / 0.6768 GB, free: 95.61 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02619/2.189, allocations: 8.649 MB / 0.6853 GB, free: 88.32 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00477/2.193, allocations: 2.935 MB / 0.6881 GB, free: 86.06 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008936/2.202, allocations: 1.93 MB / 0.69 GB, free: 84.86 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004361/2.207, allocations: 1.549 MB / 0.6915 GB, free: 83.43 MB / 458.7 MB Notification: Performance of SimCode: time 1.242e-06/2.207, allocations: 0 / 0.6915 GB, free: 83.43 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1866/2.393, allocations: 65.66 MB / 0.7557 GB, free: 21.74 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003059/2.394, allocations: 148.3 kB / 0.7558 GB, free: 21.55 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.252/7.645, allocations: 0 / 0.7558 GB, free: 21.55 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat does not exist to compare? outputFormat=mat