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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 182.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 102.4 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008699/0.0008701, allocations: 43.94 kB / 350 MB, free: 60 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2192, allocations: 49.43 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2): time 0.08128/0.3005, allocations: 109.4 MB / 0.497 GB, free: 3.516 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.2912/0.5918, allocations: 20.71 MB / 0.5172 GB, free: 15.87 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02047/0.6123, allocations: 489.8 kB / 0.5177 GB, free: 15.87 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0103/0.6227, allocations: 5.404 MB / 0.523 GB, free: 14.7 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009624/0.6323, allocations: 3.147 MB / 0.526 GB, free: 14.03 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004102/0.6365, allocations: 1.507 MB / 0.5275 GB, free: 13.51 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0167/0.6532, allocations: 14.1 MB / 0.5413 GB, free: 8.285 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009864/0.6631, allocations: 6.308 MB / 0.5474 GB, free: 4.402 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007367/0.6705, allocations: 3.102 MB / 0.5505 GB, free: 1.633 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009399/0.6799, allocations: 4.836 MB / 0.5552 GB, free: 13.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002933/0.6829, allocations: 464 kB / 0.5556 GB, free: 12.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005237/0.6882, allocations: 1.381 MB / 0.557 GB, free: 11.28 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007471/0.6957, allocations: 3.995 MB / 0.5609 GB, free: 7.297 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009667/0.7054, allocations: 4.345 MB / 0.5651 GB, free: 2.945 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01796/0.7234, allocations: 14.24 MB / 0.579 GB, free: 5.012 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.7234, allocations: 3.938 kB / 0.579 GB, free: 5.008 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.7234, allocations: 0 / 0.579 GB, free: 5.008 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006034/0.724, allocations: 0 / 0.579 GB, free: 5.008 MB / 426.7 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.02763/0.7517, allocations: 9.704 MB / 0.5885 GB, free: 11.42 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.7517, allocations: 8.031 kB / 0.5885 GB, free: 11.41 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01775/0.7695, allocations: 3.353 MB / 0.5918 GB, free: 8.043 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01732/0.7868, allocations: 6.272 MB / 0.5979 GB, free: 1.773 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006475/0.7875, allocations: 454.8 kB / 0.5983 GB, free: 1.402 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003471/0.791, allocations: 0.7887 MB / 0.5991 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05436/0.8454, allocations: 22.94 MB / 0.6215 GB, free: 8.535 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004558/0.8459, allocations: 126.9 kB / 0.6216 GB, free: 8.41 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001959/0.8479, allocations: 291.6 kB / 0.6219 GB, free: 8.195 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006192/0.8541, allocations: 3.927 MB / 0.6258 GB, free: 4.277 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05368/0.9078, allocations: 22.12 MB / 0.6473 GB, free: 14.16 MB / 0.4948 GB 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.5142/1.422, allocations: 94.07 MB / 0.7392 GB, free: 179.7 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05338/1.475, allocations: 14.22 MB / 0.7531 GB, free: 173.2 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007444/1.483, allocations: 7.705 MB / 0.7606 GB, free: 165.5 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004002/1.483, allocations: 371.9 kB / 0.761 GB, free: 165.1 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/1.483, allocations: 67.72 kB / 0.761 GB, free: 165.1 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=275): time 4.528e-06/1.483, allocations: 0 / 0.761 GB, free: 165.1 MB / 0.5262 GB Notification: Performance of matching and sorting (n=375): time 0.303/1.786, allocations: 94.11 MB / 0.853 GB, free: 70.98 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001571/1.788, allocations: 3.126 MB / 0.856 GB, free: 67.55 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008608/1.797, allocations: 7.142 MB / 0.863 GB, free: 60.44 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.0007596/1.797, allocations: 81.7 kB / 0.8631 GB, free: 60.35 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002718/1.8, allocations: 5.966 MB / 0.8689 GB, free: 54.39 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001727/1.802, allocations: 1.467 MB / 0.8703 GB, free: 52.93 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002893/1.805, allocations: 2.319 MB / 0.8726 GB, free: 50.61 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.152e-05/1.805, allocations: 305.1 kB / 0.8729 GB, free: 50.3 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006076/1.811, allocations: 5.941 MB / 0.8787 GB, free: 44.36 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00857/1.82, allocations: 12.53 MB / 0.8909 GB, free: 28.61 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01697/1.837, allocations: 19.67 MB / 0.9101 GB, free: 5.707 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001212/1.837, allocations: 67.94 kB / 0.9102 GB, free: 5.641 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1487) (initialization): time 0.2631/2.1, allocations: 27.25 MB / 0.9368 GB, free: 212.7 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001286/2.1, allocations: 104.4 kB / 0.9369 GB, free: 212.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01567/2.116, allocations: 7.114 MB / 0.9438 GB, free: 210.5 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03473/2.15, allocations: 9.707 MB / 0.9533 GB, free: 204.4 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007704/2.158, allocations: 2.503 MB / 0.9558 GB, free: 201.8 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04788/2.206, allocations: 41.11 MB / 0.9959 GB, free: 160.3 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01132/2.217, allocations: 0.892 MB / 0.9968 GB, free: 159.5 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003054/2.221, allocations: 0.6796 MB / 0.9974 GB, free: 158.8 MB / 0.5262 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.008824/2.229, allocations: 4.032 MB / 1.001 GB, free: 154.9 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002154/2.232, allocations: 0.6665 MB / 1.002 GB, free: 154.6 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003032/2.235, allocations: 1.058 MB / 1.003 GB, free: 153.5 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03753/2.272, allocations: 16.17 MB / 1.019 GB, free: 137.3 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001154/2.272, allocations: 20 kB / 1.019 GB, free: 137.3 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001217/2.272, allocations: 15.94 kB / 1.019 GB, free: 137.3 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07261/2.345, allocations: 34.24 MB / 1.052 GB, free: 103.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.588e-05/2.345, allocations: 4 kB / 1.052 GB, free: 103.1 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002795/2.348, allocations: 0.538 MB / 1.053 GB, free: 102.6 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02621/2.374, allocations: 8.064 MB / 1.061 GB, free: 94.53 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001064/2.375, allocations: 115.9 kB / 1.061 GB, free: 94.41 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03981/2.415, allocations: 35.45 MB / 1.095 GB, free: 58.58 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001613/2.417, allocations: 2.948 MB / 1.098 GB, free: 55.37 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.158/3.575, allocations: 277.3 MB / 1.369 GB, free: 181 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003235/3.578, allocations: 0.6596 MB / 1.37 GB, free: 180.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002754/3.581, allocations: 85.25 kB / 1.37 GB, free: 180.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008509/3.589, allocations: 436.5 kB / 1.37 GB, free: 180.8 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002106/3.591, allocations: 289.8 kB / 1.371 GB, free: 180.8 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006943/3.592, allocations: 117.6 kB / 1.371 GB, free: 180.7 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01269/3.605, allocations: 4.438 MB / 1.375 GB, free: 179.3 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.082e-06/3.605, allocations: 0 / 1.375 GB, free: 179.3 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.02369/3.629, allocations: 3.618 MB / 1.379 GB, free: 177 MB / 0.5262 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.001334/3.63, allocations: 237.5 kB / 1.379 GB, free: 176.8 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.02385/3.654, allocations: 14.97 MB / 1.393 GB, free: 163.7 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/3.654, allocations: 0 / 1.393 GB, free: 163.7 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.007247/3.661, allocations: 6.23 MB / 1.399 GB, free: 158.2 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005516/3.667, allocations: 0.9042 MB / 1.4 GB, free: 157.4 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06465/3.731, allocations: 29.97 MB / 1.43 GB, free: 131 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01219/3.744, allocations: 6.184 MB / 1.436 GB, free: 125.8 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.01011/3.754, allocations: 3.323 MB / 1.439 GB, free: 122.4 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002309/3.756, allocations: 483.3 kB / 1.439 GB, free: 121.9 MB / 0.5262 GB Notification: Performance of SimCode: time 8.02e-07/3.756, allocations: 0 / 1.439 GB, free: 121.9 MB / 0.5262 GB Notification: Performance of Templates: time 0.5353/4.291, allocations: 203.9 MB / 1.638 GB, free: 110 MB / 0.5262 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.makefile make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=15 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.o Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=15 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_functions.o Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_functions.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=15 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_records.o Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_records.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=15 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_01exo.o Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_01exo.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=15 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_02nls.o Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_02nls.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=15 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_03lsy.o Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_03lsy.c Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_03lsy.c:1123:77: error: subscripted value is not an array, pointer, or vector real_array_create(&tmp4, ((modelica_real*)&((parentJacobian->tmpVars[182])[((modelica_integer) 1) - 1] /* pointMass6.r_0.$pDERA.dummyVarA[1] JACOBIAN_DIFF_VAR */)), 1, (_index_t)3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_03lsy.c:1124:77: error: subscripted value is not an array, pointer, or vector real_array_create(&tmp5, ((modelica_real*)&((parentJacobian->tmpVars[182])[((modelica_integer) 1) - 1] /* pointMass6.r_0.$pDERA.dummyVarA[1] JACOBIAN_DIFF_VAR */)), 1, (_index_t)3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_03lsy.c:1205:78: error: subscripted value is not an array, pointer, or vector real_array_create(&tmp36, ((modelica_real*)&((parentJacobian->tmpVars[182])[((modelica_integer) 1) - 1] /* pointMass6.r_0.$pDERA.dummyVarA[1] JACOBIAN_DIFF_VAR */)), 1, (_index_t)3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_03lsy.c:1206:78: error: subscripted value is not an array, pointer, or vector real_array_create(&tmp37, ((modelica_real*)&((parentJacobian->tmpVars[182])[((modelica_integer) 1) - 1] /* pointMass6.r_0.$pDERA.dummyVarA[1] JACOBIAN_DIFF_VAR */)), 1, (_index_t)3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_03lsy.c:1287:78: error: subscripted value is not an array, pointer, or vector real_array_create(&tmp68, ((modelica_real*)&((parentJacobian->tmpVars[182])[((modelica_integer) 1) - 1] /* pointMass6.r_0.$pDERA.dummyVarA[1] JACOBIAN_DIFF_VAR */)), 1, (_index_t)3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_03lsy.c:1288:78: error: subscripted value is not an array, pointer, or vector real_array_create(&tmp69, ((modelica_real*)&((parentJacobian->tmpVars[182])[((modelica_integer) 1) - 1] /* pointMass6.r_0.$pDERA.dummyVarA[1] JACOBIAN_DIFF_VAR */)), 1, (_index_t)3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_03lsy.c:1478:77: error: subscripted value is not an array, pointer, or vector real_array_create(&tmp4, ((modelica_real*)&((parentJacobian->tmpVars[182])[((modelica_integer) 1) - 1] /* pointMass6.r_0.$pDERA.dummyVarA[1] JACOBIAN_DIFF_VAR */)), 1, (_index_t)3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_03lsy.c:1479:77: error: subscripted value is not an array, pointer, or vector real_array_create(&tmp5, ((modelica_real*)&((parentJacobian->tmpVars[182])[((modelica_integer) 1) - 1] /* pointMass6.r_0.$pDERA.dummyVarA[1] JACOBIAN_DIFF_VAR */)), 1, (_index_t)3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_03lsy.c:1560:78: error: subscripted value is not an array, pointer, or vector real_array_create(&tmp36, ((modelica_real*)&((parentJacobian->tmpVars[182])[((modelica_integer) 1) - 1] /* pointMass6.r_0.$pDERA.dummyVarA[1] JACOBIAN_DIFF_VAR */)), 1, (_index_t)3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_03lsy.c:1561:78: error: subscripted value is not an array, pointer, or vector real_array_create(&tmp37, ((modelica_real*)&((parentJacobian->tmpVars[182])[((modelica_integer) 1) - 1] /* pointMass6.r_0.$pDERA.dummyVarA[1] JACOBIAN_DIFF_VAR */)), 1, (_index_t)3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_03lsy.c:1642:78: error: subscripted value is not an array, pointer, or vector real_array_create(&tmp68, ((modelica_real*)&((parentJacobian->tmpVars[182])[((modelica_integer) 1) - 1] /* pointMass6.r_0.$pDERA.dummyVarA[1] JACOBIAN_DIFF_VAR */)), 1, (_index_t)3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_03lsy.c:1643:78: error: subscripted value is not an array, pointer, or vector real_array_create(&tmp69, ((modelica_real*)&((parentJacobian->tmpVars[182])[((modelica_integer) 1) - 1] /* pointMass6.r_0.$pDERA.dummyVarA[1] JACOBIAN_DIFF_VAR */)), 1, (_index_t)3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_03lsy.c:1833:77: error: subscripted value is not an array, pointer, or vector real_array_create(&tmp4, ((modelica_real*)&((parentJacobian->tmpVars[182])[((modelica_integer) 1) - 1] /* pointMass6.r_0.$pDERA.dummyVarA[1] JACOBIAN_DIFF_VAR */)), 1, (_index_t)3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_03lsy.c:1834:77: error: subscripted value is not an array, pointer, or vector real_array_create(&tmp5, ((modelica_real*)&((parentJacobian->tmpVars[182])[((modelica_integer) 1) - 1] /* pointMass6.r_0.$pDERA.dummyVarA[1] JACOBIAN_DIFF_VAR */)), 1, (_index_t)3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_03lsy.c:1915:78: error: subscripted value is not an array, pointer, or vector real_array_create(&tmp36, ((modelica_real*)&((parentJacobian->tmpVars[182])[((modelica_integer) 1) - 1] /* pointMass6.r_0.$pDERA.dummyVarA[1] JACOBIAN_DIFF_VAR */)), 1, (_index_t)3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_03lsy.c:1916:78: error: subscripted value is not an array, pointer, or vector real_array_create(&tmp37, ((modelica_real*)&((parentJacobian->tmpVars[182])[((modelica_integer) 1) - 1] /* pointMass6.r_0.$pDERA.dummyVarA[1] JACOBIAN_DIFF_VAR */)), 1, (_index_t)3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_03lsy.c:1997:78: error: subscripted value is not an array, pointer, or vector real_array_create(&tmp68, ((modelica_real*)&((parentJacobian->tmpVars[182])[((modelica_integer) 1) - 1] /* pointMass6.r_0.$pDERA.dummyVarA[1] JACOBIAN_DIFF_VAR */)), 1, (_index_t)3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_03lsy.c:1998:78: error: subscripted value is not an array, pointer, or vector real_array_create(&tmp69, ((modelica_real*)&((parentJacobian->tmpVars[182])[((modelica_integer) 1) - 1] /* pointMass6.r_0.$pDERA.dummyVarA[1] JACOBIAN_DIFF_VAR */)), 1, (_index_t)3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_03lsy.c:2218:77: error: subscripted value is not an array, pointer, or vector real_array_create(&tmp4, ((modelica_real*)&((parentJacobian->tmpVars[137])[((modelica_integer) 1) - 1] /* pointMass1.r_0.$pDERA.dummyVarA[1] JACOBIAN_DIFF_VAR */)), 1, (_index_t)3); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_03lsy.o] Error 1