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.314/2.314, allocations: 235 MB / 247.2 MB, free: 14.41 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.027e-05/5.086e-05, allocations: 4 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3951, allocations: 54.86 MB / 359.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1786/0.5737, allocations: 96.83 MB / 456.7 MB, free: 15.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/0.5741, allocations: 82.22 kB / 456.8 MB, free: 15.88 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2801/0.8542, allocations: 64.49 MB / 0.509 GB, free: 14.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.8543, allocations: 0 / 0.509 GB, free: 14.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001996/0.8545, allocations: 68 kB / 0.5091 GB, free: 14.88 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.01353/0.868, allocations: 3.355 MB / 0.5124 GB, free: 11.46 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.8681, allocations: 16.02 kB / 0.5124 GB, free: 11.45 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002798/0.8709, allocations: 0.676 MB / 0.5131 GB, free: 10.76 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01603/0.887, allocations: 2.028 MB / 0.515 GB, free: 8.723 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007265/0.8943, allocations: 1.934 MB / 0.5169 GB, free: 6.738 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000374/0.8947, allocations: 279.2 kB / 0.5172 GB, free: 6.465 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002152/0.8969, allocations: 371.8 kB / 0.5175 GB, free: 6.102 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3614/1.258, allocations: 10.38 MB / 0.5277 GB, free: 106.1 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002345/1.259, allocations: 52.38 kB / 0.5277 GB, free: 106.1 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001304/1.26, allocations: 176.9 kB / 0.5279 GB, free: 106.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002605/1.263, allocations: 0.9815 MB / 0.5289 GB, free: 106.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03339/1.296, allocations: 8.879 MB / 0.5375 GB, free: 106.1 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06704/1.363, allocations: 43.36 MB / 0.5799 GB, free: 77.46 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0172/1.38, allocations: 3.977 MB / 0.5838 GB, free: 75.9 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004246/1.385, allocations: 2.204 MB / 0.5859 GB, free: 74.95 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01161/1.396, allocations: 5.122 MB / 0.5909 GB, free: 72.12 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/1.396, allocations: 50.38 kB / 0.591 GB, free: 72.07 MB / 458.7 MB Notification: Performance of pre-optimization done (n=161): time 5.039e-06/1.396, allocations: 0 / 0.591 GB, free: 72.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=204): time 0.1034/1.5, allocations: 21.12 MB / 0.6116 GB, free: 65.26 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.6e-05/1.5, allocations: 147.4 kB / 0.6117 GB, free: 65.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006211/1.506, allocations: 2.792 MB / 0.6145 GB, free: 63.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005635/1.507, allocations: 53.7 kB / 0.6145 GB, free: 63.75 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002114/1.509, allocations: 2.587 MB / 0.617 GB, free: 61.43 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001229/1.51, allocations: 0.7664 MB / 0.6178 GB, free: 60.75 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006202/1.511, allocations: 108 kB / 0.6179 GB, free: 60.65 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003347/1.511, allocations: 0.547 MB / 0.6184 GB, free: 60.16 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005547/1.517, allocations: 2.412 MB / 0.6208 GB, free: 57.97 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007602/1.524, allocations: 5.6 MB / 0.6262 GB, free: 51.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007988/1.532, allocations: 3.665 MB / 0.6298 GB, free: 47.92 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.114e-05/1.533, allocations: 32 kB / 0.6298 GB, free: 47.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=727) (initialization): time 0.02281/1.555, allocations: 8.643 MB / 0.6383 GB, free: 40.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.078e-05/1.556, allocations: 52 kB / 0.6383 GB, free: 40.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001362/1.556, allocations: 112 kB / 0.6384 GB, free: 40.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004759/1.561, allocations: 1.048 MB / 0.6395 GB, free: 39.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008754/1.569, allocations: 1.315 MB / 0.6408 GB, free: 38.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007253/1.577, allocations: 5.353 MB / 0.646 GB, free: 33.01 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006277/1.583, allocations: 312.7 kB / 0.6463 GB, free: 32.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001263/1.584, allocations: 345.1 kB / 0.6466 GB, free: 32.37 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.001252/1.586, allocations: 0.5092 MB / 0.6471 GB, free: 31.85 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008298/1.586, allocations: 296.1 kB / 0.6474 GB, free: 31.56 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01159/1.598, allocations: 4.337 MB / 0.6516 GB, free: 27.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.959e-05/1.598, allocations: 20 kB / 0.6516 GB, free: 27.18 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.86e-05/1.598, allocations: 8 kB / 0.6516 GB, free: 27.17 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.144e-05/1.598, allocations: 11.95 kB / 0.6517 GB, free: 27.16 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02424/1.622, allocations: 9.325 MB / 0.6608 GB, free: 17.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.047e-05/1.623, allocations: 4 kB / 0.6608 GB, free: 17.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003877/1.626, allocations: 367.2 kB / 0.6611 GB, free: 17.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004317/1.631, allocations: 0.8679 MB / 0.662 GB, free: 16.56 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004952/1.631, allocations: 39.98 kB / 0.662 GB, free: 16.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006254/1.638, allocations: 4.733 MB / 0.6666 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.638, allocations: 4.031 kB / 0.6666 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0169/1.655, allocations: 7.617 MB / 0.6741 GB, free: 3.871 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002456/1.657, allocations: 0.7158 MB / 0.6748 GB, free: 3.133 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000778/1.658, allocations: 32.62 kB / 0.6748 GB, free: 3.102 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002953/1.661, allocations: 120.4 kB / 0.6749 GB, free: 2.984 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005996/1.661, allocations: 114.1 kB / 0.675 GB, free: 2.871 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002591/1.662, allocations: 51.98 kB / 0.6751 GB, free: 2.82 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004383/1.666, allocations: 1.912 MB / 0.6769 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.052e-06/1.666, allocations: 7.938 kB / 0.6769 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006173/1.672, allocations: 0.9386 MB / 0.6779 GB, free: 15.96 MB / 474.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.02141/1.694, allocations: 8.444 MB / 0.6861 GB, free: 7.469 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01885/1.713, allocations: 6.323 MB / 0.6923 GB, free: 1.109 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/1.713, allocations: 4 kB / 0.6923 GB, free: 1.105 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007783/1.721, allocations: 2.659 MB / 0.6949 GB, free: 14.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/1.723, allocations: 284.8 kB / 0.6952 GB, free: 14.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02866/1.752, allocations: 8.717 MB / 0.7037 GB, free: 5.398 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007019/1.759, allocations: 2.931 MB / 0.7065 GB, free: 2.457 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00876/1.768, allocations: 1.847 MB / 0.7083 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.332/2.1, allocations: 1.573 MB / 0.7099 GB, free: 126 MB / 490.7 MB Notification: Performance of SimCode: time 2.234e-06/2.1, allocations: 0 / 0.7099 GB, free: 126 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2161/2.316, allocations: 70.13 MB / 0.7784 GB, free: 106.7 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002632/2.316, allocations: 176.6 kB / 0.7785 GB, free: 106.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.061/7.377, allocations: 0 / 0.7785 GB, free: 106.4 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