Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.028/2.028, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.729e-05/3.739e-05, allocations: 4 kB / 292.2 MB, free: 8.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1175, allocations: 50.41 MB / 342.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5133/0.6309, allocations: 114.7 MB / 457.3 MB, free: 11.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/0.6313, allocations: 87.64 kB / 457.4 MB, free: 11.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9378/1.569, allocations: 134.4 MB / 0.5779 GB, free: 96.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.434e-06/1.569, allocations: 0 / 0.5779 GB, free: 96.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004994/1.57, allocations: 157.3 kB / 0.578 GB, free: 96.8 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.03503/1.605, allocations: 7.136 MB / 0.585 GB, free: 94.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/1.605, allocations: 10.88 kB / 0.585 GB, free: 94.12 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00605/1.611, allocations: 1.262 MB / 0.5863 GB, free: 93.51 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02248/1.633, allocations: 2.839 MB / 0.589 GB, free: 92.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02736/1.661, allocations: 7.271 MB / 0.5961 GB, free: 90.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007264/1.662, allocations: 0.555 MB / 0.5967 GB, free: 90.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004069/1.666, allocations: 0.7345 MB / 0.5974 GB, free: 89.81 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0596/1.725, allocations: 17.75 MB / 0.6147 GB, free: 74.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005658/1.726, allocations: 91.17 kB / 0.6148 GB, free: 74.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003737/1.73, allocations: 348.2 kB / 0.6151 GB, free: 74.46 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003659/1.733, allocations: 1.561 MB / 0.6167 GB, free: 72.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04795/1.781, allocations: 14.25 MB / 0.6306 GB, free: 58.64 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.4948/2.276, allocations: 74.02 MB / 0.7029 GB, free: 44.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04567/2.322, allocations: 7.614 MB / 0.7103 GB, free: 43.92 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01033/2.332, allocations: 3.164 MB / 0.7134 GB, free: 43.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04559/2.378, allocations: 14.38 MB / 0.7274 GB, free: 40.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/2.378, allocations: 55.41 kB / 0.7275 GB, free: 40.03 MB / 442.7 MB Notification: Performance of pre-optimization done (n=244): time 2.971e-05/2.378, allocations: 0 / 0.7275 GB, free: 40.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=290): time 0.1621/2.54, allocations: 29.12 MB / 0.7559 GB, free: 32.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.005e-05/2.541, allocations: 158.9 kB / 0.7561 GB, free: 32.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01293/2.554, allocations: 4.991 MB / 0.761 GB, free: 30.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007385/2.554, allocations: 68.42 kB / 0.761 GB, free: 30.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004302/2.559, allocations: 4.719 MB / 0.7656 GB, free: 27.01 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001892/2.561, allocations: 1.109 MB / 0.7667 GB, free: 26.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00127/2.562, allocations: 171.6 kB / 0.7669 GB, free: 26.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000831/2.563, allocations: 0.6704 MB / 0.7675 GB, free: 25.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008113/2.571, allocations: 3.177 MB / 0.7706 GB, free: 24.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01201/2.583, allocations: 8.23 MB / 0.7787 GB, free: 16.47 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01153/2.595, allocations: 5.07 MB / 0.7836 GB, free: 14.77 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002197/2.595, allocations: 54.75 kB / 0.7837 GB, free: 14.77 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.03991/2.635, allocations: 12.79 MB / 0.7962 GB, free: 7.113 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001498/2.635, allocations: 85 kB / 0.7962 GB, free: 7.031 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003146/2.635, allocations: 182.3 kB / 0.7964 GB, free: 6.855 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01219/2.648, allocations: 2.253 MB / 0.7986 GB, free: 5.184 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01336/2.661, allocations: 2.018 MB / 0.8006 GB, free: 3.449 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03919/2.7, allocations: 20.13 MB / 0.8202 GB, free: 0.543 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01099/2.711, allocations: 0.4906 MB / 0.8207 GB, free: 128 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005129/2.716, allocations: 0.6717 MB / 0.8214 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.003699/2.72, allocations: 0.7808 MB / 0.8221 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001671/2.722, allocations: 0.5128 MB / 0.8226 GB, free: 14.69 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02418/2.746, allocations: 6.653 MB / 0.8291 GB, free: 9.266 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001193/2.746, allocations: 44.5 kB / 0.8292 GB, free: 9.227 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.085e-05/2.746, allocations: 12 kB / 0.8292 GB, free: 9.215 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.16e-05/2.746, allocations: 15.89 kB / 0.8292 GB, free: 9.215 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05121/2.798, allocations: 14.73 MB / 0.8436 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.955e-05/2.798, allocations: 8 kB / 0.8436 GB, free: 11.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005914/2.804, allocations: 0.507 MB / 0.8441 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01257/2.816, allocations: 2 MB / 0.8461 GB, free: 8.977 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007929/2.817, allocations: 54.88 kB / 0.8461 GB, free: 8.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04044/2.857, allocations: 19.65 MB / 0.8653 GB, free: 4.391 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/2.858, allocations: 4 kB / 0.8653 GB, free: 4.387 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3991/3.257, allocations: 10.44 MB / 0.8755 GB, free: 135 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002014/3.259, allocations: 0.5374 MB / 0.876 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002276/3.261, allocations: 48.5 kB / 0.8761 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005722/3.267, allocations: 179.5 kB / 0.8762 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001272/3.268, allocations: 174.3 kB / 0.8764 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004085/3.269, allocations: 80.7 kB / 0.8765 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01104/3.28, allocations: 3.46 MB / 0.8799 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.152e-06/3.28, allocations: 0.875 kB / 0.8799 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01288/3.293, allocations: 1.697 MB / 0.8815 GB, free: 134.7 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.03585/3.328, allocations: 11.36 MB / 0.8926 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02126/3.35, allocations: 8.568 MB / 0.901 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/3.35, allocations: 0 / 0.901 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009841/3.36, allocations: 3.703 MB / 0.9046 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00722/3.367, allocations: 0.7554 MB / 0.9053 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05385/3.421, allocations: 15.9 MB / 0.9209 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01301/3.434, allocations: 5.166 MB / 0.9259 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008039/3.442, allocations: 3.289 MB / 0.9291 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of SimCode: time 3.166e-06/3.442, allocations: 3.438 kB / 0.9291 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.827/10.27, allocations: 328 MB / 1.249 GB, free: 133.2 MB / 0.4948 GB