Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7029/0.7029, allocations: 110.8 MB / 123.3 MB, free: 10.78 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001537/0.001537, allocations: 151.5 kB / 149.1 MB, free: 0.9883 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.149e-05/2.151e-05, allocations: 4 kB / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04467/0.0447, allocations: 25.17 MB / 205.4 MB, free: 8.438 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2246/0.2694, allocations: 44.31 MB / 249.7 MB, free: 42.57 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.2697, allocations: 75.53 kB / 249.8 MB, free: 42.57 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4848/0.7545, allocations: 132.9 MB / 382.7 MB, free: 49.68 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.7546, allocations: 0 / 382.7 MB, free: 49.68 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0001069/0.7547, allocations: 74.81 kB / 382.8 MB, free: 49.68 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1501 * Number of variables: 1501 Notification: Performance of Generate backend data structure: time 0.01832/0.773, allocations: 5.97 MB / 388.7 MB, free: 45.29 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.7731, allocations: 12.03 kB / 388.7 MB, free: 45.28 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08973/0.8628, allocations: 19.37 MB / 408.1 MB, free: 25.88 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01194/0.8748, allocations: 5.162 MB / 413.3 MB, free: 20.71 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002715/0.8751, allocations: 308.5 kB / 413.6 MB, free: 20.45 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00297/0.8781, allocations: 395.3 kB / 414 MB, free: 20.09 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0268/0.9049, allocations: 14.89 MB / 428.8 MB, free: 4.738 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000148/0.9051, allocations: 35.69 kB / 428.9 MB, free: 4.703 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00172/0.9068, allocations: 183 kB / 429.1 MB, free: 4.543 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1663/1.073, allocations: 7.822 MB / 436.9 MB, free: 41.95 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02728/1.1, allocations: 15.9 MB / 452.8 MB, free: 41.84 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4994/1.6, allocations: 105.2 MB / 0.5449 GB, free: 38.46 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008187/1.608, allocations: 4.668 MB / 0.5494 GB, free: 37.49 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003334/1.612, allocations: 2.638 MB / 0.552 GB, free: 37.36 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006061/1.612, allocations: 0.6501 MB / 0.5526 GB, free: 36.79 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.269e-05/1.612, allocations: 73.75 kB / 0.5527 GB, free: 36.74 MB / 250.7 MB Notification: Performance of pre-optimization done (n=216): time 5.971e-06/1.612, allocations: 0 / 0.5527 GB, free: 36.74 MB / 250.7 MB Notification: Performance of matching and sorting (n=249): time 0.06178/1.674, allocations: 27.46 MB / 0.5795 GB, free: 22.59 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/1.674, allocations: 476.4 kB / 0.58 GB, free: 22.03 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006017/1.68, allocations: 3.787 MB / 0.5837 GB, free: 19 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009726/1.681, allocations: 57.22 kB / 0.5837 GB, free: 18.94 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001496/1.683, allocations: 2.978 MB / 0.5866 GB, free: 16.12 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001204/1.684, allocations: 0.933 MB / 0.5876 GB, free: 15.2 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004577/1.684, allocations: 130.6 kB / 0.5877 GB, free: 15.07 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002782/1.685, allocations: 0.5953 MB / 0.5883 GB, free: 14.47 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004575/1.689, allocations: 3.785 MB / 0.592 GB, free: 10.68 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005958/1.695, allocations: 7.717 MB / 0.5995 GB, free: 1.062 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00693/1.702, allocations: 4.683 MB / 0.6041 GB, free: 12.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-05/1.702, allocations: 41.78 kB / 0.6041 GB, free: 12.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.1683/1.871, allocations: 14.55 MB / 0.6183 GB, free: 58.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001425/1.871, allocations: 64.42 kB / 0.6184 GB, free: 58.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005368/1.871, allocations: 299.9 kB / 0.6187 GB, free: 58.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01388/1.885, allocations: 4.128 MB / 0.6227 GB, free: 58.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005905/1.891, allocations: 1.638 MB / 0.6243 GB, free: 58.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02009/1.911, allocations: 13.75 MB / 0.6377 GB, free: 56.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01227/1.924, allocations: 1.716 MB / 0.6394 GB, free: 56.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002213/1.926, allocations: 0.5666 MB / 0.64 GB, free: 56.7 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 635 * Number of states: 0 () * Number of discrete variables: 15 (ground.fixed.color[3],ground.fixed.color[2],ground.fixed.color[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],wheel1.body.sphereColor[3],wheel1.body.sphereColor[2],wheel1.body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (815): * Single equations (assignments): 796 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(2,100.0%),(3,88.9%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001734/1.928, allocations: 0.6021 MB / 0.6405 GB, free: 56.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001194/1.929, allocations: 354.6 kB / 0.6409 GB, free: 56.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01771/1.947, allocations: 7.101 MB / 0.6478 GB, free: 54.47 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04434/1.991, allocations: 8.925 MB / 0.6565 GB, free: 52.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.289e-05/1.991, allocations: 12 kB / 0.6565 GB, free: 52.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001296/1.991, allocations: 15.55 kB / 0.6566 GB, free: 52.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08716/2.078, allocations: 25.79 MB / 0.6817 GB, free: 37.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.099e-05/2.079, allocations: 10.34 kB / 0.6818 GB, free: 37.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001927/2.08, allocations: 424.3 kB / 0.6822 GB, free: 37.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01267/2.093, allocations: 3.874 MB / 0.6859 GB, free: 33.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008103/2.094, allocations: 133.9 kB / 0.6861 GB, free: 33.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01712/2.111, allocations: 12.76 MB / 0.6985 GB, free: 20.69 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/2.111, allocations: 15.56 kB / 0.6985 GB, free: 20.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1686/2.28, allocations: 15.04 MB / 0.7132 GB, free: 58.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/2.281, allocations: 0.5009 MB / 0.7137 GB, free: 57.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001433/2.283, allocations: 61.23 kB / 0.7138 GB, free: 57.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008765/2.292, allocations: 1.427 MB / 0.7152 GB, free: 57.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001039/2.293, allocations: 211.1 kB / 0.7154 GB, free: 57.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000873/2.294, allocations: 224.1 kB / 0.7156 GB, free: 57.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.004573/2.298, allocations: 2.639 MB / 0.7182 GB, free: 57.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.072e-06/2.298, allocations: 0 / 0.7182 GB, free: 57.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.006773/2.305, allocations: 1.246 MB / 0.7194 GB, free: 57.82 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 8 (wheel1.x,wheel1.y,wheel1.angles[1],wheel1.angles[2],wheel1.angles[3],wheel1.der_angles[1],wheel1.der_angles[2],wheel1.der_angles[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (183): * Single equations (assignments): 165 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(3,88.9%),(2,100.0%),(3,88.9%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,65.6%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007308/2.306, allocations: 203.3 kB / 0.7196 GB, free: 57.73 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Mechanics/MultiBody/Parts.mo:2404:7-2406:80:writable] Warning: Variable $DER.wheel1.der_angles[2] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Mechanics/MultiBody/Parts.mo:2404:7-2406:80:writable] Warning: Variable $DER.wheel1.der_angles[1] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.01493/2.321, allocations: 9.732 MB / 0.7291 GB, free: 56.86 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/2.321, allocations: 0 / 0.7291 GB, free: 56.86 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008681/2.329, allocations: 5.867 MB / 0.7348 GB, free: 54.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002431/2.332, allocations: 373 kB / 0.7352 GB, free: 54.79 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/2.347, allocations: 9.779 MB / 0.7447 GB, free: 51.13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002927/2.35, allocations: 3.327 MB / 0.748 GB, free: 49.86 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.007153/2.357, allocations: 2.605 MB / 0.7505 GB, free: 49.63 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002247/2.36, allocations: 0.5667 MB / 0.7511 GB, free: 49.55 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/2.36, allocations: 0 / 0.7511 GB, free: 49.55 MB / 266.7 MB Notification: Performance of Templates: time 0.2431/2.603, allocations: 74.38 MB / 0.8237 GB, free: 50.32 MB / 266.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1)