Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001126/0.001126, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001295/0.001295, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0004987/0.0004989, allocations: 8 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2665, allocations: 47.58 MB / 326.4 MB, free: 1.629 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.06454/0.3311, allocations: 69.65 MB / 396.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03681/0.368, allocations: 16.6 MB / 412.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01626/0.3843, allocations: 367.1 kB / 413.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01193/0.3963, allocations: 3.534 MB / 416.6 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03122/0.4275, allocations: 9.931 MB / 426.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005835/0.4334, allocations: 1.295 MB / 427.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.3253/0.7586, allocations: 51.93 MB / 479.7 MB, free: 31.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0143/0.773, allocations: 10.15 MB / 489.9 MB, free: 30.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004148/0.7772, allocations: 1.982 MB / 491.9 MB, free: 29.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003752/0.781, allocations: 2.515 MB / 494.4 MB, free: 28.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001036/0.782, allocations: 251.9 kB / 494.6 MB, free: 27.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002676/0.7847, allocations: 1.274 MB / 495.9 MB, free: 26.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002482/0.7872, allocations: 2.972 MB / 498.9 MB, free: 24.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00187/0.7891, allocations: 1.464 MB / 0.4886 GB, free: 24.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.7992, allocations: 11 MB / 0.4994 GB, free: 14.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7993, allocations: 0 / 0.4994 GB, free: 14.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.7993, allocations: 0 / 0.4994 GB, free: 14.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004978/0.7998, allocations: 0 / 0.4994 GB, free: 14.66 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.02515/0.8249, allocations: 8.228 MB / 0.5074 GB, free: 7.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.825, allocations: 8.031 kB / 0.5074 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3208/1.146, allocations: 27.28 MB / 0.534 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01954/1.165, allocations: 7.566 MB / 0.5414 GB, free: 7.766 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000424/1.166, allocations: 432.3 kB / 0.5418 GB, free: 7.531 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003342/1.169, allocations: 0.5849 MB / 0.5424 GB, free: 7.145 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03956/1.209, allocations: 17.1 MB / 0.5591 GB, free: 9.996 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004822/1.209, allocations: 84.33 kB / 0.5592 GB, free: 9.945 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002554/1.212, allocations: 266.3 kB / 0.5595 GB, free: 9.875 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005777/1.218, allocations: 2.653 MB / 0.562 GB, free: 7.688 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0325/1.25, allocations: 14.67 MB / 0.5764 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4997/1.75, allocations: 64.35 MB / 0.6392 GB, free: 156 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02235/1.772, allocations: 8.847 MB / 0.6479 GB, free: 155.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0298/1.802, allocations: 18.3 MB / 0.6657 GB, free: 148.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/1.802, allocations: 77.72 kB / 0.6658 GB, free: 148.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=281): time 5.249e-06/1.802, allocations: 0 / 0.6658 GB, free: 148.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=374): time 0.2446/2.047, allocations: 74.97 MB / 0.739 GB, free: 76.61 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/2.047, allocations: 376.6 kB / 0.7394 GB, free: 76.16 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00826/2.055, allocations: 6.948 MB / 0.7462 GB, free: 69.22 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001023/2.056, allocations: 83.11 kB / 0.7462 GB, free: 69.14 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002415/2.059, allocations: 4.855 MB / 0.751 GB, free: 64.29 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001489/2.06, allocations: 1.371 MB / 0.7523 GB, free: 62.93 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005108/2.061, allocations: 176 kB / 0.7525 GB, free: 62.76 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000329/2.061, allocations: 0.6821 MB / 0.7532 GB, free: 62.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006029/2.067, allocations: 5.628 MB / 0.7587 GB, free: 56.43 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008093/2.075, allocations: 10.54 MB / 0.769 GB, free: 43.54 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007931/2.083, allocations: 7.528 MB / 0.7763 GB, free: 36.14 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-05/2.083, allocations: 51.95 kB / 0.7764 GB, free: 36.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.03688/2.12, allocations: 21.91 MB / 0.7978 GB, free: 14.23 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/2.12, allocations: 79.98 kB / 0.7978 GB, free: 14.15 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001911/2.121, allocations: 172 kB / 0.798 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01917/2.14, allocations: 6.913 MB / 0.8047 GB, free: 7.051 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007683/2.148, allocations: 2.074 MB / 0.8068 GB, free: 4.973 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2591/2.407, allocations: 35.21 MB / 0.8412 GB, free: 159.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00903/2.416, allocations: 0.7176 MB / 0.8419 GB, free: 159.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001626/2.417, allocations: 0.5091 MB / 0.8424 GB, free: 159 MB / 478.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.006649/2.424, allocations: 3.436 MB / 0.8457 GB, free: 157.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001511/2.426, allocations: 0.6007 MB / 0.8463 GB, free: 157.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02808/2.454, allocations: 16.09 MB / 0.862 GB, free: 148.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.199e-05/2.454, allocations: 44 kB / 0.8621 GB, free: 148.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.809e-05/2.454, allocations: 19.78 kB / 0.8621 GB, free: 148.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.014e-05/2.454, allocations: 23.89 kB / 0.8621 GB, free: 148.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05099/2.505, allocations: 31.47 MB / 0.8928 GB, free: 116.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-05/2.505, allocations: 128 / 0.8928 GB, free: 116.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003216/2.508, allocations: 0.6143 MB / 0.8934 GB, free: 116 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01818/2.526, allocations: 6.571 MB / 0.8998 GB, free: 109.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008429/2.527, allocations: 60 kB / 0.8999 GB, free: 109.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0363/2.564, allocations: 33.48 MB / 0.9326 GB, free: 75.79 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/2.564, allocations: 6.734 kB / 0.9326 GB, free: 75.78 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03399/2.598, allocations: 23.94 MB / 0.956 GB, free: 51.76 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004994/2.603, allocations: 1.663 MB / 0.9576 GB, free: 50.07 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001713/2.604, allocations: 60.78 kB / 0.9577 GB, free: 50.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004876/2.609, allocations: 435.5 kB / 0.9581 GB, free: 49.59 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001071/2.61, allocations: 242.7 kB / 0.9583 GB, free: 49.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003427/2.611, allocations: 97.23 kB / 0.9584 GB, free: 49.26 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006867/2.618, allocations: 4.511 MB / 0.9628 GB, free: 44.76 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.192e-06/2.618, allocations: 3.969 kB / 0.9628 GB, free: 44.76 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.009558/2.627, allocations: 2.235 MB / 0.965 GB, free: 42.54 MB / 478.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.001187/2.628, allocations: 276.5 kB / 0.9653 GB, free: 42.28 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01963/2.648, allocations: 14.2 MB / 0.9791 GB, free: 28.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.417e-06/2.648, allocations: 0 / 0.9791 GB, free: 28.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009246/2.657, allocations: 6.546 MB / 0.9855 GB, free: 21.52 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005238/2.663, allocations: 0.8447 MB / 0.9863 GB, free: 20.69 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2258/2.888, allocations: 22.42 MB / 1.008 GB, free: 164.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006315/2.895, allocations: 5.443 MB / 1.014 GB, free: 163.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.008126/2.903, allocations: 3.043 MB / 1.017 GB, free: 163.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002097/2.905, allocations: 398.4 kB / 1.017 GB, free: 163.5 MB / 478.1 MB Notification: Performance of SimCode: time 1.834e-06/2.905, allocations: 0 / 1.017 GB, free: 163.5 MB / 478.1 MB Notification: Performance of Templates: time 0.1475/3.053, allocations: 103.6 MB / 1.118 GB, free: 67.15 MB / 478.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) Environment - environmentSimulation: