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.442/2.442, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.963e-05/2.96e-05, allocations: 7.938 kB / 299.5 MB, free: 6.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.397, allocations: 54.85 MB / 354.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1701/0.5672, allocations: 96.17 MB / 450.5 MB, free: 1.992 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.5675, allocations: 71.97 kB / 450.6 MB, free: 1.922 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.597/1.164, allocations: 62.78 MB / 0.5013 GB, free: 100.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.424e-06/1.165, allocations: 0 / 0.5013 GB, free: 100.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002093/1.165, allocations: 67.47 kB / 0.5014 GB, free: 100.5 MB / 426.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.016/1.181, allocations: 3.36 MB / 0.5047 GB, free: 98.99 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/1.181, allocations: 11.25 kB / 0.5047 GB, free: 98.99 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01943/1.2, allocations: 2.027 MB / 0.5067 GB, free: 98.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008344/1.209, allocations: 1.936 MB / 0.5086 GB, free: 98.31 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002882/1.209, allocations: 122 kB / 0.5087 GB, free: 98.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00215/1.211, allocations: 212.3 kB / 0.5089 GB, free: 98.31 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01734/1.229, allocations: 5.611 MB / 0.5144 GB, free: 98.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02137/1.25, allocations: 8.538 MB / 0.5227 GB, free: 94.01 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002264/1.25, allocations: 51.75 kB / 0.5227 GB, free: 94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001635/1.252, allocations: 26.09 kB / 0.5228 GB, free: 94 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002154/1.254, allocations: 0.9855 MB / 0.5237 GB, free: 93.81 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0594/1.314, allocations: 41.96 MB / 0.5647 GB, free: 58.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00554/1.319, allocations: 3.304 MB / 0.5679 GB, free: 54.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003644/1.323, allocations: 2.148 MB / 0.57 GB, free: 52.74 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005699/1.324, allocations: 392.1 kB / 0.5704 GB, free: 52.31 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/1.324, allocations: 55.81 kB / 0.5705 GB, free: 52.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=169): time 5.411e-06/1.324, allocations: 7.938 kB / 0.5705 GB, free: 52.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=214): time 0.07224/1.396, allocations: 20.83 MB / 0.5908 GB, free: 31.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/1.396, allocations: 179.5 kB / 0.591 GB, free: 31.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004368/1.4, allocations: 2.338 MB / 0.5933 GB, free: 28.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005964/1.401, allocations: 29.7 kB / 0.5933 GB, free: 28.69 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002067/1.403, allocations: 2.641 MB / 0.5959 GB, free: 26 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001264/1.404, allocations: 0.7747 MB / 0.5966 GB, free: 25.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007188/1.405, allocations: 4 kB / 0.5966 GB, free: 25.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005228/1.406, allocations: 0.5898 MB / 0.5972 GB, free: 24.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005343/1.411, allocations: 2.421 MB / 0.5996 GB, free: 22.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007509/1.419, allocations: 5.715 MB / 0.6051 GB, free: 14.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007679/1.426, allocations: 3.692 MB / 0.6088 GB, free: 11.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001067/1.426, allocations: 39.94 kB / 0.6088 GB, free: 11.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=759) (initialization): time 0.02225/1.449, allocations: 8.183 MB / 0.6168 GB, free: 2.879 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.422e-05/1.449, allocations: 56 kB / 0.6168 GB, free: 2.824 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001601/1.449, allocations: 116 kB / 0.6169 GB, free: 2.711 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004594/1.454, allocations: 1.046 MB / 0.618 GB, free: 1.652 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009503/1.463, allocations: 1.372 MB / 0.6193 GB, free: 284 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/1.476, allocations: 5.065 MB / 0.6243 GB, free: 10.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007513/1.483, allocations: 207.5 kB / 0.6245 GB, free: 10.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001592/1.485, allocations: 355.8 kB / 0.6248 GB, free: 10.44 MB / 442.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.002137/1.487, allocations: 404.2 kB / 0.6252 GB, free: 10.03 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01989/1.507, allocations: 4.517 MB / 0.6296 GB, free: 5.504 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/1.508, allocations: 268.6 kB / 0.6298 GB, free: 5.234 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0134/1.522, allocations: 4.298 MB / 0.634 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-05/1.522, allocations: 24 kB / 0.6341 GB, free: 0.8828 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.017e-05/1.522, allocations: 4 kB / 0.6341 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.533e-05/1.522, allocations: 11.97 kB / 0.6341 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02789/1.55, allocations: 9.152 MB / 0.643 GB, free: 7.691 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.878e-05/1.55, allocations: 0 / 0.643 GB, free: 7.691 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004282/1.554, allocations: 383.4 kB / 0.6434 GB, free: 7.316 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00552/1.56, allocations: 0.8539 MB / 0.6442 GB, free: 6.453 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005641/1.561, allocations: 15.94 kB / 0.6442 GB, free: 6.438 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007259/1.568, allocations: 4.44 MB / 0.6486 GB, free: 1.781 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.779e-06/1.568, allocations: 4.031 kB / 0.6486 GB, free: 1.777 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01973/1.588, allocations: 7.768 MB / 0.6562 GB, free: 9.953 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002634/1.59, allocations: 0.7005 MB / 0.6568 GB, free: 9.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008815/1.591, allocations: 0 / 0.6568 GB, free: 9.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00265/1.594, allocations: 95.78 kB / 0.6569 GB, free: 9.137 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005816/1.594, allocations: 121.1 kB / 0.657 GB, free: 9.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002717/1.595, allocations: 59.98 kB / 0.6571 GB, free: 8.961 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003892/1.599, allocations: 1.524 MB / 0.6586 GB, free: 7.43 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.599, allocations: 4 kB / 0.6586 GB, free: 7.426 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006617/1.605, allocations: 0.8163 MB / 0.6594 GB, free: 6.609 MB / 474.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.3434/1.949, allocations: 8.616 MB / 0.6678 GB, free: 132.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01608/1.965, allocations: 6.258 MB / 0.6739 GB, free: 132.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/1.965, allocations: 3.938 kB / 0.6739 GB, free: 132.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007043/1.972, allocations: 2.692 MB / 0.6766 GB, free: 131.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/1.974, allocations: 207.5 kB / 0.6768 GB, free: 131.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02759/2.002, allocations: 8.628 MB / 0.6852 GB, free: 130.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006046/2.008, allocations: 2.94 MB / 0.688 GB, free: 129.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0087/2.017, allocations: 1.933 MB / 0.6899 GB, free: 129.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004677/2.022, allocations: 1.551 MB / 0.6915 GB, free: 127.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.884e-06/2.022, allocations: 0 / 0.6915 GB, free: 127.9 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1924/2.214, allocations: 65.64 MB / 0.7556 GB, free: 81.77 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003108/2.214, allocations: 152.7 kB / 0.7557 GB, free: 81.57 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.932/7.147, allocations: 0 / 0.7557 GB, free: 81.57 MB / 474.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