Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/PlanarMechanics 1.5.1/package.mo", uses=false) Using package PlanarMechanics with version 1.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 173.7 kB / 7.642 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 221.5 MB / 229.6 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000805/0.000805, allocations: 97.55 kB / 280.5 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.0385/0.0385, allocations: 8.828 MB / 340.1 MB, free: 6.395 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.75e-05/1.751e-05, allocations: 1.062 kB / 398.7 MB, free: 47.64 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1153, allocations: 52.38 MB / 451.1 MB, free: 4.543 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4222/0.5375, allocations: 90.12 MB / 0.5285 GB, free: 29.24 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003889/0.538, allocations: 79.31 kB / 0.5286 GB, free: 29.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1487/0.6868, allocations: 62.93 MB / 0.59 GB, free: 11.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6868, allocations: 0 / 0.59 GB, free: 11.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.567e-05/0.6869, allocations: 58.22 kB / 0.5901 GB, free: 11.08 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1168 * Number of variables: 1168 Notification: Performance of Generate backend data structure: time 0.0177/0.7046, allocations: 3.546 MB / 0.5935 GB, free: 8.125 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/0.7047, allocations: 16.02 kB / 0.5936 GB, free: 8.109 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009552/0.7143, allocations: 1.931 MB / 0.5955 GB, free: 6.176 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005609/0.7199, allocations: 1.776 MB / 0.5972 GB, free: 4.824 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/0.7201, allocations: 99.62 kB / 0.5973 GB, free: 4.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001698/0.7218, allocations: 172 kB / 0.5974 GB, free: 4.562 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009329/0.7312, allocations: 5.578 MB / 0.6029 GB, free: 1.039 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01718/0.7484, allocations: 7.349 MB / 0.6101 GB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001154/0.7486, allocations: 27.72 kB / 0.6101 GB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000423/0.749, allocations: 15.94 kB / 0.6101 GB, free: 9.996 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001518/0.7505, allocations: 0.9 MB / 0.611 GB, free: 9.094 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04368/0.7942, allocations: 25.16 MB / 0.6356 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006362/0.8007, allocations: 3.373 MB / 0.6389 GB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002397/0.8031, allocations: 0.9554 MB / 0.6398 GB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009405/0.8126, allocations: 3.848 MB / 0.6435 GB, free: 6.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.841e-05/0.8127, allocations: 43.88 kB / 0.6436 GB, free: 6.539 MB / 410.7 MB Notification: Performance of pre-optimization done (n=144): time 7.114e-06/0.8127, allocations: 3.938 kB / 0.6436 GB, free: 6.535 MB / 410.7 MB Notification: Performance of matching and sorting (n=158): time 0.01672/0.8295, allocations: 5.466 MB / 0.6489 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.8296, allocations: 72.72 kB / 0.649 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006709/0.8363, allocations: 1.88 MB / 0.6508 GB, free: 14.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001554/0.8365, allocations: 25.7 kB / 0.6509 GB, free: 14.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003014/0.8395, allocations: 2.162 MB / 0.653 GB, free: 12.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001034/0.8406, allocations: 0.5665 MB / 0.6535 GB, free: 12.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000493/0.8411, allocations: 0 / 0.6535 GB, free: 12.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000745/0.8419, allocations: 0.5195 MB / 0.654 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002757/0.8446, allocations: 1.246 MB / 0.6552 GB, free: 10.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005348/0.85, allocations: 3.494 MB / 0.6587 GB, free: 5.754 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005181/0.8552, allocations: 2.121 MB / 0.6607 GB, free: 3.629 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001012/0.8554, allocations: 24 kB / 0.6607 GB, free: 3.605 MB / 426.7 MB Notification: Performance of matching and sorting (n=544) (initialization): time 0.01268/0.868, allocations: 4.498 MB / 0.6651 GB, free: 15.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.8682, allocations: 40 kB / 0.6652 GB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001751/0.8684, allocations: 80 kB / 0.6653 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.8695, allocations: 293.6 kB / 0.6655 GB, free: 14.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004794/0.8743, allocations: 0.924 MB / 0.6664 GB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004204/0.8785, allocations: 2.546 MB / 0.6689 GB, free: 11.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003338/0.8819, allocations: 103.9 kB / 0.669 GB, free: 11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009316/0.8828, allocations: 255.9 kB / 0.6693 GB, free: 10.75 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 364 * Number of states: 0 () * Number of discrete variables: 9 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (505): * Single equations (assignments): 499 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00126/0.8841, allocations: 301.2 kB / 0.6696 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000616/0.8847, allocations: 201.4 kB / 0.6697 GB, free: 10.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00431/0.8891, allocations: 1.902 MB / 0.6716 GB, free: 8.328 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001153/0.8892, allocations: 31.98 kB / 0.6716 GB, free: 8.297 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/0.8892, allocations: 4 kB / 0.6716 GB, free: 8.293 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-05/0.8892, allocations: 7.969 kB / 0.6716 GB, free: 8.285 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/0.9012, allocations: 4.735 MB / 0.6763 GB, free: 3.445 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.968e-06/0.9012, allocations: 0 / 0.6763 GB, free: 3.445 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.9022, allocations: 220.1 kB / 0.6765 GB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005103/0.9028, allocations: 157.5 kB / 0.6766 GB, free: 3.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001183/0.9029, allocations: 15.98 kB / 0.6766 GB, free: 3.055 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002578/0.9055, allocations: 2.147 MB / 0.6787 GB, free: 0.793 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.9055, allocations: 4 kB / 0.6787 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004765/0.9103, allocations: 3.038 MB / 0.6817 GB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008562/0.9112, allocations: 274.6 kB / 0.682 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005267/0.9117, allocations: 4 kB / 0.682 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.9128, allocations: 31.94 kB / 0.682 GB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.913, allocations: 89.16 kB / 0.6821 GB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.9131, allocations: 47.92 kB / 0.6821 GB, free: 13.19 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002996/0.9161, allocations: 1.265 MB / 0.6834 GB, free: 11.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.9161, allocations: 0 / 0.6834 GB, free: 11.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004275/0.9204, allocations: 0.6055 MB / 0.684 GB, free: 11.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (prismatic.s,prismatic.v,revolute.phi,revolute.w,engineTorque.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 118 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005389/0.921, allocations: 166.9 kB / 0.6841 GB, free: 11.12 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005537/0.9265, allocations: 3.083 MB / 0.6871 GB, free: 8.023 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.9265, allocations: 0 / 0.6871 GB, free: 8.023 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001585/0.9281, allocations: 1.055 MB / 0.6882 GB, free: 6.938 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/0.9301, allocations: 200.5 kB / 0.6884 GB, free: 6.738 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01648/0.9466, allocations: 5.377 MB / 0.6936 GB, free: 1.301 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.265/1.212, allocations: 2.652 MB / 0.6962 GB, free: 122.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003301/1.215, allocations: 1.179 MB / 0.6974 GB, free: 122.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000408/1.215, allocations: 165.1 kB / 0.6975 GB, free: 122.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.132e-06/1.215, allocations: 0 / 0.6975 GB, free: 122.2 MB / 458.7 MB Notification: Performance of Templates: time 0.03904/1.254, allocations: 19.58 MB / 0.7166 GB, free: 121.6 MB / 458.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.makefile (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestSlipBasedWheel.pipe 2>&1)