Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.UserDefinedGravityField,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000978/0.000978, allocations: 97.89 kB / 16.31 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009356/0.0009356, allocations: 174.4 kB / 17.19 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004706, allocations: 12.72 kB / 280.1 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1072, allocations: 47.58 MB / 327.7 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField): time 0.01456/0.1218, allocations: 15.47 MB / 343.2 MB, free: 4.57 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.1319, allocations: 4.81 MB / 348 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002293/0.1342, allocations: 71.81 kB / 348.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001855/0.1361, allocations: 0.7193 MB / 348.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0068/0.1429, allocations: 2.4 MB / 351.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.1444, allocations: 467.1 kB / 351.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002756/0.1472, allocations: 1.474 MB / 353.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002233/0.1495, allocations: 1.565 MB / 354.7 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000907/0.1504, allocations: 0.6307 MB / 355.3 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009667/0.1514, allocations: 0.8488 MB / 356.1 MB, free: 7.531 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001974/0.1516, allocations: 84 kB / 356.2 MB, free: 7.449 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.153, allocations: 0.7294 MB / 357 MB, free: 6.719 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008158/0.1538, allocations: 0.9195 MB / 357.9 MB, free: 5.797 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004315/0.1543, allocations: 0.4962 MB / 358.4 MB, free: 5.293 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003493/0.1578, allocations: 3.079 MB / 361.5 MB, free: 2.207 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.1578, allocations: 0 / 361.5 MB, free: 2.207 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1578, allocations: 7.938 kB / 361.5 MB, free: 2.199 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001052/0.1579, allocations: 0 / 361.5 MB, free: 2.199 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 951 * Number of variables: 951 Notification: Performance of Generate backend data structure: time 0.004683/0.1626, allocations: 2.606 MB / 364.1 MB, free: 15.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1627, allocations: 8.031 kB / 364.1 MB, free: 15.53 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006038/0.1687, allocations: 1.892 MB / 366 MB, free: 13.63 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003756/0.1725, allocations: 1.625 MB / 367.6 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.1726, allocations: 127 kB / 367.7 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003606/0.173, allocations: 163.9 kB / 367.9 MB, free: 11.67 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009784/0.1828, allocations: 6.573 MB / 374.4 MB, free: 4.613 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.257e-05/0.1829, allocations: 31.66 kB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002353/0.1831, allocations: 83.89 kB / 374.6 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002417/0.1856, allocations: 1.464 MB / 376 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2018/0.3874, allocations: 5.866 MB / 381.9 MB, free: 48.87 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02926/0.4167, allocations: 25.83 MB / 407.7 MB, free: 30.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005096/0.4219, allocations: 2.589 MB / 410.3 MB, free: 28.71 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007184/0.4291, allocations: 4.848 MB / 415.2 MB, free: 25.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.4291, allocations: 42.5 kB / 415.2 MB, free: 25.38 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 3.237e-06/0.4291, allocations: 4 kB / 415.2 MB, free: 25.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=105): time 0.02258/0.4517, allocations: 10.09 MB / 425.3 MB, free: 15.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.4518, allocations: 148.9 kB / 425.4 MB, free: 14.91 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003101/0.4549, allocations: 2.825 MB / 428.3 MB, free: 12.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002096/0.4552, allocations: 33.7 kB / 428.3 MB, free: 12.03 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001206/0.4564, allocations: 2.059 MB / 430.3 MB, free: 9.973 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004689/0.4569, allocations: 435.1 kB / 430.8 MB, free: 9.551 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.457, allocations: 80 kB / 430.9 MB, free: 9.473 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002562/0.4573, allocations: 495 kB / 431.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001944/0.4593, allocations: 1.417 MB / 432.8 MB, free: 7.559 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002927/0.4622, allocations: 4.026 MB / 436.8 MB, free: 2.215 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002539/0.4648, allocations: 2.337 MB / 439.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.275e-05/0.4648, allocations: 28 kB / 439.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.009947/0.4748, allocations: 5.975 MB / 445.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.55e-05/0.4749, allocations: 48 kB / 445.2 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.758e-05/0.475, allocations: 94.27 kB / 445.3 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002235/0.4772, allocations: 0.8347 MB / 446.1 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002811/0.48, allocations: 0.9357 MB / 447 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006288/0.4863, allocations: 4.431 MB / 451.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003622/0.49, allocations: 239.6 kB / 451.7 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008594/0.4909, allocations: 262 kB / 451.9 MB, free: 2.914 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 425 * Number of states: 0 () * Number of discrete variables: 21 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (498): * Single equations (assignments): 494 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00332/0.4942, allocations: 1.365 MB / 453.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006565/0.4948, allocations: 233 kB / 453.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004525/0.4994, allocations: 2.126 MB / 455.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.413e-05/0.4994, allocations: 16.7 kB / 455.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.4995, allocations: 0.75 kB / 455.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.4995, allocations: 7.984 kB / 455.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01147/0.511, allocations: 5.091 MB / 460.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/0.511, allocations: 0 / 460.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008717/0.5119, allocations: 159.8 kB / 460.9 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002199/0.5141, allocations: 0.6804 MB / 461.6 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/0.5143, allocations: 24.84 kB / 461.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005538/0.5199, allocations: 3.987 MB / 465.6 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.5199, allocations: 0 / 465.6 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007185/0.5271, allocations: 4.153 MB / 469.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001621/0.5288, allocations: 469.8 kB / 470.2 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005772/0.5294, allocations: 12.7 kB / 470.3 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/0.5307, allocations: 75.08 kB / 470.3 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001983/0.5309, allocations: 64.98 kB / 470.4 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.329e-05/0.531, allocations: 28.55 kB / 470.4 MB, free: 140 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003457/0.5345, allocations: 1.78 MB / 472.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5345, allocations: 0 / 472.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004526/0.539, allocations: 0.6911 MB / 472.9 MB, free: 13.67 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (74): * Single equations (assignments): 70 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008011/0.5398, allocations: 202.5 kB / 473.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006299/0.5462, allocations: 3.439 MB / 476.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.5462, allocations: 0 / 476.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001496/0.5477, allocations: 1.037 MB / 477.6 MB, free: 8.988 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/0.5494, allocations: 239 kB / 477.8 MB, free: 8.758 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/0.5626, allocations: 6.641 MB / 484.4 MB, free: 2.074 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003361/0.566, allocations: 2.295 MB / 486.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003837/0.5699, allocations: 1.329 MB / 488.1 MB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006531/0.5705, allocations: 159.4 kB / 488.2 MB, free: 14.26 MB / 382.1 MB Notification: Performance of SimCode: time 1.183e-06/0.5705, allocations: 0 / 488.2 MB, free: 14.26 MB / 382.1 MB Notification: Performance of Templates: time 0.04587/0.6164, allocations: 22.89 MB / 0.4991 GB, free: 7.387 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.UserDefinedGravityField.pipe 2>&1) Environment - environmentSimulation: