Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.017/2.017, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.183e-05/3.193e-05, allocations: 4 kB / 269.4 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 47.58 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4666/0.5782, allocations: 113 MB / 430 MB, free: 7.422 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/0.5786, allocations: 92.69 kB / 430.1 MB, free: 7.375 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8501/1.429, allocations: 137.5 MB / 0.5543 GB, free: 88.51 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.094e-06/1.429, allocations: 0 / 0.5543 GB, free: 88.51 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004959/1.429, allocations: 153.1 kB / 0.5544 GB, free: 88.5 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: 2584 * Number of variables: 2584 Notification: Performance of Generate backend data structure: time 0.03727/1.467, allocations: 7.326 MB / 0.5616 GB, free: 85.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/1.467, allocations: 10.81 kB / 0.5616 GB, free: 85.75 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007204/1.474, allocations: 1.308 MB / 0.5629 GB, free: 85.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02447/1.498, allocations: 2.892 MB / 0.5657 GB, free: 85.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03303/1.531, allocations: 7.693 MB / 0.5732 GB, free: 84.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007205/1.532, allocations: 0.5766 MB / 0.5738 GB, free: 84.19 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004195/1.536, allocations: 0.7578 MB / 0.5745 GB, free: 84.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06856/1.605, allocations: 18.33 MB / 0.5924 GB, free: 75.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006518/1.606, allocations: 77.94 kB / 0.5925 GB, free: 75.53 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004786/1.611, allocations: 355.2 kB / 0.5928 GB, free: 75.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005237/1.616, allocations: 1.631 MB / 0.5944 GB, free: 74.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06072/1.677, allocations: 14.8 MB / 0.6089 GB, free: 61.43 MB / 426.7 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.5111/2.188, allocations: 76 MB / 0.6831 GB, free: 36.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04263/2.23, allocations: 7.809 MB / 0.6907 GB, free: 35.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007493/2.238, allocations: 3.288 MB / 0.6939 GB, free: 35.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04126/2.279, allocations: 14.84 MB / 0.7084 GB, free: 31.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.347e-05/2.28, allocations: 62 kB / 0.7085 GB, free: 31.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=265): time 7.144e-06/2.28, allocations: 3.344 kB / 0.7085 GB, free: 31.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=311): time 0.1487/2.428, allocations: 29.94 MB / 0.7377 GB, free: 25.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.58e-05/2.428, allocations: 161.8 kB / 0.7379 GB, free: 24.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01454/2.443, allocations: 5.169 MB / 0.7429 GB, free: 23.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008919/2.444, allocations: 73.36 kB / 0.743 GB, free: 23.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004904/2.449, allocations: 5.04 MB / 0.7479 GB, free: 19.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001987/2.451, allocations: 1.179 MB / 0.7491 GB, free: 18.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001455/2.452, allocations: 178.5 kB / 0.7492 GB, free: 18.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008677/2.453, allocations: 0.6868 MB / 0.7499 GB, free: 17.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008753/2.462, allocations: 3.303 MB / 0.7531 GB, free: 16.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01238/2.474, allocations: 8.529 MB / 0.7615 GB, free: 8.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01215/2.487, allocations: 5.262 MB / 0.7666 GB, free: 6.594 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002225/2.487, allocations: 56.25 kB / 0.7667 GB, free: 6.594 MB / 426.7 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=1172) (initialization): time 0.04289/2.53, allocations: 13.41 MB / 0.7798 GB, free: 15.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001832/2.53, allocations: 89 kB / 0.7798 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003775/2.531, allocations: 184 kB / 0.78 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.013/2.544, allocations: 2.266 MB / 0.7822 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01549/2.559, allocations: 2.113 MB / 0.7843 GB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04115/2.6, allocations: 20.14 MB / 0.804 GB, free: 8.387 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01147/2.612, allocations: 0.5061 MB / 0.8044 GB, free: 7.953 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002697/2.615, allocations: 0.5192 MB / 0.805 GB, free: 7.438 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 852 * Number of states: 0 () * Number of discrete variables: 63 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1089): * Single equations (assignments): 1078 * 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.00474/2.619, allocations: 0.8017 MB / 0.8057 GB, free: 6.633 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002018/2.621, allocations: 0.5359 MB / 0.8063 GB, free: 6.094 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02771/2.649, allocations: 6.927 MB / 0.813 GB, free: 400 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001168/2.649, allocations: 47.45 kB / 0.8131 GB, free: 360 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.741e-05/2.649, allocations: 8 kB / 0.8131 GB, free: 352 kB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.828e-05/2.65, allocations: 13.45 kB / 0.8131 GB, free: 352 kB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05859/2.708, allocations: 15.38 MB / 0.8281 GB, free: 3.855 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.593e-05/2.708, allocations: 4 kB / 0.8281 GB, free: 3.852 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006572/2.715, allocations: 0.5461 MB / 0.8286 GB, free: 3.305 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01264/2.728, allocations: 2.002 MB / 0.8306 GB, free: 1.285 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009235/2.728, allocations: 59.55 kB / 0.8307 GB, free: 1.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3956/3.124, allocations: 19.66 MB / 0.8499 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/3.124, allocations: 2.516 kB / 0.8499 GB, free: 125.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03549/3.16, allocations: 10.85 MB / 0.8605 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004462/3.164, allocations: 1.016 MB / 0.8614 GB, free: 124.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002456/3.167, allocations: 49.72 kB / 0.8615 GB, free: 124.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006248/3.173, allocations: 200.5 kB / 0.8617 GB, free: 124.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001409/3.174, allocations: 184.1 kB / 0.8619 GB, free: 124.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007674/3.175, allocations: 82.94 kB / 0.8619 GB, free: 124.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0109/3.186, allocations: 3.581 MB / 0.8654 GB, free: 124.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.112e-06/3.186, allocations: 0 / 0.8654 GB, free: 124.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01352/3.2, allocations: 1.756 MB / 0.8671 GB, free: 124.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (jointPrismatic_x.s,jointPrismatic_x.v,jointPrismatic_y.s,jointPrismatic_y.v,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 (232): * Single equations (assignments): 221 * 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 {(2,100.0%) 6,(4,75.0%) 5,(2,100.0%) 1,(4,100.0%) 9,(4,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 1 {4 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.03332/3.233, allocations: 11.78 MB / 0.8787 GB, free: 123 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02315/3.256, allocations: 8.882 MB / 0.8873 GB, free: 121.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/3.256, allocations: 0 / 0.8873 GB, free: 121.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01106/3.268, allocations: 3.829 MB / 0.8911 GB, free: 119.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007883/3.275, allocations: 0.7476 MB / 0.8918 GB, free: 119.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06113/3.337, allocations: 15.82 MB / 0.9072 GB, free: 113.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01459/3.351, allocations: 5.334 MB / 0.9125 GB, free: 111.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01554/3.367, allocations: 2.787 MB / 0.9152 GB, free: 111.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008727/3.376, allocations: 3.361 MB / 0.9185 GB, free: 109.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.844e-06/3.376, allocations: 0 / 0.9185 GB, free: 109.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6431/4.019, allocations: 133 MB / 1.048 GB, free: 117.4 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002304/4.019, allocations: 220 kB / 1.049 GB, free: 117.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.927/11.95, allocations: 0 / 1.049 GB, free: 117.1 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat does not exist to compare? outputFormat=mat