Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.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.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 102.6 kB / 16.62 MB, free: 6.805 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.001215/0.001215, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.418/1.418, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001153/0.001153, allocations: 47.92 kB / 279.5 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1129, allocations: 46.63 MB / 326.1 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.3024/0.4154, allocations: 81.45 MB / 407.6 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04129/0.4567, allocations: 16.52 MB / 424.1 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02797/0.4848, allocations: 377.9 kB / 424.5 MB, free: 0.793 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01297/0.4978, allocations: 6.069 MB / 430.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.5079, allocations: 2.661 MB / 433.2 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006434/0.5144, allocations: 2.184 MB / 435.4 MB, free: 8.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01556/0.53, allocations: 9.271 MB / 444.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01436/0.5444, allocations: 8.851 MB / 453.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008854/0.5533, allocations: 3.283 MB / 456.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009362/0.5627, allocations: 4.647 MB / 461.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00356/0.5664, allocations: 0.7188 MB / 462.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006348/0.5728, allocations: 1.916 MB / 464.1 MB, free: 12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007873/0.5807, allocations: 3.885 MB / 468 MB, free: 8.102 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0103/0.591, allocations: 4.193 MB / 472.2 MB, free: 3.887 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0222/0.6133, allocations: 13.01 MB / 485.2 MB, free: 6.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.248e-06/0.6134, allocations: 0 / 485.2 MB, free: 6.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.6134, allocations: 0 / 485.2 MB, free: 6.832 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006185/0.614, allocations: 0 / 485.2 MB, free: 6.832 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2349 * Number of variables: 2349 Notification: Performance of Generate backend data structure: time 0.03005/0.6441, allocations: 8.946 MB / 494.1 MB, free: 13.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/0.6442, allocations: 8.031 kB / 494.1 MB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0471/0.6913, allocations: 4.844 MB / 499 MB, free: 8.938 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01771/0.7091, allocations: 6.576 MB / 0.4937 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004796/0.7096, allocations: 435.7 kB / 0.4941 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002971/0.7126, allocations: 0.5858 MB / 0.4947 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03973/0.7523, allocations: 17.07 MB / 0.5114 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003148/0.7527, allocations: 79.27 kB / 0.5114 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001316/0.754, allocations: 271.8 kB / 0.5117 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004628/0.7587, allocations: 2.65 MB / 0.5143 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03117/0.7899, allocations: 14.79 MB / 0.5287 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4382/1.228, allocations: 64.63 MB / 0.5918 GB, free: 119.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02041/1.249, allocations: 8.781 MB / 0.6004 GB, free: 113.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004998/1.254, allocations: 5.06 MB / 0.6053 GB, free: 108.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02219/1.276, allocations: 18.64 MB / 0.6236 GB, free: 89.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.162e-05/1.276, allocations: 64.56 kB / 0.6236 GB, free: 89.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=281): time 5.531e-06/1.276, allocations: 0 / 0.6236 GB, free: 89.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=374): time 0.2335/1.509, allocations: 74.07 MB / 0.696 GB, free: 15.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/1.51, allocations: 380.6 kB / 0.6963 GB, free: 15.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007936/1.518, allocations: 6.416 MB / 0.7026 GB, free: 8.863 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001142/1.519, allocations: 81.7 kB / 0.7027 GB, free: 8.777 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002386/1.521, allocations: 4.764 MB / 0.7073 GB, free: 3.949 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001774/1.523, allocations: 1.376 MB / 0.7087 GB, free: 2.555 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002782/1.526, allocations: 1.982 MB / 0.7106 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.81e-05/1.526, allocations: 301.1 kB / 0.7109 GB, free: 268 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2173/1.743, allocations: 5.988 MB / 0.7167 GB, free: 152.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01307/1.756, allocations: 11.02 MB / 0.7275 GB, free: 143.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0181/1.774, allocations: 17.96 MB / 0.745 GB, free: 131.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002406/1.774, allocations: 48.19 kB / 0.7451 GB, free: 131.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.04246/1.817, allocations: 23.34 MB / 0.7679 GB, free: 115.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/1.817, allocations: 80 kB / 0.7679 GB, free: 115.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001478/1.817, allocations: 172 kB / 0.7681 GB, free: 115 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01978/1.837, allocations: 7.466 MB / 0.7754 GB, free: 107.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00744/1.845, allocations: 2.187 MB / 0.7775 GB, free: 105.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04072/1.885, allocations: 38.11 MB / 0.8148 GB, free: 67.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009422/1.895, allocations: 0.7391 MB / 0.8155 GB, free: 66.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001686/1.896, allocations: 0.531 MB / 0.816 GB, free: 65.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 785 * Number of states: 0 () * Number of discrete variables: 51 (sensorJoint4.arrowColor[3],sensorJoint4.arrowColor[2],sensorJoint4.arrowColor[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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute4cut.cylinderColor[3],revolute4cut.cylinderColor[2],revolute4cut.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1091): * Single equations (assignments): 1084 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,68,84.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,24)} Notification: Performance of prepare postOptimizeDAE: time 0.005695/1.902, allocations: 3.438 MB / 0.8193 GB, free: 62.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001416/1.904, allocations: 0.5768 MB / 0.8199 GB, free: 62.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0284/1.932, allocations: 16.96 MB / 0.8365 GB, free: 45.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-05/1.932, allocations: 51.98 kB / 0.8365 GB, free: 45.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.791e-05/1.932, allocations: 24 kB / 0.8365 GB, free: 45.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.439e-05/1.932, allocations: 15.94 kB / 0.8366 GB, free: 45.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04867/1.981, allocations: 32.15 MB / 0.868 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.547e-05/1.981, allocations: 11.97 kB / 0.868 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1914/2.172, allocations: 0.598 MB / 0.8686 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02273/2.195, allocations: 7.036 MB / 0.8754 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001073/2.196, allocations: 62.56 kB / 0.8755 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0424/2.239, allocations: 36.31 MB / 0.9109 GB, free: 123.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/2.239, allocations: 3.562 kB / 0.9109 GB, free: 123.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03727/2.276, allocations: 24.6 MB / 0.935 GB, free: 101.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00499/2.281, allocations: 1.661 MB / 0.9366 GB, free: 100.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002285/2.283, allocations: 66.61 kB / 0.9367 GB, free: 100.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006098/2.289, allocations: 449.3 kB / 0.9371 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001949/2.291, allocations: 246.3 kB / 0.9373 GB, free: 99.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005065/2.292, allocations: 95.98 kB / 0.9374 GB, free: 99.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006753/2.299, allocations: 4.088 MB / 0.9414 GB, free: 95.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.31e-07/2.299, allocations: 0 / 0.9414 GB, free: 95.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01192/2.311, allocations: 2.292 MB / 0.9436 GB, free: 93.33 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (revolute1.phi,revolute1.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 (243): * Single equations (assignments): 236 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,62,84.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001548/2.312, allocations: 275.6 kB / 0.9439 GB, free: 93.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.03047/2.343, allocations: 20.06 MB / 0.9635 GB, free: 73.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/2.343, allocations: 2 kB / 0.9635 GB, free: 73.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01019/2.353, allocations: 6.712 MB / 0.97 GB, free: 66.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006615/2.36, allocations: 0.9082 MB / 0.9709 GB, free: 65.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03291/2.393, allocations: 23.59 MB / 0.994 GB, free: 41.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006963/2.4, allocations: 5.275 MB / 0.9991 GB, free: 36.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007579/2.407, allocations: 3.024 MB / 1.002 GB, free: 33.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001851/2.409, allocations: 383.4 kB / 1.002 GB, free: 33.17 MB / 446.1 MB Notification: Performance of SimCode: time 1.553e-06/2.409, allocations: 0 / 1.002 GB, free: 33.17 MB / 446.1 MB Notification: Performance of Templates: time 0.3738/2.783, allocations: 113.2 MB / 1.113 GB, free: 74.09 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1)