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.0008909/0.0008909, allocations: 93.11 kB / 16.3 MB, free: 6.453 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.000905/0.000905, allocations: 185.4 kB / 17.2 MB, free: 6.34 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.489/1.489, allocations: 205.4 MB / 223.3 MB, free: 13.17 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.0004781/0.0004782, allocations: 12 kB / 280.1 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1047, allocations: 47.58 MB / 327.7 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.2879/0.3926, allocations: 69.65 MB / 397.3 MB, free: 8.602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04582/0.4385, allocations: 16.59 MB / 413.9 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01976/0.4583, allocations: 369.5 kB / 414.3 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01523/0.4736, allocations: 3.542 MB / 417.8 MB, free: 4.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0399/0.5135, allocations: 9.934 MB / 427.8 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006642/0.5202, allocations: 1.289 MB / 429.1 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.07858/0.5988, allocations: 51.94 MB / 481 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01775/0.6166, allocations: 10.16 MB / 491.2 MB, free: 2.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005416/0.6221, allocations: 1.978 MB / 493.1 MB, free: 24 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005336/0.6275, allocations: 2.516 MB / 495.7 MB, free: 13.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001935/0.6294, allocations: 248 kB / 495.9 MB, free: 13.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00456/0.634, allocations: 1.264 MB / 497.2 MB, free: 11.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005221/0.6393, allocations: 2.985 MB / 0.4884 GB, free: 9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003589/0.6429, allocations: 1.458 MB / 0.4898 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01478/0.6577, allocations: 11.01 MB / 0.5006 GB, free: 12.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.6577, allocations: 0 / 0.5006 GB, free: 12.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.6577, allocations: 4 kB / 0.5006 GB, free: 12.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005664/0.6583, allocations: 0 / 0.5006 GB, free: 12.5 MB / 414.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.02864/0.687, allocations: 8.222 MB / 0.5086 GB, free: 4.188 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.687, allocations: 12.03 kB / 0.5086 GB, free: 4.176 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.329/1.016, allocations: 27.27 MB / 0.5353 GB, free: 8.859 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02091/1.037, allocations: 7.571 MB / 0.5427 GB, free: 1.215 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000468/1.038, allocations: 431.3 kB / 0.5431 GB, free: 0.793 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002661/1.04, allocations: 0.5816 MB / 0.5436 GB, free: 216 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4264/1.467, allocations: 17.1 MB / 0.5603 GB, free: 159.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000336/1.467, allocations: 79.36 kB / 0.5604 GB, free: 159.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00131/1.468, allocations: 267.2 kB / 0.5607 GB, free: 159.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006113/1.474, allocations: 2.661 MB / 0.5633 GB, free: 158.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03914/1.514, allocations: 14.67 MB / 0.5776 GB, free: 145.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08202/1.596, allocations: 64.35 MB / 0.6404 GB, free: 80.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02117/1.617, allocations: 8.843 MB / 0.6491 GB, free: 71.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02637/1.643, allocations: 18.31 MB / 0.667 GB, free: 53.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/1.643, allocations: 64.52 kB / 0.667 GB, free: 53.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=281): time 6.221e-06/1.643, allocations: 0 / 0.667 GB, free: 53.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=374): time 0.4484/2.092, allocations: 74.98 MB / 0.7402 GB, free: 145.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/2.092, allocations: 379.7 kB / 0.7406 GB, free: 145.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01014/2.102, allocations: 6.949 MB / 0.7474 GB, free: 142.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001304/2.104, allocations: 84.98 kB / 0.7475 GB, free: 142.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003235/2.107, allocations: 4.857 MB / 0.7522 GB, free: 138.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002333/2.109, allocations: 1.368 MB / 0.7536 GB, free: 137.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006943/2.11, allocations: 173.6 kB / 0.7537 GB, free: 137.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005046/2.11, allocations: 0.6828 MB / 0.7544 GB, free: 137.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007469/2.118, allocations: 5.625 MB / 0.7599 GB, free: 135.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00915/2.127, allocations: 10.54 MB / 0.7702 GB, free: 124.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00906/2.136, allocations: 7.537 MB / 0.7775 GB, free: 117.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001031/2.136, allocations: 52 kB / 0.7776 GB, free: 117.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.04256/2.179, allocations: 21.91 MB / 0.799 GB, free: 95.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002863/2.179, allocations: 83.94 kB / 0.7991 GB, free: 95.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000381/2.18, allocations: 168 kB / 0.7992 GB, free: 95.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02035/2.2, allocations: 6.913 MB / 0.806 GB, free: 88.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007783/2.208, allocations: 2.07 MB / 0.808 GB, free: 86.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04331/2.251, allocations: 35.21 MB / 0.8424 GB, free: 50.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009125/2.26, allocations: 0.726 MB / 0.8431 GB, free: 49.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001654/2.262, allocations: 0.5085 MB / 0.8436 GB, free: 49.45 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 779 * 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 (1015): * Single equations (assignments): 1008 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,84.0%) 68,(2,100.0%) 18} * Non-linear torn systems: 1 {2 24} Notification: Performance of prepare postOptimizeDAE: time 0.006788/2.269, allocations: 3.433 MB / 0.8469 GB, free: 46.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001683/2.27, allocations: 0.5823 MB / 0.8475 GB, free: 45.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02745/2.298, allocations: 16.1 MB / 0.8632 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.5e-05/2.298, allocations: 50.58 kB / 0.8633 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-05/2.298, allocations: 16 kB / 0.8633 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.233e-05/2.298, allocations: 15.94 kB / 0.8633 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2839/2.582, allocations: 31.48 MB / 0.894 GB, free: 132.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.243e-05/2.582, allocations: 0 / 0.894 GB, free: 132.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003295/2.586, allocations: 0.6039 MB / 0.8946 GB, free: 132.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01891/2.604, allocations: 6.569 MB / 0.9011 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001025/2.605, allocations: 63.56 kB / 0.9011 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03987/2.645, allocations: 33.48 MB / 0.9338 GB, free: 108.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/2.645, allocations: 0 / 0.9338 GB, free: 108.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03568/2.681, allocations: 23.95 MB / 0.9572 GB, free: 84.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005294/2.686, allocations: 1.659 MB / 0.9588 GB, free: 83.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002066/2.689, allocations: 65.02 kB / 0.9589 GB, free: 83.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00531/2.694, allocations: 436 kB / 0.9593 GB, free: 83.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001035/2.695, allocations: 247.6 kB / 0.9595 GB, free: 82.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003425/2.695, allocations: 93.56 kB / 0.9596 GB, free: 82.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006511/2.702, allocations: 4.515 MB / 0.964 GB, free: 78.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.432e-06/2.702, allocations: 2.875 kB / 0.964 GB, free: 78.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0118/2.714, allocations: 2.226 MB / 0.9662 GB, free: 76.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,84.0%) 62,(2,100.0%) 15} * Non-linear torn systems: 1 {2 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.001469/2.715, allocations: 278.2 kB / 0.9665 GB, free: 75.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01898/2.734, allocations: 14.2 MB / 0.9803 GB, free: 61.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/2.734, allocations: 4 kB / 0.9803 GB, free: 61.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009199/2.743, allocations: 6.548 MB / 0.9867 GB, free: 55.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004834/2.748, allocations: 0.8365 MB / 0.9875 GB, free: 54.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02885/2.777, allocations: 22.44 MB / 1.009 GB, free: 31.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005851/2.783, allocations: 5.432 MB / 1.015 GB, free: 26.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007314/2.79, allocations: 3.052 MB / 1.018 GB, free: 23.31 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001608/2.792, allocations: 391.4 kB / 1.018 GB, free: 22.93 MB / 446.1 MB Notification: Performance of SimCode: time 1.163e-06/2.792, allocations: 0 / 1.018 GB, free: 22.93 MB / 446.1 MB Notification: Performance of Templates: time 0.351/3.143, allocations: 103.5 MB / 1.119 GB, free: 75.38 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: