Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.528/2.528, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.434e-05/2.448e-05, allocations: 2.469 kB / 249.8 MB, free: 5.23 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1013, allocations: 44.5 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5118/0.6132, allocations: 105.5 MB / 399.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000335/0.6136, allocations: 90.16 kB / 399.9 MB, free: 15.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.03/1.643, allocations: 132.7 MB / 0.5201 GB, free: 67.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.585e-06/1.643, allocations: 0 / 0.5201 GB, free: 67.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005793/1.644, allocations: 154.4 kB / 0.5203 GB, free: 67.42 MB / 394.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.04276/1.687, allocations: 7.243 MB / 0.5274 GB, free: 64.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/1.687, allocations: 7.562 kB / 0.5274 GB, free: 64.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02772/1.715, allocations: 2.882 MB / 0.5302 GB, free: 64.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03311/1.748, allocations: 7.638 MB / 0.5376 GB, free: 63.33 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006022/1.748, allocations: 251.1 kB / 0.5379 GB, free: 63.33 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004446/1.753, allocations: 451.2 kB / 0.5383 GB, free: 63.33 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0317/1.785, allocations: 10.64 MB / 0.5487 GB, free: 63.29 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04811/1.833, allocations: 15.3 MB / 0.5636 GB, free: 57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006456/1.833, allocations: 84.25 kB / 0.5637 GB, free: 56.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004025/1.837, allocations: 41.36 kB / 0.5638 GB, free: 56.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004758/1.842, allocations: 1.6 MB / 0.5653 GB, free: 56.71 MB / 394.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.15/1.992, allocations: 74.12 MB / 0.6377 GB, free: 7.508 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01051/2.003, allocations: 4.086 MB / 0.6417 GB, free: 3.625 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007078/2.01, allocations: 2.594 MB / 0.6442 GB, free: 1.234 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002298/2.012, allocations: 0.9093 MB / 0.6451 GB, free: 272 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.8e-05/2.013, allocations: 60.5 kB / 0.6452 GB, free: 200 kB / 410.7 MB Notification: Performance of pre-optimization done (n=257): time 7.554e-06/2.013, allocations: 0 / 0.6452 GB, free: 200 kB / 410.7 MB Notification: Performance of matching and sorting (n=303): time 0.5085/2.521, allocations: 29.77 MB / 0.6743 GB, free: 73.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.819e-05/2.521, allocations: 162.9 kB / 0.6744 GB, free: 72.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0119/2.533, allocations: 4.5 MB / 0.6788 GB, free: 72.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009564/2.534, allocations: 25.7 kB / 0.6788 GB, free: 72.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005098/2.539, allocations: 5.042 MB / 0.6838 GB, free: 69.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002121/2.541, allocations: 1.125 MB / 0.6849 GB, free: 69.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001275/2.543, allocations: 3.312 kB / 0.6849 GB, free: 69.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0007589/2.543, allocations: 0.6936 MB / 0.6855 GB, free: 68.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009266/2.553, allocations: 3.181 MB / 0.6886 GB, free: 68.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01321/2.566, allocations: 8.556 MB / 0.697 GB, free: 61.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01389/2.58, allocations: 5.145 MB / 0.702 GB, free: 59.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002793/2.58, allocations: 54.81 kB / 0.7021 GB, free: 59.83 MB / 410.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.06297/2.643, allocations: 12.84 MB / 0.7146 GB, free: 55.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00016/2.644, allocations: 87.06 kB / 0.7147 GB, free: 55.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003302/2.644, allocations: 195.8 kB / 0.7149 GB, free: 55.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01438/2.658, allocations: 2.241 MB / 0.7171 GB, free: 55.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01652/2.675, allocations: 2.148 MB / 0.7192 GB, free: 55.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03691/2.712, allocations: 19.18 MB / 0.7379 GB, free: 42.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01242/2.724, allocations: 341.5 kB / 0.7382 GB, free: 42.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00266/2.727, allocations: 0.536 MB / 0.7387 GB, free: 42.06 MB / 410.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.002583/2.73, allocations: 0.5985 MB / 0.7393 GB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0256/2.755, allocations: 6.904 MB / 0.7461 GB, free: 36.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002173/2.757, allocations: 0.497 MB / 0.7466 GB, free: 36.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02626/2.784, allocations: 6.818 MB / 0.7532 GB, free: 30.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001408/2.784, allocations: 43.89 kB / 0.7533 GB, free: 30.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-05/2.784, allocations: 11.56 kB / 0.7533 GB, free: 30.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.772e-05/2.784, allocations: 18.44 kB / 0.7533 GB, free: 30.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04753/2.832, allocations: 13.87 MB / 0.7668 GB, free: 19.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-05/2.832, allocations: 4 kB / 0.7668 GB, free: 19.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006831/2.839, allocations: 0.5246 MB / 0.7673 GB, free: 19.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01345/2.852, allocations: 2.037 MB / 0.7693 GB, free: 17.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008653/2.853, allocations: 18.23 kB / 0.7694 GB, free: 17.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03875/2.892, allocations: 21.41 MB / 0.7903 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/2.892, allocations: 0 / 0.7903 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4914/3.383, allocations: 10.85 MB / 0.8009 GB, free: 76.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006606/3.39, allocations: 0.9753 MB / 0.8018 GB, free: 76.35 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003534/3.394, allocations: 12.11 kB / 0.8018 GB, free: 76.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009998/3.404, allocations: 146.3 kB / 0.802 GB, free: 76.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00233/3.406, allocations: 192.3 kB / 0.8021 GB, free: 76.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001244/3.407, allocations: 75.62 kB / 0.8022 GB, free: 76.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01527/3.423, allocations: 2.997 MB / 0.8051 GB, free: 76.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.683e-06/3.423, allocations: 0 / 0.8051 GB, free: 76.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01674/3.44, allocations: 1.533 MB / 0.8066 GB, free: 76.17 MB / 426.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.03564/3.475, allocations: 11.69 MB / 0.8181 GB, free: 74.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02376/3.499, allocations: 8.735 MB / 0.8266 GB, free: 73.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/3.499, allocations: 0 / 0.8266 GB, free: 73.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01195/3.511, allocations: 4.002 MB / 0.8305 GB, free: 72.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0078/3.519, allocations: 0.5981 MB / 0.8311 GB, free: 72.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06398/3.583, allocations: 15.29 MB / 0.846 GB, free: 70.03 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01404/3.597, allocations: 5.281 MB / 0.8512 GB, free: 68.36 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01698/3.614, allocations: 2.8 MB / 0.8539 GB, free: 68.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008848/3.623, allocations: 3.267 MB / 0.8571 GB, free: 65.53 MB / 426.7 MB Notification: Performance of SimCode: time 2.254e-06/3.623, allocations: 0 / 0.8571 GB, free: 65.53 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7286/4.352, allocations: 124.6 MB / 0.9788 GB, free: 80.25 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002885/4.352, allocations: 166.7 kB / 0.9789 GB, free: 80.06 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.866/13.22, allocations: 0 / 0.9789 GB, free: 80.06 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat does not exist to compare? outputFormat=mat