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.956/1.956, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.071e-05/3.088e-05, allocations: 7.984 kB / 255.5 MB, free: 2.641 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09801/0.09806, allocations: 44.5 MB / 300 MB, free: 6.078 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.446/0.5442, allocations: 106.2 MB / 406.2 MB, free: 10.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.5445, allocations: 83.39 kB / 406.2 MB, free: 10.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8269/1.371, allocations: 136.1 MB / 0.5296 GB, free: 63.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.525e-06/1.371, allocations: 2.25 kB / 0.5296 GB, free: 63.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005568/1.372, allocations: 148.3 kB / 0.5297 GB, free: 63.34 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.03888/1.411, allocations: 7.25 MB / 0.5368 GB, free: 60.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/1.411, allocations: 14.16 kB / 0.5368 GB, free: 60.75 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005932/1.417, allocations: 1.293 MB / 0.5381 GB, free: 60.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02295/1.44, allocations: 2.876 MB / 0.5409 GB, free: 60.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02822/1.468, allocations: 7.639 MB / 0.5484 GB, free: 59.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008211/1.469, allocations: 0.5681 MB / 0.5489 GB, free: 59.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004397/1.474, allocations: 0.7485 MB / 0.5496 GB, free: 59.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05796/1.532, allocations: 18.17 MB / 0.5674 GB, free: 55.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003942/1.532, allocations: 81.41 kB / 0.5675 GB, free: 55.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002497/1.534, allocations: 360.3 kB / 0.5678 GB, free: 55.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003497/1.538, allocations: 1.602 MB / 0.5694 GB, free: 55.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.048/1.586, allocations: 14.84 MB / 0.5839 GB, free: 55.71 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.128/1.714, allocations: 75.44 MB / 0.6575 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03862/1.753, allocations: 7.581 MB / 0.6649 GB, free: 8.738 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00695/1.76, allocations: 3.227 MB / 0.6681 GB, free: 5.773 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.34/2.1, allocations: 14.07 MB / 0.6818 GB, free: 74.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.07e-05/2.1, allocations: 61.28 kB / 0.6819 GB, free: 74.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=251): time 6.873e-06/2.1, allocations: 0 / 0.6819 GB, free: 74.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=297): time 0.1603/2.26, allocations: 29.78 MB / 0.711 GB, free: 69.92 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/2.26, allocations: 159 kB / 0.7111 GB, free: 69.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01146/2.272, allocations: 5.136 MB / 0.7161 GB, free: 69.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007649/2.273, allocations: 72.25 kB / 0.7162 GB, free: 69.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004258/2.277, allocations: 5.001 MB / 0.7211 GB, free: 66.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001807/2.279, allocations: 1.135 MB / 0.7222 GB, free: 66.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/2.28, allocations: 177 kB / 0.7224 GB, free: 66.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005331/2.28, allocations: 0.6802 MB / 0.723 GB, free: 65.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007911/2.288, allocations: 3.278 MB / 0.7262 GB, free: 65.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01256/2.301, allocations: 8.531 MB / 0.7346 GB, free: 59.12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01197/2.313, allocations: 5.226 MB / 0.7397 GB, free: 58.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002248/2.313, allocations: 55.67 kB / 0.7397 GB, free: 58.42 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.04233/2.356, allocations: 13.83 MB / 0.7532 GB, free: 53.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/2.356, allocations: 84.62 kB / 0.7533 GB, free: 53.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000263/2.356, allocations: 184.5 kB / 0.7535 GB, free: 53.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.012/2.368, allocations: 2.266 MB / 0.7557 GB, free: 53.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01382/2.382, allocations: 2.085 MB / 0.7577 GB, free: 53.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03318/2.415, allocations: 20.14 MB / 0.7774 GB, free: 39.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01101/2.426, allocations: 0.5049 MB / 0.7779 GB, free: 39.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002007/2.428, allocations: 0.5127 MB / 0.7784 GB, free: 38.86 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.001953/2.43, allocations: 0.7969 MB / 0.7792 GB, free: 38.06 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001401/2.432, allocations: 0.5245 MB / 0.7797 GB, free: 37.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02143/2.453, allocations: 7.083 MB / 0.7866 GB, free: 31.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.882e-05/2.453, allocations: 46.94 kB / 0.7867 GB, free: 31.63 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.852e-05/2.453, allocations: 15.95 kB / 0.7867 GB, free: 31.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.175e-05/2.453, allocations: 17.2 kB / 0.7867 GB, free: 31.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05166/2.505, allocations: 15.3 MB / 0.8016 GB, free: 19.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.849e-05/2.505, allocations: 3.469 kB / 0.8016 GB, free: 19.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005783/2.511, allocations: 0.5185 MB / 0.8021 GB, free: 18.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01166/2.523, allocations: 2.069 MB / 0.8042 GB, free: 17.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007593/2.523, allocations: 59.98 kB / 0.8042 GB, free: 17.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03682/2.56, allocations: 22.51 MB / 0.8262 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/2.56, allocations: 0 / 0.8262 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3687/2.929, allocations: 11.61 MB / 0.8375 GB, free: 76.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004706/2.934, allocations: 1.014 MB / 0.8385 GB, free: 76.63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00262/2.937, allocations: 54.11 kB / 0.8386 GB, free: 76.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006316/2.943, allocations: 193.9 kB / 0.8388 GB, free: 76.63 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00151/2.944, allocations: 184.4 kB / 0.8389 GB, free: 76.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008645/2.945, allocations: 76.28 kB / 0.839 GB, free: 76.63 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01052/2.956, allocations: 3.569 MB / 0.8425 GB, free: 76.39 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.462e-06/2.956, allocations: 0 / 0.8425 GB, free: 76.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01204/2.968, allocations: 1.741 MB / 0.8442 GB, free: 76.39 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.03173/3, allocations: 11.88 MB / 0.8558 GB, free: 74.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02294/3.023, allocations: 9.119 MB / 0.8647 GB, free: 73.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/3.023, allocations: 0 / 0.8647 GB, free: 73.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01082/3.034, allocations: 4.109 MB / 0.8687 GB, free: 72.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006946/3.041, allocations: 0.7357 MB / 0.8694 GB, free: 72.75 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05383/3.095, allocations: 15.64 MB / 0.8847 GB, free: 70.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01248/3.107, allocations: 5.274 MB / 0.8899 GB, free: 69.24 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01431/3.122, allocations: 2.733 MB / 0.8925 GB, free: 69.18 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007758/3.129, allocations: 3.293 MB / 0.8957 GB, free: 66.58 MB / 442.7 MB Notification: Performance of SimCode: time 1.724e-06/3.129, allocations: 0 / 0.8957 GB, free: 66.58 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6404/3.77, allocations: 132.8 MB / 1.025 GB, free: 68.7 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003107/3.77, allocations: 219.2 kB / 1.026 GB, free: 68.46 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.876/11.65, allocations: 0 / 1.026 GB, free: 68.46 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