Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperParallel,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_SpringDamperParallel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.807/2.807, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.685e-05/3.691e-05, allocations: 4 kB / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4047, allocations: 54.85 MB / 359.9 MB, free: 2.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1789/0.5836, allocations: 95.65 MB / 455.5 MB, free: 1.203 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/0.584, allocations: 74.38 kB / 455.6 MB, free: 1.133 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7727/1.357, allocations: 115.6 MB / 0.5578 GB, free: 97.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.235e-06/1.357, allocations: 0 / 0.5578 GB, free: 97.02 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003311/1.357, allocations: 126.6 kB / 0.5579 GB, free: 97.02 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: 2401 * Number of variables: 2401 Notification: Performance of Generate backend data structure: time 0.02603/1.383, allocations: 6.282 MB / 0.5641 GB, free: 94.64 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/1.383, allocations: 7 kB / 0.5641 GB, free: 94.64 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00526/1.389, allocations: 1.197 MB / 0.5653 GB, free: 94.54 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01951/1.408, allocations: 2.738 MB / 0.5679 GB, free: 94.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01245/1.421, allocations: 3.66 MB / 0.5715 GB, free: 93.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007477/1.421, allocations: 0.5061 MB / 0.572 GB, free: 93.39 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003973/1.425, allocations: 0.6791 MB / 0.5727 GB, free: 93.38 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07013/1.496, allocations: 19.37 MB / 0.5916 GB, free: 86.33 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004335/1.496, allocations: 80.94 kB / 0.5917 GB, free: 86.28 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00333/1.499, allocations: 312.2 kB / 0.5919 GB, free: 86.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004291/1.504, allocations: 1.803 MB / 0.5937 GB, free: 85.77 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06145/1.565, allocations: 16.98 MB / 0.6103 GB, free: 74.01 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1186/1.684, allocations: 70.93 MB / 0.6796 GB, free: 1.793 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04175/1.726, allocations: 8.524 MB / 0.6879 GB, free: 9.113 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0127/1.738, allocations: 5.605 MB / 0.6934 GB, free: 3.484 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03694/1.775, allocations: 14.93 MB / 0.7079 GB, free: 4.375 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.149e-05/1.776, allocations: 80.88 kB / 0.708 GB, free: 4.285 MB / 490.7 MB Notification: Performance of pre-optimization done (n=355): time 8.406e-06/1.776, allocations: 0 / 0.708 GB, free: 4.285 MB / 490.7 MB Notification: Performance of matching and sorting (n=502): time 0.6697/2.445, allocations: 60.61 MB / 0.7672 GB, free: 111.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.698e-05/2.445, allocations: 178.6 kB / 0.7674 GB, free: 111.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008669/2.454, allocations: 4.196 MB / 0.7715 GB, free: 110.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00146/2.456, allocations: 101.7 kB / 0.7716 GB, free: 110 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002997/2.459, allocations: 4.022 MB / 0.7755 GB, free: 106.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00289/2.462, allocations: 1.801 MB / 0.7773 GB, free: 105.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001306/2.463, allocations: 187.4 kB / 0.7774 GB, free: 105.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005602/2.463, allocations: 0.7059 MB / 0.7781 GB, free: 105 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01219/2.476, allocations: 5.31 MB / 0.7833 GB, free: 102.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01549/2.491, allocations: 9.677 MB / 0.7928 GB, free: 94.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01577/2.507, allocations: 7.182 MB / 0.7998 GB, free: 88.56 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001393/2.507, allocations: 44 kB / 0.7998 GB, free: 88.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=1221) (initialization): time 0.0484/2.556, allocations: 17.14 MB / 0.8166 GB, free: 74.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/2.556, allocations: 72 kB / 0.8166 GB, free: 73.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000169/2.556, allocations: 155.8 kB / 0.8168 GB, free: 73.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01389/2.57, allocations: 3.113 MB / 0.8198 GB, free: 71.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01716/2.587, allocations: 2.239 MB / 0.822 GB, free: 69.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0367/2.624, allocations: 24.16 MB / 0.8456 GB, free: 45.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01273/2.637, allocations: 0.5747 MB / 0.8462 GB, free: 45.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002667/2.639, allocations: 0.5137 MB / 0.8467 GB, free: 44.61 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 51 (prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],universal2.cylinderColor[3],universal2.cylinderColor[2],universal2.cylinderColor[1],pm3.sphereColor[3],pm3.sphereColor[2],pm3.sphereColor[1],springDamperParallel2.color[3],springDamperParallel2.color[2],springDamperParallel2.color[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pm2.sphereColor[3],pm2.sphereColor[2],pm2.sphereColor[1],springDamperParallel1.color[3],springDamperParallel1.color[2],springDamperParallel1.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],pm1.sphereColor[3],pm1.sphereColor[2],pm1.sphereColor[1],springDamperParallel.color[3],springDamperParallel.color[2],springDamperParallel.color[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 (1126): * Single equations (assignments): 1113 * 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: 8 * 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: 8 {(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003267/2.643, allocations: 0.7857 MB / 0.8474 GB, free: 43.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001712/2.644, allocations: 0.5052 MB / 0.8479 GB, free: 43.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03834/2.683, allocations: 12.92 MB / 0.8605 GB, free: 30.31 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001/2.683, allocations: 57.09 kB / 0.8606 GB, free: 30.26 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-05/2.683, allocations: 12 kB / 0.8606 GB, free: 30.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001589/2.683, allocations: 19.92 kB / 0.8606 GB, free: 30.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07395/2.757, allocations: 25.22 MB / 0.8853 GB, free: 4.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-05/2.757, allocations: 4 kB / 0.8853 GB, free: 4.926 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00989/2.767, allocations: 0.8819 MB / 0.8861 GB, free: 4.043 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01645/2.784, allocations: 3.324 MB / 0.8894 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001461/2.785, allocations: 95.98 kB / 0.8895 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3818/3.167, allocations: 21.05 MB / 0.91 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/3.167, allocations: 6.531 kB / 0.91 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05513/3.222, allocations: 20.59 MB / 0.9301 GB, free: 107 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006285/3.229, allocations: 1.557 MB / 0.9316 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002509/3.231, allocations: 89.34 kB / 0.9317 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008435/3.24, allocations: 364.2 kB / 0.9321 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002143/3.242, allocations: 335.2 kB / 0.9324 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009794/3.243, allocations: 129.3 kB / 0.9325 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00705/3.25, allocations: 2.892 MB / 0.9353 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.142e-06/3.25, allocations: 0 / 0.9353 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0135/3.263, allocations: 1.954 MB / 0.9373 GB, free: 105 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 18 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic.s,prismatic.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v,pm3.r_0[1],pm3.r_0[2],pm3.r_0[3],pm3.v_0[1],pm3.v_0[2],pm3.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (419): * Single equations (assignments): 401 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 7 {(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(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: 7 {(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.05333/3.317, allocations: 22.17 MB / 0.9589 GB, free: 94.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03312/3.35, allocations: 13.81 MB / 0.9724 GB, free: 89.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/3.35, allocations: 0 / 0.9724 GB, free: 89.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.021/3.371, allocations: 7.68 MB / 0.9799 GB, free: 85.72 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005122/3.376, allocations: 0.5144 MB / 0.9804 GB, free: 85.47 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06145/3.438, allocations: 19.1 MB / 0.9991 GB, free: 70.01 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01123/3.449, allocations: 4.953 MB / 1.004 GB, free: 66.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009856/3.459, allocations: 3.164 MB / 1.007 GB, free: 63.41 MB / 0.4948 GB Notification: Performance of SimCode: time 1.904e-06/3.459, allocations: 0 / 1.007 GB, free: 63.41 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.189/11.65, allocations: 471.8 MB / 1.468 GB, free: 130.1 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat does not exist to compare? outputFormat=mat