Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0008967/0.0008968, allocations: 156.2 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.232/1.232, allocations: 170.7 MB / 178.7 MB, free: 7.047 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001566/0.001566, allocations: 100.5 kB / 218 MB, free: 15.35 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.932e-05/2.513e-05, allocations: 8 kB / 262.2 MB, free: 3.066 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2303, allocations: 38.77 MB / 301 MB, free: 39.12 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.111/0.3413, allocations: 91.02 MB / 392 MB, free: 4.602 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.3416, allocations: 83.95 kB / 392.1 MB, free: 4.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4549/0.7965, allocations: 120.3 MB / 0.5004 GB, free: 38.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.7966, allocations: 4 kB / 0.5004 GB, free: 38.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000402/0.797, allocations: 131.6 kB / 0.5006 GB, free: 38.32 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2152 * Number of variables: 2152 Notification: Performance of Generate backend data structure: time 0.02098/0.818, allocations: 6.37 MB / 0.5068 GB, free: 31.89 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.8181, allocations: 12.03 kB / 0.5068 GB, free: 31.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0147/0.8328, allocations: 2.812 MB / 0.5095 GB, free: 29.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01754/0.8503, allocations: 7.776 MB / 0.5171 GB, free: 21.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003415/0.8507, allocations: 204 kB / 0.5173 GB, free: 21.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003616/0.8544, allocations: 387.8 kB / 0.5177 GB, free: 20.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01927/0.8736, allocations: 10.08 MB / 0.5275 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03347/0.9072, allocations: 14.21 MB / 0.5414 GB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005823/0.9078, allocations: 83.19 kB / 0.5415 GB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003397/0.9112, allocations: 40 kB / 0.5415 GB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002819/0.914, allocations: 1.519 MB / 0.543 GB, free: 9.461 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3373/1.251, allocations: 71.16 MB / 0.6125 GB, free: 18.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008558/1.26, allocations: 6.443 MB / 0.6188 GB, free: 17.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005511/1.266, allocations: 4.889 MB / 0.6236 GB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/1.267, allocations: 1.28 MB / 0.6248 GB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00652/1.273, allocations: 4.824 MB / 0.6295 GB, free: 11.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=297): time 5.971e-06/1.273, allocations: 2.938 kB / 0.6295 GB, free: 11.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=388): time 0.09027/1.364, allocations: 39.61 MB / 0.6682 GB, free: 5.465 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.479e-05/1.364, allocations: 167.1 kB / 0.6684 GB, free: 5.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007307/1.371, allocations: 4.07 MB / 0.6723 GB, free: 1.781 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001245/1.372, allocations: 31.8 kB / 0.6724 GB, free: 1.746 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00436/1.377, allocations: 4.296 MB / 0.6766 GB, free: 13.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002521/1.379, allocations: 1.378 MB / 0.6779 GB, free: 12.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004813/1.38, allocations: 0 / 0.6779 GB, free: 12.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0005506/1.38, allocations: 0.6801 MB / 0.6786 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00641/1.387, allocations: 4.439 MB / 0.6829 GB, free: 8.148 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.255/1.642, allocations: 8.999 MB / 0.6917 GB, free: 78.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009823/1.652, allocations: 6.288 MB / 0.6978 GB, free: 78.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001304/1.652, allocations: 47.38 kB / 0.6979 GB, free: 78.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=1136) (initialization): time 0.04265/1.694, allocations: 18.37 MB / 0.7158 GB, free: 77.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000232/1.695, allocations: 105.5 kB / 0.7159 GB, free: 77.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000392/1.695, allocations: 161.6 kB / 0.7161 GB, free: 77.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02142/1.717, allocations: 6.502 MB / 0.7224 GB, free: 77.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007309/1.724, allocations: 1.888 MB / 0.7243 GB, free: 77.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05064/1.775, allocations: 33.86 MB / 0.7573 GB, free: 65.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008155/1.783, allocations: 437.6 kB / 0.7578 GB, free: 65.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002386/1.785, allocations: 0.4971 MB / 0.7583 GB, free: 65.62 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 735 * Number of states: 0 () * Number of discrete variables: 57 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,shape.color[3],shape.color[2],shape.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],wheelSet.wheelSetJoint.revolute2.cylinderColor[3],wheelSet.wheelSetJoint.revolute2.cylinderColor[2],wheelSet.wheelSetJoint.revolute2.cylinderColor[1],wheelSet.wheelSetJoint.revolute1.cylinderColor[3],wheelSet.wheelSetJoint.revolute1.cylinderColor[2],wheelSet.wheelSetJoint.revolute1.cylinderColor[1],wheelSet.wheelSetJoint.rod2.color[3],wheelSet.wheelSetJoint.rod2.color[2],wheelSet.wheelSetJoint.rod2.color[1],wheelSet.wheelSetJoint.revolute.cylinderColor[3],wheelSet.wheelSetJoint.revolute.cylinderColor[2],wheelSet.wheelSetJoint.revolute.cylinderColor[1],wheelSet.wheelSetJoint.prismatic2.boxColor[3],wheelSet.wheelSetJoint.prismatic2.boxColor[2],wheelSet.wheelSetJoint.prismatic2.boxColor[1],wheelSet.wheelSetJoint.prismatic1.boxColor[3],wheelSet.wheelSetJoint.prismatic1.boxColor[2],wheelSet.wheelSetJoint.prismatic1.boxColor[1],wheelSet.wheelSetJoint.rod1.color[3],wheelSet.wheelSetJoint.rod1.color[2],wheelSet.wheelSetJoint.rod1.color[1],wheelSet.wheelSetJoint.fixed.color[3],wheelSet.wheelSetJoint.fixed.color[2],wheelSet.wheelSetJoint.fixed.color[1],wheelSet.body1.sphereColor[3],wheelSet.body1.sphereColor[2],wheelSet.body1.sphereColor[1],wheelSet.body2.sphereColor[3],wheelSet.body2.sphereColor[2],wheelSet.body2.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[1],force.color[3],force.color[2],force.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (972): * Single equations (assignments): 963 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,80.6%) 106,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003638/1.789, allocations: 0.5326 MB / 0.7588 GB, free: 65.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001686/1.791, allocations: 474.5 kB / 0.7592 GB, free: 65.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02936/1.82, allocations: 13.53 MB / 0.7724 GB, free: 55.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-05/1.82, allocations: 42.95 kB / 0.7725 GB, free: 55.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-05/1.82, allocations: 24 kB / 0.7725 GB, free: 55.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.139e-05/1.82, allocations: 17.67 kB / 0.7725 GB, free: 55.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04944/1.87, allocations: 25.38 MB / 0.7973 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.941e-05/1.87, allocations: 4 kB / 0.7973 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002586/1.872, allocations: 0.5385 MB / 0.7978 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0167/1.889, allocations: 6.304 MB / 0.804 GB, free: 27.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001227/1.89, allocations: 26.98 kB / 0.804 GB, free: 27.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.281/2.171, allocations: 32.28 MB / 0.8355 GB, free: 71.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/2.171, allocations: 6.875 kB / 0.8355 GB, free: 71.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0402/2.212, allocations: 19.87 MB / 0.8549 GB, free: 70.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005917/2.218, allocations: 1.316 MB / 0.8562 GB, free: 70.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003198/2.221, allocations: 10.42 kB / 0.8562 GB, free: 70.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005717/2.227, allocations: 288 kB / 0.8565 GB, free: 70.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001794/2.228, allocations: 277.9 kB / 0.8568 GB, free: 70.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008763/2.229, allocations: 99.66 kB / 0.8569 GB, free: 70.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.006534/2.236, allocations: 2.739 MB / 0.8596 GB, free: 70.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/2.236, allocations: 0 / 0.8596 GB, free: 70.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01197/2.248, allocations: 1.71 MB / 0.8612 GB, free: 70.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 7 (wheelSet.x,wheelSet.y,wheelSet.phi,wheelSet.theta1,wheelSet.theta2,wheelSet.der_theta1,wheelSet.der_theta2) * Number of discrete variables: 2 ($whenCondition1,combiTimeTable.nextTimeEvent) * Number of discrete states: 1 (combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 232 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(10,63.0%) 99,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002036/2.25, allocations: 330.4 kB / 0.8615 GB, free: 70.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02115/2.271, allocations: 11.68 MB / 0.8729 GB, free: 67.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/2.271, allocations: 0 / 0.8729 GB, free: 67.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009915/2.281, allocations: 5.603 MB / 0.8784 GB, free: 65.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004159/2.285, allocations: 492.7 kB / 0.8789 GB, free: 65.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03785/2.323, allocations: 14.7 MB / 0.8932 GB, free: 60.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008053/2.331, allocations: 4.875 MB / 0.898 GB, free: 56.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.006415/2.338, allocations: 2.573 MB / 0.9005 GB, free: 55.06 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/2.339, allocations: 328.4 kB / 0.9008 GB, free: 54.76 MB / 378.7 MB Notification: Performance of SimCode: time 1.553e-06/2.339, allocations: 0 / 0.9008 GB, free: 54.76 MB / 378.7 MB Notification: Performance of Templates: time 0.3395/2.678, allocations: 83.86 MB / 0.9827 GB, free: 86.41 MB / 394.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling.pipe 2>&1)