Running command: "" <> buildModelFMU(ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_16,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Mechanical_Strings_ScaledExperiments_StringModelica_N_16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ScalableTestSuite): time 3.144/3.144, allocations: 326.3 MB / 339.3 MB, free: 11.27 MB / 283.2 MB Notification: Performance of FrontEnd - loaded program: time 3.939e-05/3.93e-05, allocations: 4 kB / 422.3 MB, free: 0.5703 MB / 331.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1747, allocations: 80 MB / 0.4906 GB, free: 460 kB / 411.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7014/0.8761, allocations: 145.7 MB / 0.6329 GB, free: 7 MB / 0.5109 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.8764, allocations: 74.34 kB / 0.633 GB, free: 6.965 MB / 0.5109 GB Notification: Performance of FrontEnd - DAE generated: time 1.979/2.855, allocations: 390.4 MB / 1.014 GB, free: 36.43 MB / 0.6515 GB Notification: Performance of FrontEnd: time 2.615e-06/2.855, allocations: 0 / 1.014 GB, free: 36.43 MB / 0.6515 GB Notification: Performance of Transformations before backend: time 0.002678/2.858, allocations: 412 kB / 1.015 GB, free: 36.03 MB / 0.6515 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5890 * Number of variables: 5890 Notification: Performance of Generate backend data structure: time 0.1192/2.977, allocations: 27.18 MB / 1.041 GB, free: 8.703 MB / 0.6515 GB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/2.977, allocations: 8.031 kB / 1.041 GB, free: 8.695 MB / 0.6515 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01756/2.995, allocations: 3.068 MB / 1.044 GB, free: 5.613 MB / 0.6515 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.8571/3.852, allocations: 48.34 MB / 1.091 GB, free: 74.66 MB / 0.6515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1296/3.981, allocations: 40.59 MB / 1.131 GB, free: 72.96 MB / 0.6515 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00183/3.983, allocations: 1.314 MB / 1.132 GB, free: 72.93 MB / 0.6515 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01091/3.994, allocations: 1.868 MB / 1.134 GB, free: 72.88 MB / 0.6515 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1625/4.157, allocations: 49.47 MB / 1.182 GB, free: 61.79 MB / 0.6515 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002245/4.159, allocations: 305.1 kB / 1.183 GB, free: 61.64 MB / 0.6515 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009148/4.168, allocations: 0.7935 MB / 1.184 GB, free: 61.15 MB / 0.6515 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009256/4.178, allocations: 3.894 MB / 1.187 GB, free: 60.5 MB / 0.6515 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1437/4.321, allocations: 43.46 MB / 1.23 GB, free: 31.61 MB / 0.6515 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9495/5.271, allocations: 188.3 MB / 1.414 GB, free: 36.2 MB / 0.7296 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1297/5.401, allocations: 30.38 MB / 1.443 GB, free: 35.3 MB / 0.7296 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03589/5.437, allocations: 19.38 MB / 1.462 GB, free: 35.2 MB / 0.7296 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001608/5.438, allocations: 0.5232 MB / 1.463 GB, free: 34.9 MB / 0.7296 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1111/5.549, allocations: 24.13 MB / 1.486 GB, free: 34.58 MB / 0.7296 GB Notification: Performance of pre-optimization done (n=1105): time 2.26e-05/5.549, allocations: 0 / 1.486 GB, free: 34.58 MB / 0.7296 GB Notification: Performance of matching and sorting (n=1494): time 1.62/7.169, allocations: 241.4 MB / 1.722 GB, free: 117 MB / 0.7296 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004449/7.17, allocations: 1.144 MB / 1.723 GB, free: 115.7 MB / 0.7296 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04719/7.217, allocations: 16.97 MB / 1.74 GB, free: 111.1 MB / 0.7296 GB Notification: Performance of collectPreVariables (initialization): time 0.005377/7.223, allocations: 269.3 kB / 1.74 GB, free: 110.9 MB / 0.7296 GB Notification: Performance of collectInitialEqns (initialization): time 0.01821/7.241, allocations: 12.26 MB / 1.752 GB, free: 101.8 MB / 0.7296 GB Notification: Performance of collectInitialBindings (initialization): time 0.0114/7.252, allocations: 5.357 MB / 1.757 GB, free: 97.8 MB / 0.7296 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005789/7.258, allocations: 427.3 kB / 1.758 GB, free: 97.46 MB / 0.7296 GB Notification: Performance of setup shared object (initialization): time 0.002098/7.26, allocations: 1.275 MB / 1.759 GB, free: 96.77 MB / 0.7296 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0446/7.305, allocations: 18.92 MB / 1.777 GB, free: 91.42 MB / 0.7296 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05023/7.355, allocations: 27.34 MB / 1.804 GB, free: 64.18 MB / 0.7296 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0518/7.407, allocations: 23.81 MB / 1.827 GB, free: 45.76 MB / 0.7296 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003115/7.407, allocations: 83.75 kB / 1.827 GB, free: 45.68 MB / 0.7296 GB Notification: Performance of matching and sorting (n=2765) (initialization): time 0.7899/8.197, allocations: 70.57 MB / 1.896 GB, free: 106.5 MB / 0.7296 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002703/8.198, allocations: 155.3 kB / 1.896 GB, free: 106.5 MB / 0.7296 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006175/8.198, allocations: 269.9 kB / 1.897 GB, free: 106.5 MB / 0.7296 GB Notification: Tearing is skipped for strong component 1 because system size of 458 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.000695/8.199, allocations: 420.7 kB / 1.897 GB, free: 106.5 MB / 0.7296 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0372/8.236, allocations: 5.018 MB / 1.902 GB, free: 106.5 MB / 0.7296 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007439/8.237, allocations: 0.5413 MB / 1.903 GB, free: 106.5 MB / 0.7296 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04056/8.278, allocations: 2.849 MB / 1.905 GB, free: 106.5 MB / 0.7296 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008492/8.286, allocations: 1.061 MB / 1.906 GB, free: 106.5 MB / 0.7296 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1232 * Number of states: 0 () * Number of discrete variables: 170 ($whenCondition1,$PRE.pulse1.T_start,pulse1.T_start,$PRE.pulse1.count,pulse1.count,bodybox[17].color[3],bodybox[17].color[2],bodybox[17].color[1],bodybox[17].body.sphereColor[3],bodybox[17].body.sphereColor[2],bodybox[17].body.sphereColor[1],bodybox[16].color[3],bodybox[16].color[2],bodybox[16].color[1],bodybox[16].body.sphereColor[3],bodybox[16].body.sphereColor[2],bodybox[16].body.sphereColor[1],bodybox[15].color[3],bodybox[15].color[2],bodybox[15].color[1],bodybox[15].body.sphereColor[3],bodybox[15].body.sphereColor[2],bodybox[15].body.sphereColor[1],bodybox[14].color[3],bodybox[14].color[2],bodybox[14].color[1],bodybox[14].body.sphereColor[3],bodybox[14].body.sphereColor[2],bodybox[14].body.sphereColor[1],bodybox[13].color[3],bodybox[13].color[2],bodybox[13].color[1],bodybox[13].body.sphereColor[3],bodybox[13].body.sphereColor[2],bodybox[13].body.sphereColor[1],bodybox[12].color[3],bodybox[12].color[2],bodybox[12].color[1],bodybox[12].body.sphereColor[3],bodybox[12].body.sphereColor[2],bodybox[12].body.sphereColor[1],bodybox[11].color[3],bodybox[11].color[2],bodybox[11].color[1],bodybox[11].body.sphereColor[3],bodybox[11].body.sphereColor[2],bodybox[11].body.sphereColor[1],bodybox[10].color[3],bodybox[10].color[2],bodybox[10].color[1],bodybox[10].body.sphereColor[3],bodybox[10].body.sphereColor[2],bodybox[10].body.sphereColor[1],bodybox[9].color[3],bodybox[9].color[2],bodybox[9].color[1],bodybox[9].body.sphereColor[3],bodybox[9].body.sphereColor[2],bodybox[9].body.sphereColor[1],bodybox[8].color[3],bodybox[8].color[2],bodybox[8].color[1],bodybox[8].body.sphereColor[3],bodybox[8].body.sphereColor[2],bodybox[8].body.sphereColor[1],bodybox[7].color[3],bodybox[7].color[2],bodybox[7].color[1],bodybox[7].body.sphereColor[3],bodybox[7].body.sphereColor[2],bodybox[7].body.sphereColor[1],bodybox[6].color[3],bodybox[6].color[2],bodybox[6].color[1],bodybox[6].body.sphereColor[3],bodybox[6].body.sphereColor[2],bodybox[6].body.sphereColor[1],bodybox[5].color[3],bodybox[5].color[2],bodybox[5].color[1],bodybox[5].body.sphereColor[3],bodybox[5].body.sphereColor[2],bodybox[5].body.sphereColor[1],bodybox[4].color[3],bodybox[4].color[2],bodybox[4].color[1],bodybox[4].body.sphereColor[3],bodybox[4].body.sphereColor[2],bodybox[4].body.sphereColor[1],bodybox[3].color[3],bodybox[3].color[2],bodybox[3].color[1],bodybox[3].body.sphereColor[3],bodybox[3].body.sphereColor[2],bodybox[3].body.sphereColor[1],bodybox[2].color[3],bodybox[2].color[2],bodybox[2].color[1],bodybox[2].body.sphereColor[3],bodybox[2].body.sphereColor[2],bodybox[2].body.sphereColor[1],bodybox[1].color[3],bodybox[1].color[2],bodybox[1].color[1],bodybox[1].body.sphereColor[3],bodybox[1].body.sphereColor[2],bodybox[1].body.sphereColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],revolute[16].cylinderColor[3],revolute[16].cylinderColor[2],revolute[16].cylinderColor[1],revolute[15].cylinderColor[3],revolute[15].cylinderColor[2],revolute[15].cylinderColor[1],revolute[14].cylinderColor[3],revolute[14].cylinderColor[2],revolute[14].cylinderColor[1],revolute[13].cylinderColor[3],revolute[13].cylinderColor[2],revolute[13].cylinderColor[1],revolute[12].cylinderColor[3],revolute[12].cylinderColor[2],revolute[12].cylinderColor[1],revolute[11].cylinderColor[3],revolute[11].cylinderColor[2],revolute[11].cylinderColor[1],revolute[10].cylinderColor[3],revolute[10].cylinderColor[2],revolute[10].cylinderColor[1],revolute[9].cylinderColor[3],revolute[9].cylinderColor[2],revolute[9].cylinderColor[1],revolute[8].cylinderColor[3],revolute[8].cylinderColor[2],revolute[8].cylinderColor[1],revolute[7].cylinderColor[3],revolute[7].cylinderColor[2],revolute[7].cylinderColor[1],revolute[6].cylinderColor[3],revolute[6].cylinderColor[2],revolute[6].cylinderColor[1],revolute[5].cylinderColor[3],revolute[5].cylinderColor[2],revolute[5].cylinderColor[1],revolute[4].cylinderColor[3],revolute[4].cylinderColor[2],revolute[4].cylinderColor[1],revolute[3].cylinderColor[3],revolute[3].cylinderColor[2],revolute[3].cylinderColor[1],revolute[2].cylinderColor[3],revolute[2].cylinderColor[2],revolute[2].cylinderColor[1],revolute[1].cylinderColor[3],revolute[1].cylinderColor[2],revolute[1].cylinderColor[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 (2283): * Single equations (assignments): 2278 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(458,0.8%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01383/8.3, allocations: 1.636 MB / 1.908 GB, free: 106.2 MB / 0.7296 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009337/8.309, allocations: 1.752 MB / 1.91 GB, free: 106.2 MB / 0.7296 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2137/8.523, allocations: 62.92 MB / 1.971 GB, free: 105 MB / 0.7296 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002069/8.523, allocations: 154.5 kB / 1.971 GB, free: 105 MB / 0.7296 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001595/8.524, allocations: 81.11 kB / 1.971 GB, free: 105 MB / 0.7296 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003307/8.524, allocations: 74.31 kB / 1.971 GB, free: 105 MB / 0.7296 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3614/8.885, allocations: 120.1 MB / 2.089 GB, free: 40.2 MB / 0.7296 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002225/8.886, allocations: 12 kB / 2.089 GB, free: 40.19 MB / 0.7296 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02327/8.909, allocations: 2.598 MB / 2.091 GB, free: 37.59 MB / 0.7296 GB Notification: Tearing is skipped for strong component 2 because system size of 455 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.0001683/8.909, allocations: 54.56 kB / 2.091 GB, free: 37.54 MB / 0.7296 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00464/8.914, allocations: 284 kB / 2.092 GB, free: 37.27 MB / 0.7296 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001148/8.914, allocations: 63.88 kB / 2.092 GB, free: 37.2 MB / 0.7296 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.711e-05/8.914, allocations: 23.88 kB / 2.092 GB, free: 37.18 MB / 0.7296 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8384/9.752, allocations: 94.89 MB / 2.184 GB, free: 98.93 MB / 0.7296 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02434/9.777, allocations: 5.736 MB / 2.19 GB, free: 98.84 MB / 0.7296 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009747/9.787, allocations: 283.3 kB / 2.19 GB, free: 98.84 MB / 0.7296 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03171/9.818, allocations: 2.403 MB / 2.193 GB, free: 98.84 MB / 0.7296 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008283/9.827, allocations: 1.323 MB / 2.194 GB, free: 98.81 MB / 0.7296 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004619/9.831, allocations: 370.5 kB / 2.194 GB, free: 98.81 MB / 0.7296 GB Notification: Performance of sorting global known variables: time 0.03376/9.865, allocations: 12.78 MB / 2.207 GB, free: 98.31 MB / 0.7296 GB Notification: Performance of sort global known variables: time 1.383e-06/9.865, allocations: 0 / 2.207 GB, free: 98.31 MB / 0.7296 GB Notification: Performance of remove unused functions: time 0.03359/9.899, allocations: 5.908 MB / 2.212 GB, free: 98.31 MB / 0.7296 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 67 * Number of states: 34 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w,revolute[3].phi,revolute[3].w,revolute[4].phi,revolute[4].w,revolute[5].phi,revolute[5].w,revolute[6].phi,revolute[6].w,revolute[7].phi,revolute[7].w,revolute[8].phi,revolute[8].w,revolute[9].phi,revolute[9].w,revolute[10].phi,revolute[10].w,revolute[11].phi,revolute[11].w,revolute[12].phi,revolute[12].w,revolute[13].phi,revolute[13].w,revolute[14].phi,revolute[14].w,revolute[15].phi,revolute[15].w,revolute[16].phi,revolute[16].w,prismatic1.s,prismatic1.v) * Number of discrete variables: 3 ($whenCondition1,pulse1.T_start,pulse1.count) * Number of discrete states: 1 (pulse1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1048): * Single equations (assignments): 1042 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(455,0.8%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2714/10.17, allocations: 96.16 MB / 2.306 GB, free: 72.42 MB / 0.7296 GB Notification: Performance of simCode: created initialization part: time 0.166/10.34, allocations: 54.38 MB / 2.359 GB, free: 33.86 MB / 0.7296 GB Notification: Performance of simCode: created event and clocks part: time 2.837e-05/10.34, allocations: 8 kB / 2.359 GB, free: 33.86 MB / 0.7296 GB Notification: Performance of simCode: created simulation system equations: time 0.1169/10.45, allocations: 32.11 MB / 2.391 GB, free: 6.492 MB / 0.7296 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03035/10.48, allocations: 3.169 MB / 2.394 GB, free: 3.418 MB / 0.7296 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7646/11.25, allocations: 71.82 MB / 2.464 GB, free: 106.7 MB / 0.7296 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04377/11.29, allocations: 15.95 MB / 2.48 GB, free: 105.5 MB / 0.7296 GB Notification: Performance of simCode: alias equations: time 0.05643/11.35, allocations: 13.66 MB / 2.493 GB, free: 105.4 MB / 0.7296 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03066/11.38, allocations: 10.79 MB / 2.503 GB, free: 105.4 MB / 0.7296 GB Notification: Performance of SimCode: time 2.013e-06/11.38, allocations: 0 / 2.503 GB, free: 105.4 MB / 0.7296 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.221/13.6, allocations: 0.5021 GB / 3.006 GB, free: 70.19 MB / 0.7609 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/13.6, allocations: 211.3 kB / 3.006 GB, free: 69.96 MB / 0.7609 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.34/33.95, allocations: 0 / 3.006 GB, free: 69.96 MB / 0.7609 GB TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Mechanical.Strings.ScaledExperiments.StringModelica_N_16_res.mat does not exist to compare? outputFormat=mat