Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.713/1.713, allocations: 171.2 MB / 183.3 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.302e-05/4.326e-05, allocations: 4 kB / 225.1 MB, free: 2.203 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2903, allocations: 38.77 MB / 263.9 MB, free: 9.703 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1792/0.4696, allocations: 100.5 MB / 364.4 MB, free: 5.023 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003383/0.47, allocations: 87.95 kB / 364.5 MB, free: 4.938 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7452/1.215, allocations: 136.1 MB / 0.4888 GB, free: 5.559 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.364e-06/1.215, allocations: 0 / 0.4888 GB, free: 5.559 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005768/1.216, allocations: 152 kB / 0.4889 GB, free: 5.41 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.5764/1.792, allocations: 7.243 MB / 0.496 GB, free: 35.8 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.301e-05/1.792, allocations: 11.03 kB / 0.496 GB, free: 35.8 MB / 346.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00668/1.799, allocations: 1.296 MB / 0.4973 GB, free: 35.71 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02293/1.822, allocations: 2.875 MB / 0.5001 GB, free: 35.23 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02876/1.851, allocations: 7.636 MB / 0.5075 GB, free: 34.82 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007352/1.852, allocations: 0.5677 MB / 0.5081 GB, free: 34.8 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004511/1.856, allocations: 0.7515 MB / 0.5088 GB, free: 34.8 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06747/1.924, allocations: 18.17 MB / 0.5266 GB, free: 31.28 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006151/1.924, allocations: 83.81 kB / 0.5267 GB, free: 31.28 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003853/1.928, allocations: 357.3 kB / 0.527 GB, free: 31.28 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003941/1.932, allocations: 1.594 MB / 0.5286 GB, free: 31.27 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05079/1.983, allocations: 14.84 MB / 0.543 GB, free: 31.03 MB / 346.8 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1443/2.127, allocations: 75.45 MB / 0.6167 GB, free: 5.934 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04174/2.169, allocations: 7.589 MB / 0.6241 GB, free: 15.79 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008571/2.178, allocations: 3.232 MB / 0.6273 GB, free: 12.82 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04184/2.22, allocations: 14.05 MB / 0.641 GB, free: 496 kB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.783e-05/2.22, allocations: 63.61 kB / 0.6411 GB, free: 428 kB / 394.8 MB Notification: Performance of pre-optimization done (n=251): time 7.995e-06/2.22, allocations: 0 / 0.6411 GB, free: 428 kB / 394.8 MB Notification: Performance of matching and sorting (n=297): time 0.5313/2.751, allocations: 30.59 MB / 0.6709 GB, free: 78.71 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.738e-05/2.751, allocations: 155.2 kB / 0.6711 GB, free: 78.55 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01451/2.766, allocations: 5.143 MB / 0.6761 GB, free: 78.04 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008484/2.767, allocations: 76 kB / 0.6762 GB, free: 78.01 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005021/2.772, allocations: 4.996 MB / 0.6811 GB, free: 75.5 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0021/2.774, allocations: 1.132 MB / 0.6822 GB, free: 74.85 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001674/2.776, allocations: 177.9 kB / 0.6823 GB, free: 74.85 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.00114/2.777, allocations: 0.6865 MB / 0.683 GB, free: 74.52 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01059/2.787, allocations: 3.278 MB / 0.6862 GB, free: 74.5 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01339/2.801, allocations: 8.528 MB / 0.6945 GB, free: 67.74 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01297/2.814, allocations: 5.221 MB / 0.6996 GB, free: 67.7 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002862/2.814, allocations: 54.72 kB / 0.6997 GB, free: 67.7 MB / 394.8 MB Warning: The linear system: 1 : bodyOfConstraint.v_0[1] = 0.2148655148851041 * freeMotionScalarInit.v_rel_a_1 + (-0.5318108111446446) * freeMotionScalarInit.v_rel_a_2 + 0.8191520442889918 * freeMotionScalarInit.v_rel_a_3 2 : 0.0 = 0.8191520442889918 * bodyOfConstraint.v_0[1] + (-0.09960050292505122) * bodyOfConstraint.v_0[2] + 0.5648625214636235 * bodyOfConstraint.v_0[3] 3 : bodyOfConstraint.v_0[2] = 0.9663834860128886 * freeMotionScalarInit.v_rel_a_1 + 0.2370288965055821 * freeMotionScalarInit.v_rel_a_2 + (-0.09960050292505122) * freeMotionScalarInit.v_rel_a_3 4 : bodyOfConstraint.v_0[3] = (-0.1411940808771254) * freeMotionScalarInit.v_rel_a_1 + 0.8130157214783864 * freeMotionScalarInit.v_rel_a_2 + 0.5648625214636235 * freeMotionScalarInit.v_rel_a_3 [ 0.0 , -0.2148655148851041 , 0.0 , 1.0 ; -0.5648625214636235 , 0.0 , 0.09960050292505122 , -0.8191520442889918 ; 0.0 , -0.9663834860128886 , 1.0 , 0.0 ; 1.0 , 0.1411940808771254 , 0.0 , 0.0 ] * [ bodyOfConstraint.v_0[3] ; freeMotionScalarInit.v_rel_a_1 ; bodyOfConstraint.v_0[2] ; bodyOfConstraint.v_0[1] ] = [ (-0.5318108111446446) * freeMotionScalarInit.v_rel_a_2 + 0.8191520442889918 * freeMotionScalarInit.v_rel_a_3 ; -0.0 ; 0.2370288965055821 * freeMotionScalarInit.v_rel_a_2 + (-0.09960050292505122) * freeMotionScalarInit.v_rel_a_3 ; 0.8130157214783864 * freeMotionScalarInit.v_rel_a_2 + 0.5648625214636235 * freeMotionScalarInit.v_rel_a_3 ] might be structurally or numerically singular for variable bodyOfConstraint.v_0[1] since U(4,4) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=1155) (initialization): time 0.04403/2.858, allocations: 13.84 MB / 0.7132 GB, free: 64.09 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001804/2.859, allocations: 84.53 kB / 0.7133 GB, free: 64.09 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003082/2.859, allocations: 188.5 kB / 0.7135 GB, free: 64.09 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01236/2.871, allocations: 2.267 MB / 0.7157 GB, free: 63.62 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0143/2.886, allocations: 2.084 MB / 0.7177 GB, free: 63.38 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03548/2.921, allocations: 20.15 MB / 0.7374 GB, free: 49.48 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01124/2.933, allocations: 0.4934 MB / 0.7379 GB, free: 49.06 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002296/2.935, allocations: 0.5162 MB / 0.7384 GB, free: 48.55 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 849 * Number of states: 0 () * Number of discrete variables: 60 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],jointPrismatic_y.boxColor[3],jointPrismatic_y.boxColor[2],jointPrismatic_y.boxColor[1],jointPrismatic_x.boxColor[3],jointPrismatic_x.boxColor[2],jointPrismatic_x.boxColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1072): * Single equations (assignments): 1061 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,75.0%) 5,(1,100.0%) 3,(1,100.0%) 3,(2,100.0%) 6,(4,100.0%) 9,(4,100.0%) 9} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.003924/2.939, allocations: 0.7922 MB / 0.7392 GB, free: 47.76 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00174/2.941, allocations: 0.5283 MB / 0.7397 GB, free: 47.23 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02504/2.966, allocations: 7.091 MB / 0.7466 GB, free: 41.36 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.946e-05/2.966, allocations: 44.41 kB / 0.7466 GB, free: 41.32 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.653e-05/2.966, allocations: 12 kB / 0.7466 GB, free: 41.31 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.12e-05/2.966, allocations: 12.89 kB / 0.7467 GB, free: 41.31 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05158/3.018, allocations: 15.31 MB / 0.7616 GB, free: 28.78 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.406e-05/3.018, allocations: 0 / 0.7616 GB, free: 28.78 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005984/3.024, allocations: 0.5183 MB / 0.7621 GB, free: 28.39 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01201/3.036, allocations: 2.08 MB / 0.7642 GB, free: 26.91 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009354/3.037, allocations: 54.62 kB / 0.7642 GB, free: 26.86 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4222/3.459, allocations: 22.52 MB / 0.7862 GB, free: 65.43 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/3.459, allocations: 3.281 kB / 0.7862 GB, free: 65.43 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0443/3.503, allocations: 10.97 MB / 0.7969 GB, free: 64.35 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005792/3.509, allocations: 1.012 MB / 0.7979 GB, free: 64.25 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00303/3.512, allocations: 45.64 kB / 0.7979 GB, free: 64.25 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009221/3.522, allocations: 194.5 kB / 0.7981 GB, free: 64.25 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001862/3.524, allocations: 193.4 kB / 0.7983 GB, free: 64.25 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001037/3.525, allocations: 74.69 kB / 0.7984 GB, free: 64.25 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.009815/3.535, allocations: 3.562 MB / 0.8019 GB, free: 64 MB / 394.8 MB Notification: Performance of sort global known variables: time 1.022e-06/3.535, allocations: 0 / 0.8019 GB, free: 64 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.01223/3.547, allocations: 1.743 MB / 0.8036 GB, free: 64 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (bodyOfJoint.v_0[2],bodyOfJoint.v_0[3],bodyOfJoint.body.frame_a.r_0[2],bodyOfJoint.body.frame_a.r_0[3],bodyOfConstraint.v_0[2],bodyOfConstraint.v_0[3],bodyOfConstraint.body.frame_a.r_0[2],bodyOfConstraint.body.frame_a.r_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (214): * Single equations (assignments): 201 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 6,(1,100.0%) 3,(4,75.0%) 5,(2,100.0%) 1,(4,100.0%) 9,(4,100.0%) 9,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 1 {4 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0323/3.579, allocations: 11.88 MB / 0.8152 GB, free: 62.27 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.02314/3.602, allocations: 9.108 MB / 0.8241 GB, free: 61.41 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/3.602, allocations: 0 / 0.8241 GB, free: 61.41 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01113/3.614, allocations: 4.119 MB / 0.8281 GB, free: 60.36 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007127/3.621, allocations: 0.7345 MB / 0.8288 GB, free: 60.33 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05636/3.677, allocations: 15.65 MB / 0.8441 GB, free: 55.84 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01335/3.691, allocations: 5.273 MB / 0.8492 GB, free: 54.1 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.01447/3.705, allocations: 2.734 MB / 0.8519 GB, free: 54.02 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007716/3.713, allocations: 3.293 MB / 0.8551 GB, free: 51.28 MB / 394.8 MB Notification: Performance of SimCode: time 1.262e-06/3.713, allocations: 0 / 0.8551 GB, free: 51.28 MB / 394.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.612/4.325, allocations: 132.8 MB / 0.9848 GB, free: 61.61 MB / 394.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003292/4.325, allocations: 207.2 kB / 0.985 GB, free: 61.39 MB / 394.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/12.36, allocations: 0 / 0.985 GB, free: 61.39 MB / 394.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat does not exist to compare? outputFormat=mat