Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.863/1.863, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.881e-05/2.886e-05, allocations: 0 / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09137/0.09142, allocations: 44.5 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4536/0.545, allocations: 106.2 MB / 406.2 MB, free: 10.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/0.5454, allocations: 85.77 kB / 406.3 MB, free: 10.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8621/1.407, allocations: 136.1 MB / 0.5296 GB, free: 63.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/1.408, allocations: 0 / 0.5296 GB, free: 63.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005511/1.408, allocations: 148.8 kB / 0.5298 GB, free: 63.62 MB / 410.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.03807/1.446, allocations: 7.257 MB / 0.5368 GB, free: 61.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/1.446, allocations: 11.62 kB / 0.5369 GB, free: 61.04 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006288/1.453, allocations: 1.287 MB / 0.5381 GB, free: 60.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02346/1.476, allocations: 2.88 MB / 0.5409 GB, free: 60.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02741/1.504, allocations: 7.651 MB / 0.5484 GB, free: 59.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007554/1.504, allocations: 0.5648 MB / 0.549 GB, free: 59.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004204/1.509, allocations: 0.7476 MB / 0.5497 GB, free: 59.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06029/1.569, allocations: 18.07 MB / 0.5673 GB, free: 56.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004451/1.569, allocations: 87.91 kB / 0.5674 GB, free: 56.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003007/1.572, allocations: 354 kB / 0.5678 GB, free: 56.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003584/1.576, allocations: 1.601 MB / 0.5693 GB, free: 56.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04784/1.624, allocations: 14.58 MB / 0.5836 GB, free: 55.86 MB / 410.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.1277/1.752, allocations: 75.45 MB / 0.6572 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03855/1.79, allocations: 7.552 MB / 0.6646 GB, free: 9.098 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006734/1.797, allocations: 3.23 MB / 0.6678 GB, free: 6.137 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3473/2.144, allocations: 14.06 MB / 0.6815 GB, free: 74.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.606e-05/2.144, allocations: 70.19 kB / 0.6816 GB, free: 74.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=251): time 7.384e-06/2.144, allocations: 0 / 0.6816 GB, free: 74.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=297): time 0.1441/2.289, allocations: 29.77 MB / 0.7106 GB, free: 70.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/2.289, allocations: 158.7 kB / 0.7108 GB, free: 70.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01229/2.301, allocations: 5.143 MB / 0.7158 GB, free: 69.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007755/2.302, allocations: 70.45 kB / 0.7159 GB, free: 69.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004381/2.306, allocations: 4.993 MB / 0.7207 GB, free: 67.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001839/2.308, allocations: 1.133 MB / 0.7218 GB, free: 66.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001141/2.309, allocations: 180.8 kB / 0.722 GB, free: 66.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006248/2.31, allocations: 0.6808 MB / 0.7227 GB, free: 66.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008097/2.318, allocations: 3.286 MB / 0.7259 GB, free: 66.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01203/2.33, allocations: 8.474 MB / 0.7342 GB, free: 59.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/2.341, allocations: 5.223 MB / 0.7393 GB, free: 58.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001743/2.342, allocations: 50.84 kB / 0.7393 GB, free: 58.68 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=1155) (initialization): time 0.04134/2.383, allocations: 13.32 MB / 0.7523 GB, free: 54.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000163/2.383, allocations: 88.94 kB / 0.7524 GB, free: 54.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002954/2.384, allocations: 187 kB / 0.7526 GB, free: 54.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01212/2.396, allocations: 2.267 MB / 0.7548 GB, free: 54.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01425/2.41, allocations: 2.079 MB / 0.7568 GB, free: 53.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03427/2.444, allocations: 20.14 MB / 0.7765 GB, free: 40.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01137/2.456, allocations: 0.5025 MB / 0.777 GB, free: 40.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002115/2.458, allocations: 0.5143 MB / 0.7775 GB, free: 39.83 MB / 426.7 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.002553/2.46, allocations: 0.7898 MB / 0.7783 GB, free: 39.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/2.462, allocations: 0.5283 MB / 0.7788 GB, free: 38.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02267/2.485, allocations: 7.077 MB / 0.7857 GB, free: 32.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.923e-05/2.485, allocations: 40 kB / 0.7857 GB, free: 32.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.78e-05/2.485, allocations: 15.94 kB / 0.7857 GB, free: 32.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.016e-05/2.485, allocations: 15.42 kB / 0.7858 GB, free: 32.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.047/2.532, allocations: 15.31 MB / 0.8007 GB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.674e-05/2.532, allocations: 0 / 0.8007 GB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005907/2.538, allocations: 0.5119 MB / 0.8012 GB, free: 19.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01171/2.55, allocations: 2.075 MB / 0.8032 GB, free: 18.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007605/2.551, allocations: 59.8 kB / 0.8033 GB, free: 18.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03511/2.586, allocations: 22.48 MB / 0.8252 GB, free: 12.67 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/2.586, allocations: 0 / 0.8252 GB, free: 12.67 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3498/2.936, allocations: 11.27 MB / 0.8363 GB, free: 76.68 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004184/2.94, allocations: 1.011 MB / 0.8372 GB, free: 76.58 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002064/2.942, allocations: 52.17 kB / 0.8373 GB, free: 76.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006132/2.948, allocations: 192.8 kB / 0.8375 GB, free: 76.58 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001481/2.95, allocations: 184.8 kB / 0.8377 GB, free: 76.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003928/2.95, allocations: 81.34 kB / 0.8377 GB, free: 76.58 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009863/2.96, allocations: 3.56 MB / 0.8412 GB, free: 76.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.92e-07/2.96, allocations: 0 / 0.8412 GB, free: 76.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01188/2.972, allocations: 1.748 MB / 0.8429 GB, free: 76.34 MB / 442.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 (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.03097/3.003, allocations: 11.88 MB / 0.8545 GB, free: 74.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02161/3.024, allocations: 8.793 MB / 0.8631 GB, free: 73.83 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/3.024, allocations: 0 / 0.8631 GB, free: 73.83 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01043/3.035, allocations: 4.032 MB / 0.867 GB, free: 72.85 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00653/3.042, allocations: 0.7328 MB / 0.8678 GB, free: 72.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0559/3.097, allocations: 15.63 MB / 0.883 GB, free: 70.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01394/3.111, allocations: 5.285 MB / 0.8882 GB, free: 69.26 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01482/3.126, allocations: 2.727 MB / 0.8908 GB, free: 69.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008273/3.135, allocations: 3.294 MB / 0.8941 GB, free: 66.47 MB / 442.7 MB Notification: Performance of SimCode: time 2.404e-06/3.135, allocations: 0 / 0.8941 GB, free: 66.47 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7037/3.838, allocations: 131.9 MB / 1.023 GB, free: 67.75 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/3.839, allocations: 213.1 kB / 1.023 GB, free: 67.52 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.013/11.85, allocations: 3.906 kB / 1.023 GB, free: 67.52 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat does not exist to compare? outputFormat=mat