Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.435/2.435, allocations: 270 MB / 283.6 MB, free: 1.918 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.411e-05/5.457e-05, allocations: 4 kB / 348.5 MB, free: 2.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5038/0.5039, allocations: 61.87 MB / 410.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.199/0.703, allocations: 108 MB / 0.5062 GB, free: 14.49 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.7033, allocations: 75.95 kB / 0.5063 GB, free: 14.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6312/1.335, allocations: 72.24 MB / 0.5768 GB, free: 65.69 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.585e-06/1.335, allocations: 0 / 0.5768 GB, free: 65.69 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001784/1.335, allocations: 83.92 kB / 0.5769 GB, free: 65.61 MB / 442.7 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.01292/1.348, allocations: 3.607 MB / 0.5804 GB, free: 61.94 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/1.348, allocations: 8.031 kB / 0.5804 GB, free: 61.93 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002477/1.35, allocations: 0.7419 MB / 0.5811 GB, free: 61.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01615/1.366, allocations: 2.062 MB / 0.5832 GB, free: 59.11 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/1.377, allocations: 2.076 MB / 0.5852 GB, free: 56.98 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005307/1.378, allocations: 308 kB / 0.5855 GB, free: 56.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002905/1.381, allocations: 407.8 kB / 0.5859 GB, free: 56.28 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05111/1.432, allocations: 10.99 MB / 0.5966 GB, free: 44.35 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003402/1.432, allocations: 55.41 kB / 0.5967 GB, free: 44.29 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002574/1.435, allocations: 195.9 kB / 0.5968 GB, free: 44.1 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00363/1.438, allocations: 1.077 MB / 0.5979 GB, free: 43.02 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04095/1.48, allocations: 9.206 MB / 0.6069 GB, free: 33.8 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06903/1.549, allocations: 45.88 MB / 0.6517 GB, free: 2.508 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02786/1.577, allocations: 4.212 MB / 0.6558 GB, free: 14.11 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007257/1.584, allocations: 2.289 MB / 0.658 GB, free: 11.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0194/1.603, allocations: 5.758 MB / 0.6637 GB, free: 5.84 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.413e-05/1.603, allocations: 51.88 kB / 0.6637 GB, free: 5.781 MB / 474.7 MB Notification: Performance of pre-optimization done (n=181): time 8.336e-06/1.603, allocations: 3.938 kB / 0.6637 GB, free: 5.777 MB / 474.7 MB Notification: Performance of matching and sorting (n=224): time 0.116/1.719, allocations: 21.86 MB / 0.6851 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/1.72, allocations: 154.5 kB / 0.6852 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01021/1.73, allocations: 2.97 MB / 0.6881 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008833/1.731, allocations: 65.69 kB / 0.6882 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004918/1.736, allocations: 2.798 MB / 0.6909 GB, free: 9.707 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001899/1.738, allocations: 0.8443 MB / 0.6917 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008326/1.739, allocations: 120 kB / 0.6918 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005185/1.739, allocations: 0.5543 MB / 0.6924 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007003/1.746, allocations: 2.519 MB / 0.6948 GB, free: 5.648 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01053/1.757, allocations: 5.905 MB / 0.7006 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009471/1.766, allocations: 3.85 MB / 0.7044 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001049/1.766, allocations: 32 kB / 0.7044 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02748/1.794, allocations: 8.753 MB / 0.7129 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/1.794, allocations: 60 kB / 0.713 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001998/1.794, allocations: 120 kB / 0.7131 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005197/1.799, allocations: 1.07 MB / 0.7142 GB, free: 136 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3916/2.191, allocations: 1.406 MB / 0.7155 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008236/2.199, allocations: 5.365 MB / 0.7208 GB, free: 135 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006989/2.206, allocations: 329.9 kB / 0.7211 GB, free: 135 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001569/2.208, allocations: 364.2 kB / 0.7214 GB, free: 135 MB / 0.5105 GB 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.001952/2.21, allocations: 0.556 MB / 0.722 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008169/2.211, allocations: 314 kB / 0.7223 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/2.224, allocations: 4.514 MB / 0.7267 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.096e-05/2.224, allocations: 24.53 kB / 0.7267 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-05/2.224, allocations: 3.812 kB / 0.7267 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.754e-05/2.224, allocations: 12.75 kB / 0.7267 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0288/2.253, allocations: 9.916 MB / 0.7364 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.998e-05/2.253, allocations: 2.812 kB / 0.7364 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00654/2.26, allocations: 389.3 kB / 0.7368 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005892/2.266, allocations: 0.8664 MB / 0.7376 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006122/2.266, allocations: 44.92 kB / 0.7377 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006605/2.273, allocations: 4.717 MB / 0.7423 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/2.273, allocations: 7.625 kB / 0.7423 GB, free: 130.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01778/2.291, allocations: 7.853 MB / 0.75 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009968/2.292, allocations: 369.3 kB / 0.7503 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001242/2.293, allocations: 34.81 kB / 0.7503 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00347/2.296, allocations: 123.1 kB / 0.7505 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006668/2.297, allocations: 129.2 kB / 0.7506 GB, free: 127.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002644/2.297, allocations: 54.91 kB / 0.7506 GB, free: 127 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00509/2.303, allocations: 2.03 MB / 0.7526 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.022e-06/2.303, allocations: 0 / 0.7526 GB, free: 126.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007166/2.31, allocations: 1.025 MB / 0.7536 GB, free: 126.2 MB / 0.5105 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.01878/2.329, allocations: 8.704 MB / 0.7621 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01609/2.345, allocations: 6.42 MB / 0.7684 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/2.345, allocations: 0 / 0.7684 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00831/2.353, allocations: 2.713 MB / 0.771 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002887/2.356, allocations: 314.1 kB / 0.7713 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02795/2.384, allocations: 9.29 MB / 0.7804 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005664/2.39, allocations: 3.126 MB / 0.7835 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008592/2.398, allocations: 1.957 MB / 0.7854 GB, free: 105 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00418/2.403, allocations: 1.718 MB / 0.787 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.363e-06/2.403, allocations: 0 / 0.787 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1656/2.568, allocations: 74.51 MB / 0.8598 GB, free: 34.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/2.569, allocations: 173.8 kB / 0.86 GB, free: 34.68 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.614/8.183, allocations: 4 kB / 0.86 GB, free: 34.68 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat does not exist to compare? outputFormat=mat