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/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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001112, allocations: 88.59 kB / 16.31 MB, free: 6.453 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.00119/0.001189, allocations: 183.1 kB / 17.21 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.4 MB / 223.4 MB, free: 5.766 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.0004654/0.0004654, allocations: 10.81 kB / 280.1 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2661, allocations: 47.59 MB / 327.7 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.06124/0.3274, allocations: 60.25 MB / 388 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03398/0.3615, allocations: 12.78 MB / 400.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01271/0.3742, allocations: 283.3 kB / 401 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01086/0.3851, allocations: 2.931 MB / 404 MB, free: 7.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.027/0.4122, allocations: 8.584 MB / 412.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004365/0.4166, allocations: 0.6943 MB / 413.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02768/0.4443, allocations: 19.5 MB / 432.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01253/0.4569, allocations: 6.356 MB / 439.1 MB, free: 3.828 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00413/0.4611, allocations: 1.459 MB / 440.6 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004583/0.4657, allocations: 2.38 MB / 442.9 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001435/0.4671, allocations: 176 kB / 443.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003025/0.4702, allocations: 0.9596 MB / 444.1 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00318/0.4734, allocations: 1.979 MB / 446.1 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001951/0.4754, allocations: 0.9752 MB / 447 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008983/0.4844, allocations: 6.796 MB / 453.8 MB, free: 5.062 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.4844, allocations: 4 kB / 453.8 MB, free: 5.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4844, allocations: 0 / 453.8 MB, free: 5.059 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004104/0.4848, allocations: 0 / 453.8 MB, free: 5.059 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: 1755 * Number of variables: 1755 Notification: Performance of Generate backend data structure: time 0.2487/0.7336, allocations: 5.802 MB / 459.6 MB, free: 116.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.7336, allocations: 9.062 kB / 459.6 MB, free: 116.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01495/0.7486, allocations: 2.597 MB / 462.2 MB, free: 116.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009258/0.7579, allocations: 3.075 MB / 465.3 MB, free: 114.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004863/0.7584, allocations: 301.6 kB / 465.6 MB, free: 114.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002449/0.7609, allocations: 404.5 kB / 466 MB, free: 114.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02585/0.7868, allocations: 13.28 MB / 479.3 MB, free: 102.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001332/0.787, allocations: 39.59 kB / 479.3 MB, free: 102.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005266/0.7875, allocations: 192.1 kB / 479.5 MB, free: 102.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003292/0.7908, allocations: 2.196 MB / 481.7 MB, free: 100.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02325/0.8141, allocations: 12.68 MB / 494.4 MB, free: 87.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06067/0.8748, allocations: 49.37 MB / 0.531 GB, free: 37.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02091/0.8957, allocations: 6.46 MB / 0.5373 GB, free: 30.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004564/0.9003, allocations: 3.922 MB / 0.5411 GB, free: 26.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009162/0.9013, allocations: 428 kB / 0.5416 GB, free: 26.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.293e-05/0.9014, allocations: 56.91 kB / 0.5416 GB, free: 26.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=217): time 5.781e-06/0.9014, allocations: 0 / 0.5416 GB, free: 26.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=255): time 0.09848/0.9999, allocations: 36.19 MB / 0.5769 GB, free: 6.055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001599/1, allocations: 205.9 kB / 0.5771 GB, free: 5.809 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009076/1.009, allocations: 4.403 MB / 0.5814 GB, free: 1.379 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00092/1.01, allocations: 65.7 kB / 0.5815 GB, free: 1.309 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00283/1.013, allocations: 3.453 MB / 0.5849 GB, free: 13.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001776/1.015, allocations: 0.9523 MB / 0.5858 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/1.016, allocations: 136 kB / 0.5859 GB, free: 12.71 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0006212/1.016, allocations: 0.6004 MB / 0.5865 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007571/1.024, allocations: 4.312 MB / 0.5907 GB, free: 7.789 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01304/1.037, allocations: 8.22 MB / 0.5988 GB, free: 13.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/1.048, allocations: 5.828 MB / 0.6045 GB, free: 7.824 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001382/1.048, allocations: 43.95 kB / 0.6045 GB, free: 7.781 MB / 430.1 MB Notification: Performance of matching and sorting (n=903) (initialization): time 0.2679/1.316, allocations: 14.73 MB / 0.6189 GB, free: 141.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001082/1.316, allocations: 64.47 kB / 0.6189 GB, free: 141.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002309/1.316, allocations: 137.6 kB / 0.6191 GB, free: 141.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005895/1.322, allocations: 2.465 MB / 0.6215 GB, free: 141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006775/1.329, allocations: 1.793 MB / 0.6232 GB, free: 141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01729/1.346, allocations: 15.84 MB / 0.6387 GB, free: 132.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00708/1.354, allocations: 473.5 kB / 0.6391 GB, free: 132.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001615/1.355, allocations: 0.4974 MB / 0.6396 GB, free: 132.4 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * Number of states: 0 () * Number of discrete variables: 36 (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.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (830): * Single equations (assignments): 824 * 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 {(2,100.0%) 16,(4,100.0%) 21,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005175/1.36, allocations: 2.39 MB / 0.642 GB, free: 131.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001544/1.362, allocations: 395.7 kB / 0.6423 GB, free: 131.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01409/1.376, allocations: 9.667 MB / 0.6518 GB, free: 121.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.82e-05/1.376, allocations: 28.89 kB / 0.6518 GB, free: 121.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-05/1.376, allocations: 12 kB / 0.6518 GB, free: 121.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.086e-05/1.376, allocations: 11.95 kB / 0.6518 GB, free: 121.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02801/1.404, allocations: 18.15 MB / 0.6696 GB, free: 103.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.112e-05/1.404, allocations: 4 kB / 0.6696 GB, free: 103.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002819/1.407, allocations: 0.5889 MB / 0.6701 GB, free: 102.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005098/1.412, allocations: 2.237 MB / 0.6723 GB, free: 100.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005387/1.413, allocations: 124.6 kB / 0.6724 GB, free: 100.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0149/1.428, allocations: 14.55 MB / 0.6867 GB, free: 85.64 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.428, allocations: 3.953 kB / 0.6867 GB, free: 85.63 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02046/1.448, allocations: 15.17 MB / 0.7015 GB, free: 70.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003001/1.451, allocations: 1.058 MB / 0.7025 GB, free: 69.51 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001801/1.453, allocations: 48.53 kB / 0.7025 GB, free: 69.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003513/1.457, allocations: 224.3 kB / 0.7028 GB, free: 69.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008329/1.458, allocations: 238.4 kB / 0.703 GB, free: 69.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005587/1.458, allocations: 151.8 kB / 0.7031 GB, free: 68.86 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.005281/1.463, allocations: 2.764 MB / 0.7058 GB, free: 66.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.463, allocations: 0 / 0.7058 GB, free: 66.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.008233/1.472, allocations: 1.434 MB / 0.7072 GB, free: 64.66 MB / 430.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 192 * 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.001064/1.473, allocations: 195.5 kB / 0.7074 GB, free: 64.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01528/1.488, allocations: 10.37 MB / 0.7175 GB, free: 54.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.488, allocations: 4.031 kB / 0.7175 GB, free: 54.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006887/1.495, allocations: 4.623 MB / 0.7221 GB, free: 49.44 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00669/1.502, allocations: 479.1 kB / 0.7225 GB, free: 48.97 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.025/1.527, allocations: 15.3 MB / 0.7375 GB, free: 33.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005569/1.532, allocations: 3.752 MB / 0.7411 GB, free: 29.85 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005975/1.538, allocations: 2.395 MB / 0.7435 GB, free: 27.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001959/1.54, allocations: 0.5339 MB / 0.744 GB, free: 26.91 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/1.54, allocations: 0 / 0.744 GB, free: 26.91 MB / 430.1 MB Notification: Performance of Templates: time 0.335/1.875, allocations: 74.23 MB / 0.8165 GB, free: 103.6 MB / 430.1 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)