Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 184.9 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 43.92 kB / 371.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3184, allocations: 52.19 MB / 423.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2): time 0.02097/0.3394, allocations: 15.98 MB / 439.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01406/0.3535, allocations: 5.404 MB / 445.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003988/0.3575, allocations: 171.1 kB / 445.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01202/0.3695, allocations: 5.296 MB / 450.7 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01139/0.3809, allocations: 3.447 MB / 454.1 MB, free: 52 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004315/0.3852, allocations: 1.627 MB / 455.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.016/0.4012, allocations: 10.15 MB / 465.9 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009275/0.4105, allocations: 5.236 MB / 471.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007712/0.4182, allocations: 3.482 MB / 474.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00892/0.4271, allocations: 4.68 MB / 479.3 MB, free: 6.758 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003057/0.4302, allocations: 0.6719 MB / 480 MB, free: 6.086 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005872/0.436, allocations: 1.44 MB / 481.4 MB, free: 4.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008635/0.4447, allocations: 4.363 MB / 485.8 MB, free: 276 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008811/0.4535, allocations: 3.406 MB / 489.2 MB, free: 12.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0242/0.4777, allocations: 15.03 MB / 0.4924 GB, free: 13.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/0.4777, allocations: 0 / 0.4924 GB, free: 13.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4777, allocations: 0 / 0.4924 GB, free: 13.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006177/0.4783, allocations: 0 / 0.4924 GB, free: 13.75 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: 2889 * Number of variables: 2889 Notification: Performance of Generate backend data structure: time 0.02957/0.5079, allocations: 9.893 MB / 0.5021 GB, free: 3.777 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.5079, allocations: 8.031 kB / 0.5021 GB, free: 3.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01893/0.5268, allocations: 3.412 MB / 0.5054 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01807/0.5449, allocations: 6.337 MB / 0.5116 GB, free: 9.926 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006469/0.5456, allocations: 455.5 kB / 0.512 GB, free: 9.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003736/0.5493, allocations: 0.7882 MB / 0.5128 GB, free: 8.691 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06289/0.6122, allocations: 22.93 MB / 0.5352 GB, free: 336 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000606/0.6128, allocations: 127.1 kB / 0.5353 GB, free: 208 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.4239/1.037, allocations: 287 kB / 0.5356 GB, free: 98.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006449/1.043, allocations: 3.927 MB / 0.5394 GB, free: 98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04478/1.088, allocations: 22.22 MB / 0.5611 GB, free: 81.48 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.09236/1.18, allocations: 89.49 MB / 0.6485 GB, free: 6.98 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05884/1.239, allocations: 13.45 MB / 0.6617 GB, free: 9.551 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01057/1.25, allocations: 7.515 MB / 0.669 GB, free: 2.023 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004332/1.25, allocations: 140 kB / 0.6691 GB, free: 1.891 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.039e-05/1.25, allocations: 68.44 kB / 0.6692 GB, free: 1.812 MB / 478.1 MB Notification: Performance of pre-optimization done (n=275): time 6.152e-06/1.25, allocations: 0 / 0.6692 GB, free: 1.812 MB / 478.1 MB Notification: Performance of matching and sorting (n=375): time 0.5588/1.809, allocations: 94.23 MB / 0.7612 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00171/1.811, allocations: 3.053 MB / 0.7642 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007415/1.818, allocations: 6.941 MB / 0.771 GB, free: 167.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007736/1.819, allocations: 77.7 kB / 0.771 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002653/1.822, allocations: 6.201 MB / 0.7771 GB, free: 162.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001495/1.823, allocations: 1.532 MB / 0.7786 GB, free: 160.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002696/1.826, allocations: 2.341 MB / 0.7809 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.343e-05/1.826, allocations: 301.1 kB / 0.7812 GB, free: 158.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006085/1.832, allocations: 5.945 MB / 0.787 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008389/1.84, allocations: 12.52 MB / 0.7992 GB, free: 136.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01666/1.857, allocations: 19.66 MB / 0.8184 GB, free: 113.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000197/1.857, allocations: 71.94 kB / 0.8185 GB, free: 113.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1487) (initialization): time 0.05772/1.915, allocations: 27.15 MB / 0.845 GB, free: 86.41 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001196/1.915, allocations: 104 kB / 0.8451 GB, free: 86.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01434/1.929, allocations: 7.055 MB / 0.852 GB, free: 79.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0322/1.962, allocations: 9.718 MB / 0.8615 GB, free: 69.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006626/1.968, allocations: 2.503 MB / 0.8639 GB, free: 66.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04879/2.017, allocations: 42.95 MB / 0.9059 GB, free: 23.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009579/2.026, allocations: 0.8972 MB / 0.9067 GB, free: 22.63 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001968/2.028, allocations: 0.6796 MB / 0.9074 GB, free: 21.95 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1053 * Number of states: 0 () * Number of discrete variables: 89 (freeMotion.arrow.arrowLine.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 (1350): * Single equations (assignments): 1336 * 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.007075/2.036, allocations: 4.024 MB / 0.9113 GB, free: 17.91 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001427/2.037, allocations: 0.6442 MB / 0.912 GB, free: 17.26 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002252/2.039, allocations: 1.018 MB / 0.913 GB, free: 16.24 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03715/2.076, allocations: 16.07 MB / 0.9286 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.719e-05/2.076, allocations: 24 kB / 0.9287 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.767e-05/2.077, allocations: 15.94 kB / 0.9287 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3146/2.391, allocations: 31.69 MB / 0.9596 GB, free: 171.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.458e-05/2.391, allocations: 3.188 kB / 0.9596 GB, free: 171.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002521/2.394, allocations: 0.5402 MB / 0.9602 GB, free: 171.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02529/2.419, allocations: 8.058 MB / 0.968 GB, free: 168.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007168/2.42, allocations: 114.9 kB / 0.9681 GB, free: 168.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04118/2.461, allocations: 36.96 MB / 1.004 GB, free: 132 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001461/2.462, allocations: 2.875 MB / 1.007 GB, free: 128.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04521/2.508, allocations: 23.78 MB / 1.03 GB, free: 105.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001934/2.509, allocations: 0.5653 MB / 1.031 GB, free: 105.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001992/2.511, allocations: 83.52 kB / 1.031 GB, free: 105.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004828/2.516, allocations: 431.3 kB / 1.031 GB, free: 104.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001209/2.518, allocations: 289.9 kB / 1.032 GB, free: 104.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003507/2.518, allocations: 123.9 kB / 1.032 GB, free: 104.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005974/2.524, allocations: 4.008 MB / 1.036 GB, free: 100.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.41e-07/2.524, allocations: 3.969 kB / 1.036 GB, free: 100.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01071/2.535, allocations: 2.452 MB / 1.038 GB, free: 97.91 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.0009158/2.535, allocations: 233.9 kB / 1.038 GB, free: 97.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01749/2.553, allocations: 14.23 MB / 1.052 GB, free: 83.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.415e-06/2.553, allocations: 0 / 1.052 GB, free: 83.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007141/2.56, allocations: 5.832 MB / 1.058 GB, free: 77.62 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005266/2.565, allocations: 0.8245 MB / 1.059 GB, free: 76.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03383/2.599, allocations: 23.2 MB / 1.081 GB, free: 53.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007211/2.606, allocations: 5.556 MB / 1.087 GB, free: 47.99 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001552/2.608, allocations: 0.4915 MB / 1.087 GB, free: 47.5 MB / 0.545 GB Notification: Performance of SimCode: time 8.62e-07/2.608, allocations: 3.938 kB / 1.087 GB, free: 47.49 MB / 0.545 GB Notification: Performance of Templates: time 0.8214/3.429, allocations: 366 MB / 1.445 GB, free: 120.7 MB / 0.5763 GB " [Timeout remaining time 657] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.makefile [Timeout 660] make -j1 -f Modelica_4.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2CalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2CalcHelperMain.cpp In file included from OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2CalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2AlgLoopMain.cpp:30: ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:74:76: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp258 = std::atan2(((((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(1)) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_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_(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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:74:172: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp258 = std::atan2(((((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(1)) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_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_(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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:74:269: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp258 = std::atan2(((((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(1)) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_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_(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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:74:366: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp258 = std::atan2(((((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(1)) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_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_(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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:74:465: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp258 = std::atan2(((((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(1)) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_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_(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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:74:561: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp258 = std::atan2(((((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(1)) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_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_(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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:74:658: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp258 = std::atan2(((((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(1)) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_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_(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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:74:755: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp258 = std::atan2(((((_system->_referenceSystem_P_pointMass1_P_Q_(2) * referenceSystem_P_pointMass1_P_Q_start_(1)) - (_system->_referenceSystem_P_pointMass1_P_Q_(1) * referenceSystem_P_pointMass1_P_Q_start_(2))) + (_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_(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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:76:76: 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_(2)) - (_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_(3))) - (_system->_referenceSystem_P_pointMass1_P_Q_(2) * 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:76:172: 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_(2)) - (_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_(3))) - (_system->_referenceSystem_P_pointMass1_P_Q_(2) * 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:76:269: 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_(2)) - (_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_(3))) - (_system->_referenceSystem_P_pointMass1_P_Q_(2) * 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:76:366: 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_(2)) - (_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_(3))) - (_system->_referenceSystem_P_pointMass1_P_Q_(2) * 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:76:465: 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_(2)) - (_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_(3))) - (_system->_referenceSystem_P_pointMass1_P_Q_(2) * 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:76:561: 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_(2)) - (_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_(3))) - (_system->_referenceSystem_P_pointMass1_P_Q_(2) * 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:76:658: 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_(2)) - (_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_(3))) - (_system->_referenceSystem_P_pointMass1_P_Q_(2) * 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:76:755: 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_(2)) - (_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_(3))) - (_system->_referenceSystem_P_pointMass1_P_Q_(2) * 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:78:76: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp260 = 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:78:172: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp260 = 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2Algloop1138.cpp:78:269: error: use of undeclared identifier 'referenceSystem_P_pointMass1_P_Q_start_' tmp260 = 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2CalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 7.637358313892037] 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.439127874094993 3.448313362 2.967965946 Calling exit ...