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.001715/0.001715, allocations: 107.6 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.001723/0.001723, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.501/1.501, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.001597/0.001597, allocations: 55.86 kB / 379 MB, free: 2.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2421, allocations: 53.36 MB / 432.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2): time 0.01893/0.261, allocations: 15.85 MB / 448.2 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01254/0.2735, allocations: 5.381 MB / 453.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003243/0.2768, allocations: 167.1 kB / 453.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01091/0.2877, allocations: 5.272 MB / 459 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008821/0.2965, allocations: 3.381 MB / 462.4 MB, free: 8.527 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003616/0.3001, allocations: 1.619 MB / 464 MB, free: 6.906 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01573/0.3159, allocations: 10.46 MB / 474.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007582/0.3234, allocations: 5.244 MB / 479.7 MB, free: 7.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006246/0.3297, allocations: 3.451 MB / 483.2 MB, free: 3.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008799/0.3385, allocations: 4.907 MB / 488.1 MB, free: 14.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002563/0.341, allocations: 0.668 MB / 488.8 MB, free: 14.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004322/0.3454, allocations: 1.428 MB / 490.2 MB, free: 12.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005967/0.3513, allocations: 4.293 MB / 494.5 MB, free: 8.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007149/0.3585, allocations: 3.348 MB / 497.8 MB, free: 4.953 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01965/0.3781, allocations: 14.84 MB / 0.5006 GB, free: 6.062 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3781, allocations: 4 kB / 0.5006 GB, free: 6.059 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3781, allocations: 0 / 0.5006 GB, free: 6.059 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004809/0.3786, allocations: 0 / 0.5006 GB, free: 6.059 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.02409/0.4027, allocations: 9.769 MB / 0.5102 GB, free: 12.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.4028, allocations: 8.031 kB / 0.5102 GB, free: 12.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01822/0.421, allocations: 3.443 MB / 0.5136 GB, free: 8.746 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01574/0.4367, allocations: 6.122 MB / 0.5195 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000483/0.4372, allocations: 447.5 kB / 0.52 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002787/0.44, allocations: 0.796 MB / 0.5207 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.478/0.918, allocations: 22.74 MB / 0.5429 GB, free: 87.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004589/0.9185, allocations: 123.1 kB / 0.5431 GB, free: 87.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00128/0.9198, allocations: 292.3 kB / 0.5433 GB, free: 87.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005058/0.9248, allocations: 3.867 MB / 0.5471 GB, free: 86.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04472/0.9695, allocations: 22.06 MB / 0.5687 GB, free: 71.51 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.09849/1.068, allocations: 89.12 MB / 0.6557 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06183/1.13, allocations: 13.47 MB / 0.6688 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0106/1.14, allocations: 7.514 MB / 0.6762 GB, free: 8.328 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005206/1.141, allocations: 140.1 kB / 0.6763 GB, free: 8.195 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.02e-05/1.141, allocations: 60.75 kB / 0.6764 GB, free: 8.125 MB / 494.1 MB Notification: Performance of pre-optimization done (n=275): time 5.941e-06/1.141, allocations: 4 kB / 0.6764 GB, free: 8.121 MB / 494.1 MB Notification: Performance of matching and sorting (n=375): time 0.6333/1.774, allocations: 94.16 MB / 0.7683 GB, free: 184.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002387/1.777, allocations: 3.048 MB / 0.7713 GB, free: 181.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01264/1.789, allocations: 6.893 MB / 0.778 GB, free: 179 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001175/1.791, allocations: 85.3 kB / 0.7781 GB, free: 179 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004968/1.795, allocations: 6.15 MB / 0.7841 GB, free: 174.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002553/1.798, allocations: 1.535 MB / 0.7856 GB, free: 173.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005127/1.803, allocations: 2.326 MB / 0.7879 GB, free: 172.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.65e-05/1.803, allocations: 305.1 kB / 0.7882 GB, free: 172.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01096/1.814, allocations: 5.935 MB / 0.794 GB, free: 168 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01553/1.83, allocations: 12.48 MB / 0.8062 GB, free: 152.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02555/1.855, allocations: 19.6 MB / 0.8253 GB, free: 129.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002617/1.856, allocations: 68 kB / 0.8254 GB, free: 129.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=1481) (initialization): time 0.0944/1.95, allocations: 27.17 MB / 0.8519 GB, free: 102.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001981/1.95, allocations: 111.9 kB / 0.852 GB, free: 102.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0242/1.974, allocations: 7.129 MB / 0.859 GB, free: 95.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05134/2.026, allocations: 9.799 MB / 0.8685 GB, free: 85.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01241/2.038, allocations: 2.491 MB / 0.871 GB, free: 82.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07107/2.109, allocations: 42.97 MB / 0.9129 GB, free: 39.28 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01013/2.119, allocations: 0.8926 MB / 0.9138 GB, free: 38.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00205/2.121, allocations: 0.6757 MB / 0.9145 GB, free: 37.71 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.006941/2.128, allocations: 3.998 MB / 0.9184 GB, free: 33.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001556/2.13, allocations: 0.6481 MB / 0.919 GB, free: 33.04 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/2.132, allocations: 1.018 MB / 0.92 GB, free: 32.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03694/2.169, allocations: 16.06 MB / 0.9357 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.171e-05/2.169, allocations: 20 kB / 0.9357 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001037/2.169, allocations: 15.94 kB / 0.9357 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.32/2.489, allocations: 31.61 MB / 0.9666 GB, free: 165.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.704e-05/2.489, allocations: 3.625 kB / 0.9666 GB, free: 165.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002595/2.491, allocations: 0.5351 MB / 0.9671 GB, free: 165.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02693/2.518, allocations: 8.066 MB / 0.975 GB, free: 164.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009267/2.519, allocations: 111.9 kB / 0.9751 GB, free: 164 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04068/2.56, allocations: 36.96 MB / 1.011 GB, free: 134.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00142/2.561, allocations: 2.876 MB / 1.014 GB, free: 131.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0447/2.606, allocations: 23.76 MB / 1.037 GB, free: 108.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002112/2.608, allocations: 0.5652 MB / 1.038 GB, free: 108.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001528/2.61, allocations: 75.92 kB / 1.038 GB, free: 108 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004557/2.614, allocations: 435.3 kB / 1.038 GB, free: 107.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001106/2.615, allocations: 295.2 kB / 1.039 GB, free: 107.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003524/2.616, allocations: 123.5 kB / 1.039 GB, free: 107.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005476/2.621, allocations: 3.979 MB / 1.043 GB, free: 103.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/2.621, allocations: 4 kB / 1.043 GB, free: 103.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01082/2.632, allocations: 2.412 MB / 1.045 GB, free: 100.8 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.0008762/2.633, allocations: 240.8 kB / 1.045 GB, free: 100.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0177/2.651, allocations: 14.21 MB / 1.059 GB, free: 86.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/2.651, allocations: 3.938 kB / 1.059 GB, free: 86.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006974/2.658, allocations: 5.823 MB / 1.065 GB, free: 80.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005418/2.663, allocations: 0.8141 MB / 1.065 GB, free: 79.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03605/2.699, allocations: 23.07 MB / 1.088 GB, free: 56.69 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008491/2.708, allocations: 5.51 MB / 1.093 GB, free: 51.12 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001804/2.709, allocations: 499.3 kB / 1.094 GB, free: 50.63 MB / 0.545 GB Notification: Performance of SimCode: time 2.585e-06/2.709, allocations: 0 / 1.094 GB, free: 50.63 MB / 0.545 GB Notification: Performance of Templates: time 0.8688/3.578, allocations: 362.8 MB / 1.448 GB, free: 155.8 MB / 0.5919 GB " [Timeout remaining time 656] 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.747262467019027] 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.588121554988902 3.597553633 3.216902381 Calling exit ...