Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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.PointGravity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 197.2 kB / 16.54 MB, free: 6.672 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.449/1.449, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.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.001182/0.001182, allocations: 55.94 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2102, allocations: 46.63 MB / 325.3 MB, free: 1.848 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.007489/0.2177, allocations: 6.983 MB / 332.3 MB, free: 12.36 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005484/0.2232, allocations: 3.095 MB / 335.4 MB, free: 9.801 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004956/0.2238, allocations: 35.88 kB / 335.4 MB, free: 9.766 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.2251, allocations: 0.6652 MB / 336.1 MB, free: 9.098 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002432/0.2275, allocations: 1.386 MB / 337.5 MB, free: 7.707 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008056/0.2283, allocations: 0.5029 MB / 338 MB, free: 7.203 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003078/0.2314, allocations: 3.125 MB / 341.1 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005881/0.232, allocations: 459.2 kB / 341.6 MB, free: 3.609 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008465/0.2329, allocations: 0.7978 MB / 342.4 MB, free: 2.809 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00129/0.2342, allocations: 1.215 MB / 343.6 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002577/0.2345, allocations: 132 kB / 343.7 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.2359, allocations: 0.9476 MB / 344.6 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008865/0.2368, allocations: 1.091 MB / 345.7 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009871/0.2378, allocations: 1.234 MB / 347 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003298/0.2411, allocations: 3.872 MB / 350.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2411, allocations: 0 / 350.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2411, allocations: 0 / 350.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.996e-05/0.2412, allocations: 0 / 350.8 MB, free: 10.29 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.005588/0.2468, allocations: 3.213 MB / 354.1 MB, free: 7.02 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.2468, allocations: 16.03 kB / 354.1 MB, free: 7.004 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008185/0.255, allocations: 1.881 MB / 355.9 MB, free: 5.117 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002905/0.2579, allocations: 1.727 MB / 357.7 MB, free: 3.348 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.258, allocations: 126.5 kB / 357.8 MB, free: 3.223 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008735/0.2589, allocations: 295.5 kB / 358.1 MB, free: 2.934 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01342/0.2724, allocations: 8.219 MB / 366.3 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.276e-05/0.2725, allocations: 39.64 kB / 366.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002594/0.2727, allocations: 79.88 kB / 366.4 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002137/0.2749, allocations: 1.393 MB / 367.8 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01683/0.2917, allocations: 9.542 MB / 377.4 MB, free: 15.08 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03328/0.325, allocations: 30.63 MB / 408 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01181/0.3369, allocations: 4.395 MB / 412.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002629/0.3395, allocations: 2.113 MB / 414.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.173e-05/0.3396, allocations: 8 kB / 414.5 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.3396, allocations: 50.56 kB / 414.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 3.457e-06/0.3396, allocations: 0 / 414.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=136): time 0.04686/0.3865, allocations: 18.33 MB / 432.9 MB, free: 6.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002418/0.389, allocations: 3.235 MB / 436.1 MB, free: 2.656 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003951/0.3929, allocations: 3.002 MB / 439.1 MB, free: 15.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004505/0.3934, allocations: 45.73 kB / 439.2 MB, free: 15.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001363/0.3948, allocations: 2.083 MB / 441.2 MB, free: 13.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007254/0.3955, allocations: 0.5671 MB / 441.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001414/0.3969, allocations: 1.015 MB / 442.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.901e-05/0.397, allocations: 301.1 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0038/0.4008, allocations: 2.633 MB / 445.8 MB, free: 8.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006169/0.407, allocations: 5.585 MB / 451.3 MB, free: 1.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.156/0.563, allocations: 8.62 MB / 460 MB, free: 103 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.125e-05/0.5631, allocations: 33.88 kB / 460 MB, free: 103 MB / 382.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.02915/0.5923, allocations: 11.78 MB / 471.8 MB, free: 99.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.389e-05/0.5924, allocations: 48.62 kB / 471.8 MB, free: 99.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02132/0.6137, allocations: 7.02 MB / 478.8 MB, free: 93.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0216/0.6354, allocations: 4.546 MB / 483.4 MB, free: 89.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003829/0.6392, allocations: 1.244 MB / 484.6 MB, free: 87.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/0.6532, allocations: 12.54 MB / 497.2 MB, free: 74.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004632/0.6579, allocations: 0.5771 MB / 497.7 MB, free: 74.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005798/0.6585, allocations: 315.9 kB / 498.1 MB, free: 73.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * Number of states: 0 () * Number of discrete variables: 18 (body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (592): * Single equations (assignments): 577 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 4 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,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 {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001635/0.6601, allocations: 1.423 MB / 499.5 MB, free: 72.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004265/0.6606, allocations: 256.7 kB / 499.7 MB, free: 72.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007294/0.6613, allocations: 411.2 kB / 0.4884 GB, free: 72.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01024/0.6715, allocations: 5.015 MB / 0.4933 GB, free: 67.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.091e-05/0.6716, allocations: 8 kB / 0.4933 GB, free: 67.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-05/0.6716, allocations: 9.562 kB / 0.4933 GB, free: 67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006456/0.6781, allocations: 5.36 MB / 0.4986 GB, free: 61.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.6781, allocations: 0 / 0.4986 GB, free: 61.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001597/0.6797, allocations: 367.4 kB / 0.4989 GB, free: 61.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007872/0.6876, allocations: 2.395 MB / 0.5012 GB, free: 58.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003397/0.688, allocations: 50.47 kB / 0.5013 GB, free: 58.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007133/0.6951, allocations: 9.448 MB / 0.5105 GB, free: 48.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001437/0.6966, allocations: 3.07 MB / 0.5135 GB, free: 45.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01443/0.711, allocations: 8.778 MB / 0.5221 GB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006868/0.7118, allocations: 325.7 kB / 0.5224 GB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004983/0.7123, allocations: 35.98 kB / 0.5224 GB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002031/0.7143, allocations: 319 kB / 0.5227 GB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004485/0.7148, allocations: 99.81 kB / 0.5228 GB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/0.7149, allocations: 59.89 kB / 0.5229 GB, free: 35.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002408/0.7173, allocations: 1.879 MB / 0.5247 GB, free: 33.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7174, allocations: 0 / 0.5247 GB, free: 33.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004508/0.7219, allocations: 1.003 MB / 0.5257 GB, free: 32.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[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 (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 4 systems {(3,100.0%), (4,100.0%), (3,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 {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004641/0.7224, allocations: 179.4 kB / 0.5259 GB, free: 32.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.011/0.7334, allocations: 7.732 MB / 0.5334 GB, free: 24.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.7334, allocations: 0 / 0.5334 GB, free: 24.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00548/0.7389, allocations: 3.638 MB / 0.537 GB, free: 21.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/0.741, allocations: 312.8 kB / 0.5373 GB, free: 20.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009427/0.7505, allocations: 8.204 MB / 0.5453 GB, free: 12.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001522/0.752, allocations: 2.299 MB / 0.5475 GB, free: 10.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.003351/0.7554, allocations: 1.663 MB / 0.5492 GB, free: 8.645 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006752/0.7561, allocations: 195.3 kB / 0.5493 GB, free: 8.453 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.7561, allocations: 0 / 0.5493 GB, free: 8.453 MB / 382.1 MB Notification: Performance of Templates: time 0.06618/0.8223, allocations: 45.88 MB / 0.5942 GB, free: 10.57 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1)