Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.06/2.06, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.429e-05/3.463e-05, allocations: 4 kB / 292.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1136, allocations: 50.41 MB / 342.6 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5504/0.6641, allocations: 114.6 MB / 457.2 MB, free: 12.03 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/0.6645, allocations: 88.17 kB / 457.3 MB, free: 11.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8771/1.542, allocations: 134.4 MB / 0.5778 GB, free: 97.37 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.164e-06/1.542, allocations: 3.344 kB / 0.5778 GB, free: 97.37 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005392/1.542, allocations: 153.6 kB / 0.578 GB, free: 97.36 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.03771/1.58, allocations: 7.13 MB / 0.5849 GB, free: 94.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/1.58, allocations: 14.66 kB / 0.585 GB, free: 94.42 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006679/1.587, allocations: 1.264 MB / 0.5862 GB, free: 93.81 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02312/1.61, allocations: 2.845 MB / 0.589 GB, free: 93.28 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02909/1.639, allocations: 7.266 MB / 0.5961 GB, free: 90.55 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007252/1.64, allocations: 0.552 MB / 0.5966 GB, free: 90.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004229/1.644, allocations: 0.7369 MB / 0.5973 GB, free: 90.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06179/1.706, allocations: 17.76 MB / 0.6147 GB, free: 74.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006983/1.707, allocations: 83.19 kB / 0.6147 GB, free: 74.74 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004002/1.711, allocations: 351.6 kB / 0.6151 GB, free: 74.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003779/1.715, allocations: 1.552 MB / 0.6166 GB, free: 72.88 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05579/1.77, allocations: 14.25 MB / 0.6305 GB, free: 58.62 MB / 442.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.5319/2.302, allocations: 74.03 MB / 0.7028 GB, free: 45.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04299/2.345, allocations: 7.61 MB / 0.7102 GB, free: 44.62 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007336/2.353, allocations: 3.167 MB / 0.7133 GB, free: 44.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03661/2.389, allocations: 14.37 MB / 0.7274 GB, free: 40.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.878e-05/2.39, allocations: 67.06 kB / 0.7274 GB, free: 40.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=244): time 6.412e-06/2.39, allocations: 0 / 0.7274 GB, free: 40.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=290): time 0.1434/2.533, allocations: 29.11 MB / 0.7559 GB, free: 33.21 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.738e-05/2.533, allocations: 156.3 kB / 0.756 GB, free: 33.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0144/2.548, allocations: 4.995 MB / 0.7609 GB, free: 31.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007628/2.548, allocations: 70.98 kB / 0.761 GB, free: 31.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004926/2.553, allocations: 4.886 MB / 0.7657 GB, free: 27.42 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001969/2.555, allocations: 1.105 MB / 0.7668 GB, free: 26.62 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001514/2.557, allocations: 174.2 kB / 0.767 GB, free: 26.48 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0009668/2.558, allocations: 0.6651 MB / 0.7676 GB, free: 26.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008505/2.567, allocations: 3.18 MB / 0.7707 GB, free: 24.87 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0119/2.578, allocations: 8.234 MB / 0.7788 GB, free: 16.89 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0116/2.59, allocations: 5.072 MB / 0.7837 GB, free: 15.17 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002433/2.59, allocations: 51.53 kB / 0.7838 GB, free: 15.17 MB / 442.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=1125) (initialization): time 0.0399/2.63, allocations: 12.99 MB / 0.7965 GB, free: 7.023 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001359/2.631, allocations: 88.25 kB / 0.7965 GB, free: 6.938 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000256/2.631, allocations: 180 kB / 0.7967 GB, free: 6.762 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01227/2.643, allocations: 2.259 MB / 0.7989 GB, free: 5.086 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01299/2.656, allocations: 2.015 MB / 0.8009 GB, free: 3.352 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03804/2.694, allocations: 20.13 MB / 0.8205 GB, free: 456 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01065/2.705, allocations: 492.6 kB / 0.821 GB, free: 32 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00585/2.711, allocations: 0.7089 MB / 0.8217 GB, free: 0 / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 826 * Number of states: 0 () * Number of discrete variables: 67 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,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 (1042): * Single equations (assignments): 1031 * 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.003177/2.714, allocations: 0.7848 MB / 0.8225 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001631/2.716, allocations: 0.5129 MB / 0.823 GB, free: 14.69 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02514/2.741, allocations: 6.659 MB / 0.8295 GB, free: 9.262 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001213/2.741, allocations: 40 kB / 0.8295 GB, free: 9.223 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.634e-05/2.741, allocations: 12 kB / 0.8295 GB, free: 9.211 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.563e-05/2.741, allocations: 18.16 kB / 0.8295 GB, free: 9.207 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05452/2.796, allocations: 14.74 MB / 0.8439 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-05/2.796, allocations: 4 kB / 0.8439 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005961/2.802, allocations: 0.5031 MB / 0.8444 GB, free: 10.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01286/2.815, allocations: 1.994 MB / 0.8464 GB, free: 8.641 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007776/2.816, allocations: 59.92 kB / 0.8464 GB, free: 8.582 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03955/2.855, allocations: 19.65 MB / 0.8656 GB, free: 4.051 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.595e-06/2.855, allocations: 7.953 kB / 0.8656 GB, free: 4.043 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3912/3.246, allocations: 10.44 MB / 0.8758 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001949/3.248, allocations: 0.5392 MB / 0.8764 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002265/3.251, allocations: 46.06 kB / 0.8764 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005594/3.256, allocations: 180.5 kB / 0.8766 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001262/3.258, allocations: 180.2 kB / 0.8767 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003866/3.258, allocations: 70.78 kB / 0.8768 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01087/3.269, allocations: 3.461 MB / 0.8802 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.212e-06/3.269, allocations: 0 / 0.8802 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01632/3.285, allocations: 1.698 MB / 0.8818 GB, free: 135.1 MB / 0.4948 GB 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 (209): * Single equations (assignments): 198 * 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.04434/3.33, allocations: 11.36 MB / 0.8929 GB, free: 133.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02811/3.358, allocations: 8.57 MB / 0.9013 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/3.358, allocations: 0 / 0.9013 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01009/3.368, allocations: 3.704 MB / 0.9049 GB, free: 130.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0075/3.376, allocations: 0.7544 MB / 0.9057 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05174/3.427, allocations: 15.11 MB / 0.9204 GB, free: 125.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0128/3.44, allocations: 5.166 MB / 0.9255 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01388/3.454, allocations: 2.672 MB / 0.9281 GB, free: 123.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008393/3.463, allocations: 3.228 MB / 0.9312 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.693e-06/3.463, allocations: 0 / 0.9312 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6409/4.104, allocations: 128.8 MB / 1.057 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/4.104, allocations: 210.2 kB / 1.057 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.865/11.97, allocations: 0 / 1.057 GB, free: 111.3 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat does not exist to compare? outputFormat=mat