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.942/1.942, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.328e-05/2.328e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3096, allocations: 44.49 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1898/0.4995, allocations: 105.5 MB / 399.8 MB, free: 8.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.4999, allocations: 91.94 kB / 399.9 MB, free: 8.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.748/1.248, allocations: 132.7 MB / 0.5201 GB, free: 18.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.354e-06/1.248, allocations: 0 / 0.5201 GB, free: 18.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004752/1.248, allocations: 148 kB / 0.5202 GB, free: 18.17 MB / 362.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.03631/1.285, allocations: 7.25 MB / 0.5273 GB, free: 10.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/1.285, allocations: 8.031 kB / 0.5273 GB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02283/1.308, allocations: 2.876 MB / 0.5301 GB, free: 7.949 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02754/1.335, allocations: 7.646 MB / 0.5376 GB, free: 224 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005249/1.336, allocations: 256 kB / 0.5378 GB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003966/1.34, allocations: 451.8 kB / 0.5383 GB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03092/1.371, allocations: 10.64 MB / 0.5486 GB, free: 4.879 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3435/1.714, allocations: 15.3 MB / 0.5636 GB, free: 44.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000396/1.715, allocations: 80.59 kB / 0.5637 GB, free: 44.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002117/1.717, allocations: 41.66 kB / 0.5637 GB, free: 44.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003455/1.72, allocations: 1.598 MB / 0.5653 GB, free: 44.61 MB / 378.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.1185/1.839, allocations: 74.1 MB / 0.6376 GB, free: 18.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007518/1.846, allocations: 4.092 MB / 0.6416 GB, free: 16.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005374/1.852, allocations: 2.593 MB / 0.6442 GB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001706/1.854, allocations: 0.9091 MB / 0.6451 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.962e-05/1.854, allocations: 62.03 kB / 0.6451 GB, free: 14.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=257): time 7.114e-06/1.854, allocations: 2.688 kB / 0.6451 GB, free: 14.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=303): time 0.1168/1.971, allocations: 29.78 MB / 0.6742 GB, free: 2.617 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/1.971, allocations: 159.8 kB / 0.6743 GB, free: 2.457 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01298/1.984, allocations: 4.51 MB / 0.6788 GB, free: 15.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000809/1.985, allocations: 25.7 kB / 0.6788 GB, free: 15.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005715/1.99, allocations: 5.04 MB / 0.6837 GB, free: 11.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002244/1.993, allocations: 1.126 MB / 0.6848 GB, free: 10.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001194/1.994, allocations: 0 / 0.6848 GB, free: 10.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0009823/1.995, allocations: 0.6879 MB / 0.6855 GB, free: 9.465 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009074/2.004, allocations: 3.184 MB / 0.6886 GB, free: 6.582 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01436/2.018, allocations: 8.554 MB / 0.6969 GB, free: 11.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01294/2.031, allocations: 5.144 MB / 0.702 GB, free: 7.453 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002161/2.032, allocations: 56 kB / 0.702 GB, free: 7.398 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=1191) (initialization): time 0.3619/2.393, allocations: 12.84 MB / 0.7145 GB, free: 83.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002156/2.394, allocations: 87.69 kB / 0.7146 GB, free: 83.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004655/2.394, allocations: 192.4 kB / 0.7148 GB, free: 83.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01275/2.407, allocations: 2.242 MB / 0.717 GB, free: 83.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01429/2.421, allocations: 2.152 MB / 0.7191 GB, free: 83.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03123/2.453, allocations: 19.17 MB / 0.7378 GB, free: 74.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01091/2.464, allocations: 339.8 kB / 0.7382 GB, free: 74.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002392/2.466, allocations: 0.5357 MB / 0.7387 GB, free: 74.99 MB / 426.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.003616/2.47, allocations: 0.5969 MB / 0.7393 GB, free: 74.87 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02283/2.493, allocations: 6.906 MB / 0.746 GB, free: 74.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001901/2.494, allocations: 0.4912 MB / 0.7465 GB, free: 74.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02328/2.518, allocations: 6.827 MB / 0.7532 GB, free: 73.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001174/2.518, allocations: 43.44 kB / 0.7532 GB, free: 73.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.54e-05/2.518, allocations: 14.02 kB / 0.7532 GB, free: 73.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.766e-05/2.518, allocations: 14.53 kB / 0.7532 GB, free: 73.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04528/2.563, allocations: 13.87 MB / 0.7668 GB, free: 71.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.681e-05/2.564, allocations: 0 / 0.7668 GB, free: 71.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005866/2.569, allocations: 0.5365 MB / 0.7673 GB, free: 71.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01164/2.581, allocations: 2.042 MB / 0.7693 GB, free: 70.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000817/2.582, allocations: 13.31 kB / 0.7693 GB, free: 70.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03379/2.616, allocations: 21.4 MB / 0.7902 GB, free: 55.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/2.616, allocations: 7.406 kB / 0.7902 GB, free: 55.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02988/2.646, allocations: 10.8 MB / 0.8007 GB, free: 51.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00389/2.65, allocations: 0.974 MB / 0.8017 GB, free: 50.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00228/2.652, allocations: 12.48 kB / 0.8017 GB, free: 50.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005503/2.658, allocations: 153 kB / 0.8019 GB, free: 50.67 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0015/2.659, allocations: 184.2 kB / 0.802 GB, free: 50.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006611/2.66, allocations: 76.12 kB / 0.8021 GB, free: 50.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008381/2.668, allocations: 2.997 MB / 0.805 GB, free: 49.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.81e-07/2.668, allocations: 3.375 kB / 0.805 GB, free: 49.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01279/2.681, allocations: 1.538 MB / 0.8065 GB, free: 49.53 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.03074/2.712, allocations: 11.68 MB / 0.8179 GB, free: 39.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02129/2.733, allocations: 8.739 MB / 0.8265 GB, free: 31.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/2.733, allocations: 0 / 0.8265 GB, free: 31.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01032/2.744, allocations: 4.01 MB / 0.8304 GB, free: 28.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006042/2.75, allocations: 0.5954 MB / 0.831 GB, free: 27.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05718/2.807, allocations: 15.28 MB / 0.8459 GB, free: 14.67 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01424/2.821, allocations: 5.278 MB / 0.8511 GB, free: 10.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0154/2.837, allocations: 2.804 MB / 0.8538 GB, free: 9.047 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008786/2.846, allocations: 3.262 MB / 0.857 GB, free: 5.832 MB / 426.7 MB Notification: Performance of SimCode: time 2.575e-06/2.846, allocations: 0 / 0.857 GB, free: 5.832 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7343/3.58, allocations: 124.6 MB / 0.9786 GB, free: 38.89 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002542/3.58, allocations: 161.4 kB / 0.9788 GB, free: 38.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.415/10.99, allocations: 0 / 0.9788 GB, free: 38.7 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