Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.853/1.853, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.563e-05/3.58e-05, allocations: 4 kB / 273.1 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0996/0.09966, allocations: 48.72 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4314/0.5311, allocations: 102.7 MB / 424.6 MB, free: 2.836 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/0.5315, allocations: 75.95 kB / 424.7 MB, free: 2.762 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9242/1.456, allocations: 154.3 MB / 0.5654 GB, free: 89.36 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.887e-06/1.456, allocations: 3.281 kB / 0.5654 GB, free: 89.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005316/1.456, allocations: 138.5 kB / 0.5655 GB, free: 89.35 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.02688/1.483, allocations: 6.542 MB / 0.5719 GB, free: 85.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/1.483, allocations: 11.09 kB / 0.5719 GB, free: 85.09 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006638/1.49, allocations: 1.491 MB / 0.5733 GB, free: 84.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04919/1.539, allocations: 6.686 MB / 0.5799 GB, free: 78.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0292/1.568, allocations: 8.372 MB / 0.5881 GB, free: 69.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007004/1.569, allocations: 0.5298 MB / 0.5886 GB, free: 69.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004253/1.573, allocations: 0.7024 MB / 0.5893 GB, free: 68.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05935/1.633, allocations: 18.68 MB / 0.6075 GB, free: 48.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004872/1.633, allocations: 83.27 kB / 0.6076 GB, free: 48.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003843/1.637, allocations: 344.3 kB / 0.6079 GB, free: 48.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003873/1.641, allocations: 1.719 MB / 0.6096 GB, free: 46.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05181/1.693, allocations: 16.21 MB / 0.6254 GB, free: 30.63 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4982/2.191, allocations: 74.12 MB / 0.6978 GB, free: 34.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02659/2.218, allocations: 6.117 MB / 0.7038 GB, free: 32.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006485/2.225, allocations: 2.708 MB / 0.7064 GB, free: 32.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03848/2.263, allocations: 13.91 MB / 0.72 GB, free: 28.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.354e-05/2.263, allocations: 57.41 kB / 0.72 GB, free: 28.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=284): time 8.746e-06/2.263, allocations: 0 / 0.72 GB, free: 28.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=344): time 0.1507/2.414, allocations: 19.31 MB / 0.7389 GB, free: 24.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.477e-05/2.414, allocations: 184.9 kB / 0.7391 GB, free: 24.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01401/2.428, allocations: 5.149 MB / 0.7441 GB, free: 22.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007775/2.429, allocations: 80.25 kB / 0.7442 GB, free: 22.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004629/2.434, allocations: 4.995 MB / 0.7491 GB, free: 18.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002079/2.436, allocations: 1.28 MB / 0.7503 GB, free: 17.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001411/2.437, allocations: 185.4 kB / 0.7505 GB, free: 17.74 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009511/2.438, allocations: 0.7108 MB / 0.7512 GB, free: 17.26 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008793/2.447, allocations: 3.139 MB / 0.7543 GB, free: 16.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01261/2.46, allocations: 8.581 MB / 0.7626 GB, free: 7.828 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0121/2.472, allocations: 5.185 MB / 0.7677 GB, free: 6.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000223/2.472, allocations: 53.31 kB / 0.7677 GB, free: 6.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.03825/2.51, allocations: 12.51 MB / 0.78 GB, free: 1.961 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001419/2.51, allocations: 88 kB / 0.78 GB, free: 1.875 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003067/2.511, allocations: 196 kB / 0.7802 GB, free: 1.684 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007633/2.518, allocations: 1.318 MB / 0.7815 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01424/2.533, allocations: 2.192 MB / 0.7837 GB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01986/2.553, allocations: 7.098 MB / 0.7906 GB, free: 8.402 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01128/2.564, allocations: 0.5629 MB / 0.7911 GB, free: 7.918 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002552/2.567, allocations: 0.5467 MB / 0.7917 GB, free: 7.379 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 876 * Number of states: 0 () * Number of discrete variables: 43 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1152): * Single equations (assignments): 1145 * Array equations: 6 * 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 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003966/2.571, allocations: 0.8029 MB / 0.7925 GB, free: 6.574 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001731/2.572, allocations: 0.5206 MB / 0.793 GB, free: 6.047 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02109/2.593, allocations: 5.273 MB / 0.7981 GB, free: 1.637 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001003/2.594, allocations: 37.25 kB / 0.7982 GB, free: 1.602 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-05/2.594, allocations: 9.594 kB / 0.7982 GB, free: 1.594 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.669e-05/2.594, allocations: 11.81 kB / 0.7982 GB, free: 1.594 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05078/2.645, allocations: 14.05 MB / 0.8119 GB, free: 5.879 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.799e-05/2.645, allocations: 12 kB / 0.8119 GB, free: 5.867 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004786/2.649, allocations: 0.5369 MB / 0.8124 GB, free: 5.434 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006727/2.656, allocations: 0.9124 MB / 0.8133 GB, free: 4.773 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007689/2.657, allocations: 87.36 kB / 0.8134 GB, free: 4.699 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01676/2.674, allocations: 5.467 MB / 0.8187 GB, free: 0 / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.534e-05/2.674, allocations: 24.5 kB / 0.8188 GB, free: 15.97 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02766/2.702, allocations: 10.14 MB / 0.8287 GB, free: 6.199 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004061/2.706, allocations: 0.9482 MB / 0.8296 GB, free: 5.305 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001747/2.708, allocations: 60 kB / 0.8297 GB, free: 5.246 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005005/2.713, allocations: 187.4 kB / 0.8298 GB, free: 5.121 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001039/2.714, allocations: 223.9 kB / 0.83 GB, free: 4.973 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003878/2.714, allocations: 107.3 kB / 0.8302 GB, free: 4.875 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01081/2.725, allocations: 3.551 MB / 0.8336 GB, free: 1.773 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.222e-06/2.725, allocations: 0 / 0.8336 GB, free: 1.773 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0121/2.737, allocations: 1.661 MB / 0.8352 GB, free: 136 kB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 260 * Array equations: 6 * 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 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3522/3.089, allocations: 13.17 MB / 0.8481 GB, free: 114.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02186/3.111, allocations: 7.613 MB / 0.8555 GB, free: 114.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.695e-05/3.111, allocations: 2.219 kB / 0.8555 GB, free: 114.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007245/3.119, allocations: 2.355 MB / 0.8578 GB, free: 114.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005854/3.124, allocations: 0.6422 MB / 0.8585 GB, free: 114.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05049/3.175, allocations: 15.05 MB / 0.8732 GB, free: 111.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0131/3.188, allocations: 5.315 MB / 0.8784 GB, free: 110.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01501/3.203, allocations: 3.039 MB / 0.8813 GB, free: 110.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009338/3.213, allocations: 3.331 MB / 0.8846 GB, free: 108.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.523e-06/3.213, allocations: 0 / 0.8846 GB, free: 108.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6412/3.854, allocations: 123.6 MB / 1.005 GB, free: 83.37 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002395/3.854, allocations: 172.8 kB / 1.005 GB, free: 83.15 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.7/11.55, allocations: 0 / 1.005 GB, free: 83.15 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat does not exist to compare? outputFormat=mat