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.001284/0.001284, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001347/0.001347, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.405/1.405, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.001618/0.001618, allocations: 51.92 kB / 379 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2435, allocations: 53.36 MB / 432.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2): time 0.02004/0.2636, allocations: 18.45 MB / 450.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01232/0.2759, allocations: 5.611 MB / 456.5 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003001/0.2789, allocations: 167.1 kB / 456.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01095/0.2899, allocations: 5.506 MB / 462.1 MB, free: 9.094 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008637/0.2985, allocations: 3.358 MB / 465.5 MB, free: 5.723 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003535/0.302, allocations: 1.619 MB / 467.1 MB, free: 4.102 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01459/0.3166, allocations: 10.46 MB / 477.6 MB, free: 9.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007842/0.3245, allocations: 5.255 MB / 482.8 MB, free: 4.297 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00578/0.3302, allocations: 3.45 MB / 486.3 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007399/0.3376, allocations: 4.899 MB / 491.2 MB, free: 11.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001992/0.3396, allocations: 0.6719 MB / 491.9 MB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003824/0.3435, allocations: 1.553 MB / 493.4 MB, free: 9.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005547/0.349, allocations: 4.297 MB / 497.7 MB, free: 5.387 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007324/0.3563, allocations: 4.513 MB / 0.4904 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01801/0.3743, allocations: 14.75 MB / 0.5049 GB, free: 2.043 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3743, allocations: 0 / 0.5049 GB, free: 2.043 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3743, allocations: 0 / 0.5049 GB, free: 2.043 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004285/0.3748, allocations: 4 kB / 0.5049 GB, free: 2.039 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.02352/0.3983, allocations: 9.769 MB / 0.5144 GB, free: 8.184 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.3983, allocations: 12.03 kB / 0.5144 GB, free: 8.172 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01691/0.4152, allocations: 3.443 MB / 0.5178 GB, free: 4.719 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01375/0.429, allocations: 6.087 MB / 0.5237 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004826/0.4295, allocations: 451.5 kB / 0.5241 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002571/0.432, allocations: 0.7921 MB / 0.5249 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4486/0.8806, allocations: 22.74 MB / 0.5471 GB, free: 84.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003942/0.881, allocations: 115.8 kB / 0.5472 GB, free: 84.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009041/0.8819, allocations: 296.1 kB / 0.5475 GB, free: 84.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004759/0.8867, allocations: 3.864 MB / 0.5513 GB, free: 83.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04314/0.9298, allocations: 22.1 MB / 0.5729 GB, free: 68.04 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.09598/1.026, allocations: 93.36 MB / 0.664 GB, free: 5.539 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05747/1.083, allocations: 13.47 MB / 0.6772 GB, free: 8.016 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01044/1.094, allocations: 7.519 MB / 0.6845 GB, free: 492 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004949/1.094, allocations: 149.7 kB / 0.6847 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.993e-05/1.094, allocations: 66.95 kB / 0.6847 GB, free: 268 kB / 494.1 MB Notification: Performance of pre-optimization done (n=275): time 5.139e-06/1.094, allocations: 4 kB / 0.6848 GB, free: 264 kB / 494.1 MB Notification: Performance of matching and sorting (n=375): time 0.5566/1.651, allocations: 93.74 MB / 0.7763 GB, free: 179.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001658/1.653, allocations: 3.09 MB / 0.7793 GB, free: 176.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007948/1.66, allocations: 7.132 MB / 0.7863 GB, free: 174.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007997/1.661, allocations: 91.92 kB / 0.7864 GB, free: 174.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002902/1.664, allocations: 6.139 MB / 0.7924 GB, free: 170 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001517/1.666, allocations: 1.529 MB / 0.7939 GB, free: 168.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002687/1.668, allocations: 2.33 MB / 0.7961 GB, free: 166.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.858e-05/1.668, allocations: 301.1 kB / 0.7964 GB, free: 166.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006055/1.674, allocations: 5.933 MB / 0.8022 GB, free: 160.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00821/1.683, allocations: 12.48 MB / 0.8144 GB, free: 145 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01593/1.699, allocations: 19.61 MB / 0.8335 GB, free: 122.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001365/1.699, allocations: 67.94 kB / 0.8336 GB, free: 122.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=1481) (initialization): time 0.05428/1.753, allocations: 27.21 MB / 0.8602 GB, free: 94.83 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/1.753, allocations: 104 kB / 0.8603 GB, free: 94.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01351/1.767, allocations: 7.129 MB / 0.8673 GB, free: 87.58 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03071/1.797, allocations: 9.805 MB / 0.8768 GB, free: 77.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00695/1.804, allocations: 2.491 MB / 0.8793 GB, free: 75.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04585/1.85, allocations: 43.54 MB / 0.9218 GB, free: 31.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008645/1.859, allocations: 0.8968 MB / 0.9227 GB, free: 30.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001394/1.86, allocations: 0.6789 MB / 0.9233 GB, free: 29.58 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.007166/1.867, allocations: 3.991 MB / 0.9272 GB, free: 25.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001338/1.869, allocations: 0.6985 MB / 0.9279 GB, free: 24.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002357/1.871, allocations: 1.058 MB / 0.9289 GB, free: 23.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03453/1.906, allocations: 16.07 MB / 0.9446 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.995e-05/1.906, allocations: 27.98 kB / 0.9447 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.594e-05/1.906, allocations: 15.94 kB / 0.9447 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2714/2.177, allocations: 33.6 MB / 0.9775 GB, free: 161.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.185e-05/2.177, allocations: 3.875 kB / 0.9775 GB, free: 161.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002368/2.18, allocations: 0.5396 MB / 0.978 GB, free: 161.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0234/2.203, allocations: 8.062 MB / 0.9859 GB, free: 160.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006659/2.204, allocations: 109.4 kB / 0.986 GB, free: 160.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03871/2.242, allocations: 37.41 MB / 1.023 GB, free: 125.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001374/2.244, allocations: 2.92 MB / 1.025 GB, free: 122.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04185/2.286, allocations: 23.82 MB / 1.049 GB, free: 98.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001674/2.287, allocations: 0.6293 MB / 1.049 GB, free: 98.51 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001018/2.288, allocations: 75.98 kB / 1.049 GB, free: 98.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003407/2.292, allocations: 431.3 kB / 1.05 GB, free: 98.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008623/2.292, allocations: 305.8 kB / 1.05 GB, free: 97.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003021/2.293, allocations: 119.7 kB / 1.05 GB, free: 97.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005053/2.298, allocations: 4.409 MB / 1.054 GB, free: 93.22 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/2.298, allocations: 0 / 1.054 GB, free: 93.22 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008513/2.306, allocations: 2.422 MB / 1.057 GB, free: 90.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.0006638/2.307, allocations: 233.8 kB / 1.057 GB, free: 90.58 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01581/2.323, allocations: 14.21 MB / 1.071 GB, free: 76.39 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/2.323, allocations: 0 / 1.071 GB, free: 76.39 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006367/2.329, allocations: 5.823 MB / 1.077 GB, free: 70.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004675/2.334, allocations: 0.9534 MB / 1.078 GB, free: 69.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03006/2.364, allocations: 23.13 MB / 1.1 GB, free: 46.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005708/2.37, allocations: 5.97 MB / 1.106 GB, free: 40.45 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001589/2.371, allocations: 0.5189 MB / 1.106 GB, free: 39.93 MB / 0.545 GB Notification: Performance of SimCode: time 1.092e-06/2.371, allocations: 0 / 1.106 GB, free: 39.93 MB / 0.545 GB Notification: Performance of Templates: time 0.7557/3.127, allocations: 362.8 MB / 1.461 GB, free: 140.1 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 -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -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_' tmp323 = 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_' tmp323 = 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_' tmp323 = 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_' tmp323 = 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_' tmp323 = 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_' tmp323 = 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_' tmp323 = 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_' tmp323 = 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_' tmp324 = 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_' tmp324 = 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_' tmp324 = 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_' tmp324 = 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_' tmp324 = 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_' tmp324 = 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_' tmp324 = 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_' tmp324 = 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_' tmp325 = 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_' tmp325 = 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_' tmp325 = 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.140639863908291] 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.1356280259788036 3.145025504 2.768177302 Calling exit ...