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.688/1.688, allocations: 171.2 MB / 178.4 MB, free: 176 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.386e-05/2.398e-05, allocations: 0 / 219.6 MB, free: 6.953 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2772, allocations: 38.77 MB / 258.3 MB, free: 12.3 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1854/0.4626, allocations: 99.86 MB / 358.2 MB, free: 9.957 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000347/0.4631, allocations: 87.95 kB / 358.3 MB, free: 9.871 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.756/1.219, allocations: 132.7 MB / 491 MB, free: 1.297 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.304e-06/1.219, allocations: 3.938 kB / 491 MB, free: 1.293 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005479/1.22, allocations: 144 kB / 491.1 MB, free: 1.152 MB / 330.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.3005/1.52, allocations: 7.241 MB / 498.4 MB, free: 30.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.28e-05/1.52, allocations: 10.38 kB / 498.4 MB, free: 30.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02376/1.544, allocations: 2.874 MB / 0.4895 GB, free: 29.74 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02833/1.572, allocations: 7.642 MB / 0.497 GB, free: 29.1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00055/1.573, allocations: 245.6 kB / 0.4972 GB, free: 29.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004011/1.577, allocations: 460.3 kB / 0.4977 GB, free: 29.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0274/1.605, allocations: 10.64 MB / 0.508 GB, free: 29.06 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04245/1.647, allocations: 15.31 MB / 0.523 GB, free: 25.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005924/1.648, allocations: 80 kB / 0.5231 GB, free: 25.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003852/1.652, allocations: 39.09 kB / 0.5231 GB, free: 25.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003975/1.656, allocations: 1.601 MB / 0.5247 GB, free: 25.56 MB / 330.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.1273/1.783, allocations: 74.11 MB / 0.597 GB, free: 4.684 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008758/1.792, allocations: 4.096 MB / 0.601 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0142/1.806, allocations: 3.106 MB / 0.6041 GB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002034/1.808, allocations: 0.9183 MB / 0.605 GB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.001e-05/1.808, allocations: 63.41 kB / 0.605 GB, free: 14.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=257): time 6.943e-06/1.808, allocations: 3.938 kB / 0.605 GB, free: 14.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=303): time 0.3819/2.19, allocations: 29.8 MB / 0.6341 GB, free: 70.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/2.19, allocations: 165.2 kB / 0.6343 GB, free: 70.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.011/2.201, allocations: 4.502 MB / 0.6387 GB, free: 69.97 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008027/2.202, allocations: 25.7 kB / 0.6387 GB, free: 69.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004445/2.207, allocations: 5.04 MB / 0.6436 GB, free: 66.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001945/2.209, allocations: 1.125 MB / 0.6447 GB, free: 66.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001162/2.21, allocations: 0 / 0.6447 GB, free: 66.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0006977/2.21, allocations: 0.6894 MB / 0.6454 GB, free: 65.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007667/2.218, allocations: 3.181 MB / 0.6485 GB, free: 65.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01158/2.23, allocations: 8.552 MB / 0.6569 GB, free: 59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01149/2.241, allocations: 5.139 MB / 0.6619 GB, free: 58.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002427/2.242, allocations: 53.66 kB / 0.6619 GB, free: 58.96 MB / 378.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=1191) (initialization): time 0.04051/2.282, allocations: 12.84 MB / 0.6745 GB, free: 57.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000169/2.282, allocations: 84.94 kB / 0.6746 GB, free: 57.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003276/2.283, allocations: 192.8 kB / 0.6747 GB, free: 57.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0118/2.295, allocations: 2.233 MB / 0.6769 GB, free: 57.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0143/2.309, allocations: 2.153 MB / 0.679 GB, free: 57.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04096/2.35, allocations: 19.18 MB / 0.6978 GB, free: 45.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01141/2.361, allocations: 345.2 kB / 0.6981 GB, free: 45.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002312/2.364, allocations: 0.5293 MB / 0.6986 GB, free: 45.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * 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 (1108): * Single equations (assignments): 1097 * 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.003241/2.367, allocations: 0.5908 MB / 0.6992 GB, free: 45.32 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02205/2.389, allocations: 6.901 MB / 0.7059 GB, free: 42.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001923/2.391, allocations: 0.4941 MB / 0.7064 GB, free: 42.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02336/2.414, allocations: 6.826 MB / 0.7131 GB, free: 39.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001371/2.415, allocations: 43.09 kB / 0.7131 GB, free: 39.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.071e-05/2.415, allocations: 15.72 kB / 0.7131 GB, free: 39.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.501e-05/2.415, allocations: 21.53 kB / 0.7131 GB, free: 39.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05666/2.472, allocations: 13.86 MB / 0.7267 GB, free: 30 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.136e-05/2.472, allocations: 0 / 0.7267 GB, free: 30 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00771/2.479, allocations: 0.523 MB / 0.7272 GB, free: 29.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01476/2.494, allocations: 2.042 MB / 0.7292 GB, free: 28.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007906/2.495, allocations: 15.84 kB / 0.7292 GB, free: 28.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0328/2.528, allocations: 21.41 MB / 0.7501 GB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/2.528, allocations: 3.938 kB / 0.7501 GB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3612/2.889, allocations: 10.8 MB / 0.7607 GB, free: 59.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003689/2.893, allocations: 0.9709 MB / 0.7616 GB, free: 59.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001673/2.895, allocations: 22.97 kB / 0.7616 GB, free: 59.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004853/2.899, allocations: 147.5 kB / 0.7618 GB, free: 59.44 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001105/2.901, allocations: 191.1 kB / 0.762 GB, free: 59.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003721/2.901, allocations: 76.95 kB / 0.762 GB, free: 59.44 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.007663/2.909, allocations: 2.996 MB / 0.765 GB, free: 59.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.002e-06/2.909, allocations: 0 / 0.765 GB, free: 59.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0125/2.921, allocations: 1.538 MB / 0.7665 GB, free: 59.26 MB / 378.7 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 (220): * Single equations (assignments): 207 * 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.02975/2.951, allocations: 11.68 MB / 0.7779 GB, free: 57.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02018/2.971, allocations: 8.731 MB / 0.7864 GB, free: 56.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/2.971, allocations: 0 / 0.7864 GB, free: 56.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009761/2.981, allocations: 4.015 MB / 0.7903 GB, free: 55.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005668/2.987, allocations: 0.612 MB / 0.7909 GB, free: 55.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05471/3.042, allocations: 15.28 MB / 0.8058 GB, free: 53.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01395/3.056, allocations: 5.274 MB / 0.811 GB, free: 52.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.01489/3.07, allocations: 2.807 MB / 0.8137 GB, free: 52.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008291/3.079, allocations: 3.267 MB / 0.8169 GB, free: 50.25 MB / 378.7 MB Notification: Performance of SimCode: time 1.593e-06/3.079, allocations: 0 / 0.8169 GB, free: 50.25 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5927/3.672, allocations: 124.6 MB / 0.9386 GB, free: 57.84 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002564/3.672, allocations: 163.6 kB / 0.9387 GB, free: 57.65 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.236/10.91, allocations: 0 / 0.9387 GB, free: 57.65 MB / 394.7 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