Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001055/0.001055, allocations: 190.9 kB / 8.136 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.082/1.082, allocations: 194.2 MB / 202.8 MB, free: 8.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00182/0.00182, allocations: 120.2 kB / 247.7 MB, free: 6.398 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.571e-06/5.601e-06, allocations: 0 / 297.6 MB, free: 8.027 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06874/0.06876, allocations: 44.48 MB / 342.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.206/0.2748, allocations: 95.24 MB / 437.3 MB, free: 104 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001944/0.275, allocations: 81.45 kB / 437.4 MB, free: 64 kB / 314.7 MB Notification: Performance of FrontEnd: time 0.3734/0.6484, allocations: 92.67 MB / 0.5176 GB, free: 69.33 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002028/0.6487, allocations: 106.6 kB / 0.5177 GB, free: 69.33 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1752 * Number of variables: 1752 Notification: Performance of Generate backend data structure: time 0.02238/0.6711, allocations: 5.878 MB / 0.5235 GB, free: 67.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.6711, allocations: 9.594 kB / 0.5235 GB, free: 67.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01707/0.6882, allocations: 4.057 MB / 0.5274 GB, free: 67.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01246/0.7007, allocations: 5.297 MB / 0.5326 GB, free: 66.47 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/0.7009, allocations: 161.8 kB / 0.5328 GB, free: 66.47 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001259/0.7021, allocations: 293 kB / 0.533 GB, free: 66.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01074/0.7129, allocations: 7.85 MB / 0.5407 GB, free: 66.44 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01592/0.7288, allocations: 11.56 MB / 0.552 GB, free: 63.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000163/0.729, allocations: 66.62 kB / 0.5521 GB, free: 63.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000733/0.7298, allocations: 32.41 kB / 0.5521 GB, free: 63.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001354/0.7311, allocations: 1.147 MB / 0.5532 GB, free: 63.54 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05632/0.7875, allocations: 54.68 MB / 0.6066 GB, free: 26.83 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005554/0.7931, allocations: 4.904 MB / 0.6114 GB, free: 24.6 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003774/0.7969, allocations: 3.568 MB / 0.6149 GB, free: 23.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01515/0.812, allocations: 9.911 MB / 0.6246 GB, free: 18.13 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.8121, allocations: 57.53 kB / 0.6246 GB, free: 18.08 MB / 394.7 MB Notification: Performance of pre-optimization done (n=211): time 6.162e-06/0.8121, allocations: 0 / 0.6246 GB, free: 18.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=250): time 0.058/0.8701, allocations: 25.82 MB / 0.6498 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.8702, allocations: 209.9 kB / 0.65 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004858/0.8751, allocations: 3.368 MB / 0.6533 GB, free: 13.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004286/0.8755, allocations: 25.7 kB / 0.6533 GB, free: 13.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001822/0.8774, allocations: 3.258 MB / 0.6565 GB, free: 10.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009989/0.8784, allocations: 0.9196 MB / 0.6574 GB, free: 9.785 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003816/0.8788, allocations: 0 / 0.6574 GB, free: 9.785 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003813/0.8791, allocations: 0.596 MB / 0.658 GB, free: 9.266 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004687/0.8838, allocations: 3.414 MB / 0.6613 GB, free: 6.246 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1084/0.9922, allocations: 7.352 MB / 0.6685 GB, free: 115.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006424/0.9987, allocations: 4.973 MB / 0.6734 GB, free: 115.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.729e-05/0.9988, allocations: 38.84 kB / 0.6734 GB, free: 115.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=901) (initialization): time 0.01943/1.018, allocations: 11.82 MB / 0.685 GB, free: 115.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/1.018, allocations: 10.94 kB / 0.685 GB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001257/1.018, allocations: 140 kB / 0.6851 GB, free: 115.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00641/1.025, allocations: 2.171 MB / 0.6872 GB, free: 115.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006628/1.031, allocations: 1.638 MB / 0.6888 GB, free: 115.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01695/1.048, allocations: 13.92 MB / 0.7024 GB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006499/1.055, allocations: 267.8 kB / 0.7027 GB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001157/1.056, allocations: 449.9 kB / 0.7031 GB, free: 111.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 641 * Number of states: 0 () * Number of discrete variables: 33 (sensor2.torqueColor[3],sensor2.torqueColor[2],sensor2.torqueColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[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],inertia2.cylinderColor[3],inertia2.cylinderColor[2],inertia2.cylinderColor[1],inertia1.cylinderColor[3],inertia1.cylinderColor[2],inertia1.cylinderColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (828): * Single equations (assignments): 822 * Array equations: 3 * 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: 3 {(3,100.0%) 15,(4,100.0%) 21,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001129/1.057, allocations: 457.6 kB / 0.7035 GB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007302/1.058, allocations: 366.5 kB / 0.7039 GB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/1.071, allocations: 7.458 MB / 0.7112 GB, free: 110.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-05/1.071, allocations: 21.75 kB / 0.7112 GB, free: 110.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/1.071, allocations: 13.03 kB / 0.7112 GB, free: 110.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.282e-05/1.071, allocations: 10.64 kB / 0.7112 GB, free: 110.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02321/1.094, allocations: 13.68 MB / 0.7246 GB, free: 106.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/1.094, allocations: 9.25 kB / 0.7246 GB, free: 106.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002789/1.097, allocations: 407.8 kB / 0.725 GB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006303/1.104, allocations: 1.915 MB / 0.7268 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004038/1.104, allocations: 13.33 kB / 0.7269 GB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01674/1.121, allocations: 12.81 MB / 0.7394 GB, free: 98.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.121, allocations: 6.094 kB / 0.7394 GB, free: 98.96 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01692/1.138, allocations: 11.89 MB / 0.751 GB, free: 94.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002143/1.14, allocations: 0.9283 MB / 0.7519 GB, free: 93.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007679/1.141, allocations: 5.797 kB / 0.7519 GB, free: 93.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002443/1.143, allocations: 111.9 kB / 0.752 GB, free: 93.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004661/1.144, allocations: 112.5 kB / 0.7521 GB, free: 93.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002955/1.144, allocations: 69.8 kB / 0.7522 GB, free: 93.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.002982/1.147, allocations: 2.268 MB / 0.7544 GB, free: 93.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005263/1.152, allocations: 1.19 MB / 0.7556 GB, free: 93.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.phi,inertia1.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 187 * Array equations: 3 * 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: 3 {(3,100.0%) 12,(4,100.0%) 18,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000515/1.153, allocations: 161.9 kB / 0.7557 GB, free: 93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0109/1.164, allocations: 8.372 MB / 0.7639 GB, free: 85.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.164, allocations: 0 / 0.7639 GB, free: 85.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004892/1.169, allocations: 3.538 MB / 0.7673 GB, free: 82.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002387/1.171, allocations: 353.7 kB / 0.7677 GB, free: 82.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01804/1.189, allocations: 10.2 MB / 0.7776 GB, free: 73.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005451/1.195, allocations: 4.16 MB / 0.7817 GB, free: 70.18 MB / 410.7 MB Notification: Performance of SimCode: time 9.02e-07/1.195, allocations: 0 / 0.7817 GB, free: 70.18 MB / 410.7 MB Notification: Performance of Templates: time 0.1892/1.384, allocations: 59.14 MB / 0.8394 GB, free: 107.5 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1)