Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.324/2.324, allocations: 235 MB / 247.2 MB, free: 14.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.567e-05/3.552e-05, allocations: 4 kB / 305 MB, free: 5.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4073, allocations: 54.85 MB / 359.9 MB, free: 2.668 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1786/0.586, allocations: 96.84 MB / 456.7 MB, free: 15.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.5863, allocations: 75.95 kB / 456.8 MB, free: 15.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2813/0.8677, allocations: 64.49 MB / 0.5091 GB, free: 14.97 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.8677, allocations: 0 / 0.5091 GB, free: 14.97 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002756/0.868, allocations: 68 kB / 0.5091 GB, free: 14.91 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: 1337 * Number of variables: 1337 Notification: Performance of Generate backend data structure: time 0.04705/0.9151, allocations: 3.371 MB / 0.5124 GB, free: 11.47 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.757e-05/0.9152, allocations: 8.031 kB / 0.5124 GB, free: 11.46 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003006/0.9182, allocations: 0.676 MB / 0.5131 GB, free: 10.78 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03427/0.9525, allocations: 2.027 MB / 0.5151 GB, free: 8.742 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006891/0.9595, allocations: 1.939 MB / 0.517 GB, free: 6.754 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004297/0.9599, allocations: 283.3 kB / 0.5172 GB, free: 6.477 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002058/0.962, allocations: 371.8 kB / 0.5176 GB, free: 6.113 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3789/1.341, allocations: 10.32 MB / 0.5277 GB, free: 106.1 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002724/1.341, allocations: 50 kB / 0.5277 GB, free: 106.1 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001597/1.343, allocations: 180.8 kB / 0.5279 GB, free: 106.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00261/1.346, allocations: 0.979 MB / 0.5289 GB, free: 106.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03181/1.377, allocations: 8.73 MB / 0.5374 GB, free: 106 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06235/1.44, allocations: 43.36 MB / 0.5797 GB, free: 77.46 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01679/1.457, allocations: 3.96 MB / 0.5836 GB, free: 75.91 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003962/1.461, allocations: 2.203 MB / 0.5857 GB, free: 74.96 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01088/1.472, allocations: 5.121 MB / 0.5907 GB, free: 72.13 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/1.472, allocations: 50.41 kB / 0.5908 GB, free: 72.08 MB / 458.7 MB Notification: Performance of pre-optimization done (n=161): time 5.39e-06/1.472, allocations: 0 / 0.5908 GB, free: 72.08 MB / 458.7 MB Notification: Performance of matching and sorting (n=204): time 0.1004/1.572, allocations: 21.11 MB / 0.6114 GB, free: 65.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/1.572, allocations: 156.7 kB / 0.6116 GB, free: 65.14 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006153/1.578, allocations: 2.791 MB / 0.6143 GB, free: 64.01 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005875/1.579, allocations: 49.7 kB / 0.6143 GB, free: 63.96 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002199/1.581, allocations: 2.586 MB / 0.6169 GB, free: 61.64 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001251/1.583, allocations: 0.766 MB / 0.6176 GB, free: 60.96 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007988/1.583, allocations: 113.3 kB / 0.6177 GB, free: 60.86 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004249/1.584, allocations: 0.5358 MB / 0.6182 GB, free: 60.38 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005865/1.59, allocations: 2.416 MB / 0.6206 GB, free: 58.19 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00771/1.597, allocations: 5.57 MB / 0.626 GB, free: 51.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007888/1.605, allocations: 3.657 MB / 0.6296 GB, free: 48.17 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001258/1.606, allocations: 32 kB / 0.6296 GB, free: 48.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=727) (initialization): time 0.02294/1.629, allocations: 8.326 MB / 0.6378 GB, free: 40.88 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.864e-05/1.629, allocations: 56 kB / 0.6378 GB, free: 40.82 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001337/1.629, allocations: 112 kB / 0.6379 GB, free: 40.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004668/1.634, allocations: 1.048 MB / 0.6389 GB, free: 39.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008651/1.642, allocations: 1.313 MB / 0.6402 GB, free: 38.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007352/1.65, allocations: 5.368 MB / 0.6455 GB, free: 33.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006495/1.656, allocations: 307.5 kB / 0.6458 GB, free: 33.26 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00143/1.658, allocations: 337.4 kB / 0.6461 GB, free: 32.93 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * 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 (686): * Single equations (assignments): 679 * 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.001434/1.659, allocations: 0.516 MB / 0.6466 GB, free: 32.41 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008306/1.66, allocations: 296.2 kB / 0.6469 GB, free: 32.11 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/1.672, allocations: 4.333 MB / 0.6511 GB, free: 27.75 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.806e-05/1.672, allocations: 25.22 kB / 0.6511 GB, free: 27.73 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.667e-05/1.672, allocations: 7.984 kB / 0.6511 GB, free: 27.72 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.828e-05/1.672, allocations: 7.969 kB / 0.6511 GB, free: 27.71 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02318/1.695, allocations: 9.338 MB / 0.6603 GB, free: 18.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-05/1.695, allocations: 0 / 0.6603 GB, free: 18.34 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003784/1.699, allocations: 351.5 kB / 0.6606 GB, free: 18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004242/1.703, allocations: 0.8749 MB / 0.6615 GB, free: 17.11 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003699/1.703, allocations: 35.98 kB / 0.6615 GB, free: 17.08 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006152/1.71, allocations: 4.722 MB / 0.6661 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.71, allocations: 7.984 kB / 0.6661 GB, free: 12.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01643/1.726, allocations: 7.607 MB / 0.6735 GB, free: 4.438 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002284/1.728, allocations: 0.7274 MB / 0.6742 GB, free: 3.688 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006617/1.729, allocations: 33.25 kB / 0.6743 GB, free: 3.656 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002793/1.732, allocations: 117.4 kB / 0.6744 GB, free: 3.543 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004491/1.732, allocations: 117.1 kB / 0.6745 GB, free: 3.426 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002382/1.733, allocations: 52.64 kB / 0.6746 GB, free: 3.375 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003838/1.737, allocations: 1.916 MB / 0.6764 GB, free: 1.457 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.01e-07/1.737, allocations: 4 kB / 0.6764 GB, free: 1.453 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006101/1.743, allocations: 0.9343 MB / 0.6773 GB, free: 0.5234 MB / 458.7 MB 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 (171): * Single equations (assignments): 164 * 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.02066/1.763, allocations: 8.444 MB / 0.6856 GB, free: 8.027 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01754/1.781, allocations: 6.157 MB / 0.6916 GB, free: 1.836 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.842e-06/1.781, allocations: 0 / 0.6916 GB, free: 1.836 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007611/1.789, allocations: 2.633 MB / 0.6942 GB, free: 15.14 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/1.791, allocations: 287.7 kB / 0.6944 GB, free: 14.88 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02908/1.82, allocations: 8.709 MB / 0.7029 GB, free: 6.172 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0067/1.827, allocations: 2.933 MB / 0.7058 GB, free: 3.23 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008874/1.836, allocations: 1.851 MB / 0.7076 GB, free: 1.383 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3305/2.166, allocations: 1.559 MB / 0.7091 GB, free: 125.6 MB / 490.7 MB Notification: Performance of SimCode: time 2.725e-06/2.166, allocations: 0 / 0.7091 GB, free: 125.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1785/2.345, allocations: 69.59 MB / 0.7771 GB, free: 107 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002477/2.345, allocations: 172.3 kB / 0.7773 GB, free: 106.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.357/7.702, allocations: 0 / 0.7773 GB, free: 106.7 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat does not exist to compare? outputFormat=mat