Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.531/2.531, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.53e-05/4.533e-05, allocations: 7.938 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.3991, allocations: 58.83 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2001/0.5992, allocations: 106.3 MB / 488.6 MB, free: 2.059 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.5996, allocations: 71.97 kB / 488.7 MB, free: 1.988 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6834/1.283, allocations: 71.21 MB / 0.5468 GB, free: 112.4 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.675e-06/1.283, allocations: 0 / 0.5468 GB, free: 112.4 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.000188/1.283, allocations: 78.3 kB / 0.5469 GB, free: 112.4 MB / 458.8 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.01344/1.297, allocations: 3.617 MB / 0.5504 GB, free: 110.8 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/1.297, allocations: 11.12 kB / 0.5504 GB, free: 110.8 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002972/1.3, allocations: 0.7402 MB / 0.5511 GB, free: 110.7 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01471/1.315, allocations: 2.064 MB / 0.5531 GB, free: 110.4 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006936/1.322, allocations: 2.086 MB / 0.5552 GB, free: 109.9 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000378/1.322, allocations: 308.9 kB / 0.5555 GB, free: 109.9 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002342/1.324, allocations: 402.6 kB / 0.5559 GB, free: 109.9 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03552/1.36, allocations: 11 MB / 0.5666 GB, free: 105.2 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002611/1.36, allocations: 53.5 kB / 0.5666 GB, free: 105.1 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002011/1.362, allocations: 194.8 kB / 0.5668 GB, free: 105 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00243/1.365, allocations: 1.07 MB / 0.5679 GB, free: 104.7 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03065/1.395, allocations: 9.208 MB / 0.5769 GB, free: 96.55 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0877/1.483, allocations: 45.89 MB / 0.6217 GB, free: 49.52 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02735/1.511, allocations: 4.22 MB / 0.6258 GB, free: 45.14 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006614/1.517, allocations: 2.288 MB / 0.628 GB, free: 42.84 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01836/1.536, allocations: 5.745 MB / 0.6336 GB, free: 36.91 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.747e-05/1.536, allocations: 63.77 kB / 0.6337 GB, free: 36.84 MB / 458.8 MB Notification: Performance of pre-optimization done (n=181): time 8.686e-06/1.536, allocations: 0 / 0.6337 GB, free: 36.84 MB / 458.8 MB Notification: Performance of matching and sorting (n=224): time 0.1503/1.686, allocations: 21.86 MB / 0.6551 GB, free: 14.86 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/1.686, allocations: 154.5 kB / 0.6552 GB, free: 14.68 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006317/1.693, allocations: 2.978 MB / 0.6581 GB, free: 11.69 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005807/1.693, allocations: 57.7 kB / 0.6582 GB, free: 11.63 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002222/1.695, allocations: 2.807 MB / 0.6609 GB, free: 8.824 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001302/1.697, allocations: 0.8365 MB / 0.6617 GB, free: 7.992 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008118/1.698, allocations: 120 kB / 0.6618 GB, free: 7.875 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0005096/1.698, allocations: 0.5582 MB / 0.6624 GB, free: 7.309 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006051/1.704, allocations: 2.515 MB / 0.6648 GB, free: 4.789 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008921/1.713, allocations: 5.901 MB / 0.6706 GB, free: 13.18 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00969/1.723, allocations: 3.845 MB / 0.6744 GB, free: 9.34 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001113/1.723, allocations: 39.94 kB / 0.6744 GB, free: 9.301 MB / 474.8 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02809/1.751, allocations: 8.758 MB / 0.6829 GB, free: 0.5273 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/1.751, allocations: 60 kB / 0.683 GB, free: 480 kB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002204/1.752, allocations: 120 kB / 0.6831 GB, free: 360 kB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005273/1.757, allocations: 1.061 MB / 0.6842 GB, free: 15.28 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0103/1.767, allocations: 1.415 MB / 0.6855 GB, free: 13.86 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00961/1.777, allocations: 5.37 MB / 0.6908 GB, free: 8.227 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007027/1.784, allocations: 327.4 kB / 0.6911 GB, free: 7.906 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001694/1.786, allocations: 366.8 kB / 0.6914 GB, free: 7.551 MB / 490.8 MB 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.00238/1.788, allocations: 0.557 MB / 0.692 GB, free: 6.988 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/1.789, allocations: 319.9 kB / 0.6923 GB, free: 6.672 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01506/1.804, allocations: 4.511 MB / 0.6967 GB, free: 2.137 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.522e-05/1.804, allocations: 24 kB / 0.6967 GB, free: 2.113 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-05/1.804, allocations: 4 kB / 0.6967 GB, free: 2.109 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.44e-05/1.805, allocations: 7.969 kB / 0.6967 GB, free: 2.102 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03435/1.839, allocations: 9.929 MB / 0.7064 GB, free: 8.129 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.842e-05/1.839, allocations: 8.312 kB / 0.7064 GB, free: 8.121 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004436/1.843, allocations: 383.4 kB / 0.7068 GB, free: 7.746 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004791/1.848, allocations: 0.8736 MB / 0.7077 GB, free: 6.859 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000597/1.849, allocations: 46.09 kB / 0.7077 GB, free: 6.816 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008266/1.857, allocations: 4.72 MB / 0.7123 GB, free: 1.84 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/1.857, allocations: 0 / 0.7123 GB, free: 1.84 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3795/2.237, allocations: 7.858 MB / 0.72 GB, free: 141.5 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002772/2.24, allocations: 0.7532 MB / 0.7207 GB, free: 141.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00113/2.241, allocations: 35.91 kB / 0.7208 GB, free: 141.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003744/2.245, allocations: 125.7 kB / 0.7209 GB, free: 141.4 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000751/2.245, allocations: 119 kB / 0.721 GB, free: 141.4 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002722/2.246, allocations: 62.69 kB / 0.721 GB, free: 141.4 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.00515/2.251, allocations: 2.032 MB / 0.723 GB, free: 141.3 MB / 0.4949 GB Notification: Performance of sort global known variables: time 9.41e-07/2.251, allocations: 0 / 0.723 GB, free: 141.3 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.007053/2.258, allocations: 1.018 MB / 0.724 GB, free: 141.3 MB / 0.4949 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.01937/2.277, allocations: 8.702 MB / 0.7325 GB, free: 139.2 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01591/2.293, allocations: 6.408 MB / 0.7388 GB, free: 137 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.385e-06/2.293, allocations: 0 / 0.7388 GB, free: 137 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.007732/2.301, allocations: 2.716 MB / 0.7414 GB, free: 135.8 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002921/2.304, allocations: 313.9 kB / 0.7417 GB, free: 135.6 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02941/2.334, allocations: 9.29 MB / 0.7508 GB, free: 132.3 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007026/2.341, allocations: 3.136 MB / 0.7539 GB, free: 131.1 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.008995/2.35, allocations: 1.943 MB / 0.7558 GB, free: 131 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004622/2.354, allocations: 1.718 MB / 0.7574 GB, free: 129.7 MB / 0.4949 GB Notification: Performance of SimCode: time 1.383e-06/2.354, allocations: 0 / 0.7574 GB, free: 129.7 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1727/2.527, allocations: 74.46 MB / 0.8302 GB, free: 64.89 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002616/2.527, allocations: 188.2 kB / 0.8303 GB, free: 64.66 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.741/8.268, allocations: 0 / 0.8303 GB, free: 64.66 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat does not exist to compare? outputFormat=mat