Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulumInitTip",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.325/2.325, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.053e-05/3.065e-05, allocations: 5.016 kB / 249.8 MB, free: 5.262 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1036, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4807/0.5844, allocations: 91.27 MB / 385.6 MB, free: 4.703 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003262/0.5848, allocations: 86.33 kB / 385.7 MB, free: 4.691 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4962/1.081, allocations: 92.48 MB / 478.1 MB, free: 9.441 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.672e-06/1.081, allocations: 3.984 kB / 478.1 MB, free: 9.438 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004418/1.082, allocations: 91.98 kB / 478.2 MB, free: 9.348 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1553 * Number of variables: 1553 Notification: Performance of Generate backend data structure: time 0.02332/1.105, allocations: 4.492 MB / 482.7 MB, free: 4.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.000101/1.105, allocations: 8.031 kB / 482.7 MB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06017/1.165, allocations: 6.733 MB / 489.5 MB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02794/1.193, allocations: 6.157 MB / 495.6 MB, free: 7.809 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003743/1.194, allocations: 140 kB / 495.8 MB, free: 7.672 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002545/1.196, allocations: 267.8 kB / 496 MB, free: 7.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02039/1.217, allocations: 6.198 MB / 0.4905 GB, free: 1.203 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3744/1.591, allocations: 9.426 MB / 0.4997 GB, free: 76.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000552/1.592, allocations: 63.88 kB / 0.4997 GB, free: 76.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002459/1.594, allocations: 31.28 kB / 0.4997 GB, free: 76.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003258/1.597, allocations: 1.005 MB / 0.5007 GB, free: 76.08 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08038/1.678, allocations: 44.09 MB / 0.5438 GB, free: 50.72 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006849/1.685, allocations: 3.195 MB / 0.5469 GB, free: 50.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006574/1.691, allocations: 1.973 MB / 0.5488 GB, free: 49.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001987/1.693, allocations: 0.6509 MB / 0.5495 GB, free: 48.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001082/1.694, allocations: 54.12 kB / 0.5495 GB, free: 48.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=175): time 1.205e-05/1.694, allocations: 2.625 kB / 0.5495 GB, free: 48.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=210): time 0.08285/1.777, allocations: 18.36 MB / 0.5675 GB, free: 41.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/1.777, allocations: 257.5 kB / 0.5677 GB, free: 41.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009583/1.786, allocations: 3.242 MB / 0.5709 GB, free: 40.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006273/1.787, allocations: 29.23 kB / 0.5709 GB, free: 40.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003433/1.79, allocations: 3.299 MB / 0.5741 GB, free: 38.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00147/1.792, allocations: 0.7733 MB / 0.5749 GB, free: 37.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001055/1.793, allocations: 3.656 kB / 0.5749 GB, free: 37.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0007108/1.794, allocations: 0.5653 MB / 0.5754 GB, free: 37.11 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006283/1.8, allocations: 2.133 MB / 0.5775 GB, free: 36.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009124/1.809, allocations: 5.79 MB / 0.5832 GB, free: 30.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009348/1.819, allocations: 3.493 MB / 0.5866 GB, free: 29.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002036/1.819, allocations: 34.78 kB / 0.5866 GB, free: 29.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=809) (initialization): time 0.03262/1.852, allocations: 8.765 MB / 0.5952 GB, free: 26.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000126/1.852, allocations: 65.83 kB / 0.5952 GB, free: 26.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002294/1.852, allocations: 132.7 kB / 0.5954 GB, free: 26.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01199/1.864, allocations: 1.957 MB / 0.5973 GB, free: 25.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009782/1.874, allocations: 1.341 MB / 0.5986 GB, free: 24.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03533/1.909, allocations: 14.13 MB / 0.6124 GB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008401/1.918, allocations: 232.4 kB / 0.6126 GB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001906/1.92, allocations: 373.4 kB / 0.6129 GB, free: 11.02 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * Number of states: 0 () * Number of discrete variables: 30 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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 (721): * Single equations (assignments): 715 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,80.0%) 33,(3,100.0%) 11} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.003082/1.923, allocations: 435.6 kB / 0.6134 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01654/1.939, allocations: 4.255 MB / 0.6175 GB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001498/1.941, allocations: 358.9 kB / 0.6179 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01629/1.957, allocations: 4.002 MB / 0.6218 GB, free: 3.539 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.833e-05/1.957, allocations: 24 kB / 0.6218 GB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.95e-05/1.957, allocations: 8 kB / 0.6218 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.178e-05/1.958, allocations: 11.22 kB / 0.6218 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03735/1.995, allocations: 9.045 MB / 0.6306 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.685e-05/1.995, allocations: 4 kB / 0.6306 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003764/1.999, allocations: 298.3 kB / 0.6309 GB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008142/2.007, allocations: 1.202 MB / 0.6321 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006095/2.008, allocations: 7.281 kB / 0.6321 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02264/2.03, allocations: 7.031 MB / 0.639 GB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.988e-06/2.03, allocations: 3.281 kB / 0.639 GB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3955/2.426, allocations: 6.983 MB / 0.6458 GB, free: 84.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003983/2.43, allocations: 0.6915 MB / 0.6465 GB, free: 84.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002058/2.432, allocations: 9.734 kB / 0.6465 GB, free: 84.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005662/2.438, allocations: 87.89 kB / 0.6466 GB, free: 84.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001174/2.439, allocations: 125 kB / 0.6467 GB, free: 84.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004902/2.439, allocations: 54.59 kB / 0.6467 GB, free: 84.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.008362/2.448, allocations: 2.194 MB / 0.6489 GB, free: 84.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.486e-06/2.448, allocations: 0 / 0.6489 GB, free: 84.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01014/2.458, allocations: 0.9844 MB / 0.6498 GB, free: 84.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (157): * Single equations (assignments): 153 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 31} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02435/2.482, allocations: 7.888 MB / 0.6575 GB, free: 83.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01624/2.499, allocations: 5.762 MB / 0.6632 GB, free: 82.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/2.499, allocations: 5.578 kB / 0.6632 GB, free: 82.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006292/2.505, allocations: 2.004 MB / 0.6651 GB, free: 82.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005275/2.51, allocations: 447.1 kB / 0.6656 GB, free: 82.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03809/2.549, allocations: 9.81 MB / 0.6751 GB, free: 81.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009346/2.558, allocations: 3.618 MB / 0.6787 GB, free: 80.26 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.01175/2.57, allocations: 1.963 MB / 0.6806 GB, free: 80.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005844/2.576, allocations: 2.059 MB / 0.6826 GB, free: 80.21 MB / 410.7 MB Notification: Performance of SimCode: time 2.295e-06/2.576, allocations: 9.188 kB / 0.6826 GB, free: 80.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2631/2.839, allocations: 84.94 MB / 0.7656 GB, free: 26.17 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002881/2.839, allocations: 170.7 kB / 0.7657 GB, free: 25.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.285/10.12, allocations: 0 / 0.7657 GB, free: 25.98 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip_res.mat does not exist to compare? outputFormat=mat