Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00212/0.00212, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3338,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|referenceSystem.pointMass1.w_a.1.|referenceSystem.pointMass1.w_a.2.|referenceSystem.pointMass1.w_a.3.|referenceSystem.pointMass3.v_0.1.|referenceSystem.pointMass6.frame_a.r_0.1.|referenceSystem.pointMass6.frame_a.r_0.2.|referenceSystem.pointMass6.frame_a.r_0.3.|referenceSystem.pointMass6.v_0.2.|referenceSystem.pointMass6.v_0.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3338,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|referenceSystem.pointMass1.w_a.1.|referenceSystem.pointMass1.w_a.2.|referenceSystem.pointMass1.w_a.3.|referenceSystem.pointMass3.v_0.1.|referenceSystem.pointMass6.frame_a.r_0.1.|referenceSystem.pointMass6.frame_a.r_0.2.|referenceSystem.pointMass6.frame_a.r_0.3.|referenceSystem.pointMass6.v_0.2.|referenceSystem.pointMass6.v_0.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 51.92 kB / 379 MB, free: 2.531 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2778, allocations: 53.36 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2): time 0.02043/0.2982, allocations: 15.84 MB / 448.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01337/0.3116, allocations: 5.385 MB / 453.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003878/0.3154, allocations: 167.1 kB / 453.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01141/0.3268, allocations: 5.276 MB / 459 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009482/0.3363, allocations: 3.37 MB / 462.4 MB, free: 8.578 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003888/0.3402, allocations: 1.638 MB / 464 MB, free: 6.938 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0173/0.3575, allocations: 10.45 MB / 474.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01077/0.3683, allocations: 5.234 MB / 479.7 MB, free: 7.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009244/0.3775, allocations: 3.45 MB / 483.1 MB, free: 3.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01006/0.3876, allocations: 4.645 MB / 487.8 MB, free: 15.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003695/0.3913, allocations: 0.668 MB / 488.5 MB, free: 14.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006306/0.3976, allocations: 1.42 MB / 489.9 MB, free: 12.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009552/0.4071, allocations: 4.301 MB / 494.2 MB, free: 8.645 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01093/0.4181, allocations: 3.348 MB / 497.5 MB, free: 5.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02255/0.4406, allocations: 14.83 MB / 0.5004 GB, free: 6.391 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.4406, allocations: 4 kB / 0.5004 GB, free: 6.387 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4406, allocations: 0 / 0.5004 GB, free: 6.387 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005338/0.4412, allocations: 0 / 0.5004 GB, free: 6.387 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2860 * Number of variables: 2860 Notification: Performance of Generate backend data structure: time 0.02782/0.469, allocations: 9.771 MB / 0.5099 GB, free: 12.54 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.469, allocations: 8.031 kB / 0.5099 GB, free: 12.53 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01865/0.4877, allocations: 3.443 MB / 0.5133 GB, free: 9.074 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01575/0.5034, allocations: 6.126 MB / 0.5193 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005642/0.504, allocations: 451.5 kB / 0.5197 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003061/0.5071, allocations: 0.7882 MB / 0.5205 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4632/0.9703, allocations: 22.74 MB / 0.5427 GB, free: 87.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004512/0.9707, allocations: 119.5 kB / 0.5428 GB, free: 87.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00122/0.9719, allocations: 294.1 kB / 0.5431 GB, free: 87.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005255/0.9772, allocations: 3.861 MB / 0.5468 GB, free: 86.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04499/1.022, allocations: 22.07 MB / 0.5684 GB, free: 71.64 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.09654/1.119, allocations: 89.12 MB / 0.6554 GB, free: 13.43 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05884/1.178, allocations: 13.46 MB / 0.6686 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01088/1.188, allocations: 7.507 MB / 0.6759 GB, free: 8.457 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004897/1.189, allocations: 136 kB / 0.676 GB, free: 8.328 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.724e-05/1.189, allocations: 68.69 kB / 0.6761 GB, free: 8.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=275): time 5.67e-06/1.189, allocations: 0 / 0.6761 GB, free: 8.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=375): time 0.6004/1.789, allocations: 94.16 MB / 0.768 GB, free: 184.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001777/1.791, allocations: 3.044 MB / 0.771 GB, free: 181.6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008337/1.799, allocations: 6.892 MB / 0.7777 GB, free: 179.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008733/1.8, allocations: 94.56 kB / 0.7778 GB, free: 179.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003302/1.804, allocations: 6.155 MB / 0.7838 GB, free: 174.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001892/1.806, allocations: 1.534 MB / 0.7853 GB, free: 173.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003076/1.809, allocations: 2.324 MB / 0.7876 GB, free: 172.6 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.673e-05/1.809, allocations: 304.8 kB / 0.7879 GB, free: 172.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006474/1.815, allocations: 5.937 MB / 0.7937 GB, free: 168.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009104/1.824, allocations: 12.47 MB / 0.8059 GB, free: 152.4 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01675/1.841, allocations: 19.6 MB / 0.825 GB, free: 129.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001878/1.841, allocations: 64 kB / 0.8251 GB, free: 129.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=1481) (initialization): time 0.0567/1.898, allocations: 27.17 MB / 0.8516 GB, free: 102.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/1.898, allocations: 107.9 kB / 0.8517 GB, free: 102.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01408/1.912, allocations: 7.132 MB / 0.8587 GB, free: 95.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03256/1.945, allocations: 9.799 MB / 0.8682 GB, free: 85.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007868/1.953, allocations: 2.491 MB / 0.8707 GB, free: 82.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04788/2, allocations: 42.97 MB / 0.9126 GB, free: 39.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009719/2.01, allocations: 0.8934 MB / 0.9135 GB, free: 38.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001948/2.012, allocations: 0.6789 MB / 0.9142 GB, free: 37.81 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1047 * Number of states: 0 () * Number of discrete variables: 89 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,referenceSystem.fixedTranslation5.color[3],referenceSystem.fixedTranslation5.color[2],referenceSystem.fixedTranslation5.color[1],referenceSystem.fixedTranslation4.color[3],referenceSystem.fixedTranslation4.color[2],referenceSystem.fixedTranslation4.color[1],referenceSystem.fixedTranslation3.color[3],referenceSystem.fixedTranslation3.color[2],referenceSystem.fixedTranslation3.color[1],referenceSystem.fixedTranslation2.color[3],referenceSystem.fixedTranslation2.color[2],referenceSystem.fixedTranslation2.color[1],referenceSystem.fixedTranslation1.color[3],referenceSystem.fixedTranslation1.color[2],referenceSystem.fixedTranslation1.color[1],referenceSystem.fixedTranslation.color[3],referenceSystem.fixedTranslation.color[2],referenceSystem.fixedTranslation.color[1],referenceSystem.pointMass6.sphereColor[3],referenceSystem.pointMass6.sphereColor[2],referenceSystem.pointMass6.sphereColor[1],referenceSystem.pointMass5.sphereColor[3],referenceSystem.pointMass5.sphereColor[2],referenceSystem.pointMass5.sphereColor[1],referenceSystem.pointMass4.sphereColor[3],referenceSystem.pointMass4.sphereColor[2],referenceSystem.pointMass4.sphereColor[1],referenceSystem.pointMass3.sphereColor[3],referenceSystem.pointMass3.sphereColor[2],referenceSystem.pointMass3.sphereColor[1],referenceSystem.pointMass2.sphereColor[3],referenceSystem.pointMass2.sphereColor[2],referenceSystem.pointMass2.sphereColor[1],referenceSystem.pointMass1.sphereColor[3],referenceSystem.pointMass1.sphereColor[2],referenceSystem.pointMass1.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],fixedTranslation5.color[3],fixedTranslation5.color[2],fixedTranslation5.color[1],fixedTranslation4.color[3],fixedTranslation4.color[2],fixedTranslation4.color[1],fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],pointMass6.sphereColor[3],pointMass6.sphereColor[2],pointMass6.sphereColor[1],pointMass5.sphereColor[3],pointMass5.sphereColor[2],pointMass5.sphereColor[1],pointMass4.sphereColor[3],pointMass4.sphereColor[2],pointMass4.sphereColor[1],pointMass3.sphereColor[3],pointMass3.sphereColor[2],pointMass3.sphereColor[1],pointMass2.sphereColor[3],pointMass2.sphereColor[2],pointMass2.sphereColor[1],pointMass1.sphereColor[3],pointMass1.sphereColor[2],pointMass1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1344): * Single equations (assignments): 1330 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(6,36,100.0%), (3,2,100.0%), (6,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,7)} Notification: Performance of prepare postOptimizeDAE: time 0.007402/2.019, allocations: 3.995 MB / 0.9181 GB, free: 33.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001583/2.021, allocations: 0.6481 MB / 0.9187 GB, free: 33.15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00252/2.024, allocations: 1.014 MB / 0.9197 GB, free: 32.13 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03639/2.06, allocations: 16.07 MB / 0.9354 GB, free: 16.04 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.241e-05/2.06, allocations: 16.11 kB / 0.9354 GB, free: 16.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.732e-05/2.06, allocations: 27.86 kB / 0.9354 GB, free: 16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2954/2.356, allocations: 31.61 MB / 0.9663 GB, free: 167.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.581e-05/2.356, allocations: 4.094 kB / 0.9663 GB, free: 167.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002484/2.358, allocations: 0.5321 MB / 0.9668 GB, free: 167.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02557/2.384, allocations: 8.063 MB / 0.9747 GB, free: 165.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008349/2.384, allocations: 108.2 kB / 0.9748 GB, free: 165.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04211/2.427, allocations: 36.96 MB / 1.011 GB, free: 135.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001502/2.428, allocations: 2.878 MB / 1.014 GB, free: 132.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04482/2.473, allocations: 23.76 MB / 1.037 GB, free: 108.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001969/2.475, allocations: 0.5561 MB / 1.037 GB, free: 108.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001259/2.476, allocations: 80.8 kB / 1.038 GB, free: 108.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004852/2.481, allocations: 435 kB / 1.038 GB, free: 108.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001476/2.482, allocations: 293.9 kB / 1.038 GB, free: 107.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003982/2.483, allocations: 123.9 kB / 1.038 GB, free: 107.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005388/2.488, allocations: 3.979 MB / 1.042 GB, free: 103.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/2.488, allocations: 0 / 1.042 GB, free: 103.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.009926/2.498, allocations: 2.42 MB / 1.045 GB, free: 101.3 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],referenceSystem.pointMass1.frame_a.r_0[1],referenceSystem.pointMass1.frame_a.r_0[2],referenceSystem.pointMass1.frame_a.r_0[3],referenceSystem.pointMass1.v_0[1],referenceSystem.pointMass1.v_0[2],referenceSystem.pointMass1.v_0[3],referenceSystem.pointMass6.w_a[1],referenceSystem.pointMass6.w_a[2],referenceSystem.pointMass6.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (257): * Single equations (assignments): 248 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,36,100.0%), (6,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007659/2.499, allocations: 237.7 kB / 1.045 GB, free: 101.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01744/2.516, allocations: 14.21 MB / 1.059 GB, free: 86.95 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/2.516, allocations: 4 kB / 1.059 GB, free: 86.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007084/2.523, allocations: 5.828 MB / 1.064 GB, free: 81.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005634/2.529, allocations: 0.8186 MB / 1.065 GB, free: 80.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03569/2.565, allocations: 23.07 MB / 1.088 GB, free: 57.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007902/2.573, allocations: 5.502 MB / 1.093 GB, free: 51.64 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0017/2.574, allocations: 0.4954 MB / 1.094 GB, free: 51.15 MB / 0.545 GB Notification: Performance of SimCode: time 1.443e-06/2.574, allocations: 0 / 1.094 GB, free: 51.15 MB / 0.545 GB Notification: Performance of Templates: time 0.7697/3.344, allocations: 362.8 MB / 1.448 GB, free: 156 MB / 0.5919 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.makefile [Timeout 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2CalcHelperMain.o OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2CalcHelperMain.cpp In file included from OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2CalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2AlgLoopMain.cpp:30: ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1132.cpp:74:74: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp257 = std::atan2(((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(3)) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(4))) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(2)))), ((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3)) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1132.cpp:74:172: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp257 = std::atan2(((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(3)) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(4))) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(2)))), ((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3)) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1132.cpp:74:268: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp257 = std::atan2(((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(3)) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(4))) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(2)))), ((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3)) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1132.cpp:74:365: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp257 = std::atan2(((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(3)) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(4))) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(2)))), ((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3)) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1132.cpp:74:463: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp257 = std::atan2(((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(3)) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(4))) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(2)))), ((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3)) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1132.cpp:74:560: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp257 = std::atan2(((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(3)) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(4))) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(2)))), ((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3)) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1132.cpp:74:657: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp257 = std::atan2(((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(3)) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(4))) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(2)))), ((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3)) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1132.cpp:74:753: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp257 = std::atan2(((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(1)) + (((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(3)) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(4))) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(2)))), ((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3)) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1132.cpp:76:74: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp258 = std::atan2(((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(2)) + (((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(3)) - (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(4))) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(1)))), ((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3)) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1132.cpp:76:172: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp258 = std::atan2(((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(2)) + (((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(3)) - (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(4))) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(1)))), ((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3)) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1132.cpp:76:268: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp258 = std::atan2(((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(2)) + (((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(3)) - (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(4))) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(1)))), ((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3)) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1132.cpp:76:365: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp258 = std::atan2(((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(2)) + (((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(3)) - (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(4))) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(1)))), ((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3)) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1132.cpp:76:463: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp258 = std::atan2(((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(2)) + (((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(3)) - (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(4))) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(1)))), ((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3)) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1132.cpp:76:560: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp258 = std::atan2(((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(2)) + (((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(3)) - (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(4))) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(1)))), ((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3)) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1132.cpp:76:657: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp258 = std::atan2(((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(2)) + (((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(3)) - (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(4))) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(1)))), ((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3)) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1132.cpp:76:753: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp258 = std::atan2(((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(2)) + (((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(3)) - (_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(4))) - (_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(1)))), ((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3)) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1132.cpp:78:74: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp259 = std::atan2(((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(1)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(2)) + (((-_system->_referenceSystem_P_pointMass1_P_Q_(2)) * referenceSystem_P_pointMass1_P_Q_start_(3)) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(4))))), ((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3)) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1132.cpp:78:171: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp259 = std::atan2(((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(1)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(2)) + (((-_system->_referenceSystem_P_pointMass1_P_Q_(2)) * referenceSystem_P_pointMass1_P_Q_start_(3)) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(4))))), ((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3)) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1132.cpp:78:271: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp259 = std::atan2(((_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(1)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(2)) + (((-_system->_referenceSystem_P_pointMass1_P_Q_(2)) * referenceSystem_P_pointMass1_P_Q_start_(3)) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(4))))), ((_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(1)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(2)) + ((_system->_referenceSystem_P_pointMass1_P_Q_(3) * referenceSystem_P_pointMass1_P_Q_start_(3)) + (_system->_referenceSystem_P_pointMass1_P_Q_(4) * referenceSystem_P_pointMass1_P_Q_start_(4)))))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2CalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 7.584940063301474] Failed to read output from testmodel.py, exit status != 0: ['time', 'freeMotion.r_rel_a[1]', 'freeMotion.r_rel_a[2]', 'freeMotion.r_rel_a[3]', 'freeMotion.v_rel_a[1]', 'freeMotion.v_rel_a[2]', 'freeMotion.v_rel_a[3]', 'referenceSystem.pointMass1.w_a[1]', 'referenceSystem.pointMass1.w_a[2]', 'referenceSystem.pointMass1.w_a[3]', 'referenceSystem.pointMass3.v_0[1]', 'referenceSystem.pointMass6.frame_a.r_0[1]', 'referenceSystem.pointMass6.frame_a.r_0[2]', 'referenceSystem.pointMass6.frame_a.r_0[3]', 'referenceSystem.pointMass6.v_0[2]', 'referenceSystem.pointMass6.v_0[3]'] 3.353553493041545 3.362757544 2.919480504 Calling exit ...