Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 113.3 kB / 17.06 MB, free: 6.09 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.001644/0.001644, allocations: 199 kB / 18 MB, free: 5.168 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.353/1.353, allocations: 205.1 MB / 223.9 MB, free: 12.2 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.001173/0.001173, allocations: 56.39 kB / 327.9 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07803/0.07921, allocations: 46.62 MB / 374.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.1713/0.2505, allocations: 10.47 MB / 385 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006878/0.2574, allocations: 3.811 MB / 388.8 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.2588, allocations: 66.41 kB / 388.8 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003839/0.2627, allocations: 2.312 MB / 391.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003909/0.2666, allocations: 1.689 MB / 392.8 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.268, allocations: 0.6057 MB / 393.4 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005865/0.2739, allocations: 3.463 MB / 396.9 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003491/0.2774, allocations: 3.036 MB / 399.9 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00187/0.2793, allocations: 1.368 MB / 401.3 MB, free: 8 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00245/0.2817, allocations: 1.796 MB / 403.1 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006202/0.2824, allocations: 291.3 kB / 403.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/0.2847, allocations: 1.144 MB / 404.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001967/0.2866, allocations: 1.71 MB / 406.2 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002346/0.289, allocations: 1.958 MB / 408.2 MB, free: 12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00715/0.2962, allocations: 6.238 MB / 414.4 MB, free: 7.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.2962, allocations: 3.938 kB / 414.4 MB, free: 7.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2962, allocations: 3.938 kB / 414.4 MB, free: 7.465 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001759/0.2964, allocations: 4 kB / 414.4 MB, free: 7.461 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.008666/0.3051, allocations: 4.223 MB / 418.7 MB, free: 3.172 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.3051, allocations: 8.031 kB / 418.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006367/0.3115, allocations: 1.832 MB / 420.5 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004444/0.316, allocations: 2.111 MB / 422.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.3161, allocations: 217.4 kB / 422.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008013/0.3169, allocations: 359.7 kB / 423.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01381/0.3307, allocations: 8.874 MB / 432.1 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.614e-05/0.3309, allocations: 43.53 kB / 432.1 MB, free: 5.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000362/0.3312, allocations: 135.9 kB / 432.2 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002365/0.3336, allocations: 1.637 MB / 433.9 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01315/0.3468, allocations: 7.51 MB / 441.4 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03872/0.3855, allocations: 35.01 MB / 476.4 MB, free: 7.691 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008036/0.3936, allocations: 3.448 MB / 479.8 MB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001706/0.3953, allocations: 1.447 MB / 481.3 MB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009491/0.4048, allocations: 6.8 MB / 488.1 MB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.4049, allocations: 51.14 kB / 488.1 MB, free: 11.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 4.87e-06/0.4049, allocations: 0 / 488.1 MB, free: 11.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.02393/0.4288, allocations: 11.12 MB / 499.3 MB, free: 168 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001152/0.43, allocations: 1.703 MB / 0.4892 GB, free: 14.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003952/0.434, allocations: 3.551 MB / 0.4927 GB, free: 10.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.4341, allocations: 41.7 kB / 0.4927 GB, free: 10.69 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001552/0.4356, allocations: 2.794 MB / 0.4955 GB, free: 7.855 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004738/0.4361, allocations: 0.5672 MB / 0.496 GB, free: 7.281 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001295/0.4374, allocations: 1.107 MB / 0.4971 GB, free: 6.164 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.93e-05/0.4375, allocations: 305.4 kB / 0.4974 GB, free: 5.863 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002532/0.4401, allocations: 1.924 MB / 0.4993 GB, free: 3.934 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004563/0.4446, allocations: 5.357 MB / 0.5045 GB, free: 12.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007556/0.4522, allocations: 7.841 MB / 0.5121 GB, free: 3.281 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.094e-05/0.4523, allocations: 36 kB / 0.5122 GB, free: 3.246 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01768/0.47, allocations: 8.75 MB / 0.5207 GB, free: 10.47 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.44e-05/0.4701, allocations: 56 kB / 0.5208 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00987/0.4799, allocations: 3.444 MB / 0.5241 GB, free: 6.961 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01023/0.4902, allocations: 2.238 MB / 0.5263 GB, free: 4.707 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003922/0.4941, allocations: 1.252 MB / 0.5276 GB, free: 3.453 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009762/0.5039, allocations: 7.418 MB / 0.5348 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003984/0.5079, allocations: 387.2 kB / 0.5352 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004582/0.5084, allocations: 336 kB / 0.5355 GB, free: 11.05 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (676): * Single equations (assignments): 667 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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%), (3,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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002575/0.511, allocations: 1.85 MB / 0.5373 GB, free: 9.184 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004289/0.5114, allocations: 304.1 kB / 0.5376 GB, free: 8.883 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005084/0.5165, allocations: 2.771 MB / 0.5403 GB, free: 6.086 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004383/0.5209, allocations: 2.351 MB / 0.5426 GB, free: 3.711 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.5209, allocations: 4.047 kB / 0.5426 GB, free: 3.707 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.5209, allocations: 11.95 kB / 0.5426 GB, free: 3.695 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2044/0.7254, allocations: 7.839 MB / 0.5503 GB, free: 137.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/0.7254, allocations: 4.781 kB / 0.5503 GB, free: 137.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001217/0.7267, allocations: 224.4 kB / 0.5505 GB, free: 137.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003518/0.7302, allocations: 1.055 MB / 0.5515 GB, free: 137.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001545/0.7303, allocations: 39.09 kB / 0.5515 GB, free: 137.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005452/0.7358, allocations: 5.272 MB / 0.5567 GB, free: 134.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007312/0.7366, allocations: 1.57 MB / 0.5582 GB, free: 133.5 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007097/0.7437, allocations: 4.951 MB / 0.5631 GB, free: 131.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009858/0.7447, allocations: 369.8 kB / 0.5634 GB, free: 131.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003207/0.745, allocations: 34.8 kB / 0.5634 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/0.7463, allocations: 126.6 kB / 0.5636 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002573/0.7466, allocations: 83.75 kB / 0.5636 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/0.7467, allocations: 42.23 kB / 0.5637 GB, free: 131.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003657/0.7504, allocations: 2.196 MB / 0.5658 GB, free: 131 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.7504, allocations: 1.406 kB / 0.5658 GB, free: 131 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00457/0.7549, allocations: 0.9737 MB / 0.5668 GB, free: 130.9 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.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 (105): * Single equations (assignments): 98 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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%), (3,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): 1 system {(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.0004091/0.7554, allocations: 171.7 kB / 0.5669 GB, free: 130.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007875/0.7632, allocations: 5.234 MB / 0.5721 GB, free: 129.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.7633, allocations: 7 kB / 0.5721 GB, free: 129.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003187/0.7665, allocations: 2.015 MB / 0.574 GB, free: 128.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/0.7687, allocations: 407.5 kB / 0.5744 GB, free: 128.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.7803, allocations: 8.423 MB / 0.5826 GB, free: 124.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002286/0.7826, allocations: 2.905 MB / 0.5855 GB, free: 122.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003054/0.7857, allocations: 1.706 MB / 0.5871 GB, free: 121 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004699/0.7861, allocations: 215.4 kB / 0.5874 GB, free: 120.8 MB / 478.1 MB Notification: Performance of SimCode: time 7.92e-07/0.7862, allocations: 0 / 0.5874 GB, free: 120.8 MB / 478.1 MB Notification: Performance of Templates: time 0.04872/0.8349, allocations: 33.11 MB / 0.6197 GB, free: 87.82 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1)