Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.ActuatedDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001542/0.001542, allocations: 195.3 kB / 16.14 MB, free: 6.602 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.538/1.538, allocations: 205.1 MB / 222 MB, free: 4.762 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.001377/0.001378, allocations: 51.94 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2573, allocations: 46.63 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.04184/0.2992, allocations: 50.21 MB / 374.9 MB, free: 1.766 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0264/0.3256, allocations: 10.32 MB / 385.2 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01452/0.3402, allocations: 211.5 kB / 385.4 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005813/0.3461, allocations: 2.712 MB / 388.1 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005361/0.3515, allocations: 1.756 MB / 389.9 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.3529, allocations: 0.5226 MB / 390.4 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006229/0.3592, allocations: 5.505 MB / 395.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004171/0.3633, allocations: 3.669 MB / 399.6 MB, free: 8.945 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002096/0.3655, allocations: 1.351 MB / 400.9 MB, free: 7.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002706/0.3682, allocations: 2.258 MB / 403.2 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00054/0.3687, allocations: 236 kB / 403.4 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001988/0.3707, allocations: 1.022 MB / 404.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0017/0.3724, allocations: 1.854 MB / 406.3 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002122/0.3746, allocations: 2.155 MB / 408.5 MB, free: 44 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007083/0.3817, allocations: 6.849 MB / 415.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3817, allocations: 0 / 415.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3817, allocations: 0 / 415.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001723/0.3819, allocations: 0 / 415.3 MB, free: 9.172 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01836/0.4003, allocations: 5.318 MB / 420.6 MB, free: 3.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.4003, allocations: 8.031 kB / 420.6 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007036/0.4074, allocations: 1.882 MB / 422.5 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007605/0.415, allocations: 2.354 MB / 424.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003236/0.4154, allocations: 234 kB / 425.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001855/0.4173, allocations: 323.7 kB / 425.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02253/0.4398, allocations: 10.72 MB / 436.1 MB, free: 3.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002102/0.4401, allocations: 39.62 kB / 436.2 MB, free: 3.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001193/0.4413, allocations: 151.9 kB / 436.3 MB, free: 3.332 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003565/0.4449, allocations: 1.982 MB / 438.3 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02033/0.4652, allocations: 9.566 MB / 447.9 MB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2469/0.7122, allocations: 39.92 MB / 487.8 MB, free: 84.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01285/0.7251, allocations: 3.839 MB / 491.6 MB, free: 82.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002336/0.7274, allocations: 1.85 MB / 493.5 MB, free: 81.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005943/0.7281, allocations: 358.6 kB / 493.8 MB, free: 80.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.7281, allocations: 50.66 kB / 493.9 MB, free: 80.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 3.947e-06/0.7281, allocations: 0 / 493.9 MB, free: 80.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=154): time 0.04167/0.7698, allocations: 13.76 MB / 0.4957 GB, free: 68.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.7699, allocations: 145.5 kB / 0.4959 GB, free: 68.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006888/0.7768, allocations: 4.169 MB / 0.4999 GB, free: 63.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003555/0.7772, allocations: 49.64 kB / 0.5 GB, free: 63.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001637/0.7788, allocations: 3.165 MB / 0.5031 GB, free: 60.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006985/0.7795, allocations: 0.6153 MB / 0.5037 GB, free: 60.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002079/0.7816, allocations: 1.225 MB / 0.5049 GB, free: 58.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.23e-05/0.7817, allocations: 313.1 kB / 0.5052 GB, free: 58.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002756/0.7845, allocations: 2.128 MB / 0.5073 GB, free: 56.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00444/0.7889, allocations: 5.955 MB / 0.5131 GB, free: 48.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008132/0.7971, allocations: 8.781 MB / 0.5216 GB, free: 37.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001194/0.7972, allocations: 36 kB / 0.5217 GB, free: 37.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01389/0.8111, allocations: 8.588 MB / 0.5301 GB, free: 29.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001619/0.8113, allocations: 63.12 kB / 0.5301 GB, free: 29.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002372/0.8116, allocations: 138.6 kB / 0.5303 GB, free: 28.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0024/0.814, allocations: 0.9144 MB / 0.5312 GB, free: 28.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004452/0.8185, allocations: 1.396 MB / 0.5325 GB, free: 26.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005536/0.824, allocations: 4.863 MB / 0.5373 GB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004684/0.8287, allocations: 331.2 kB / 0.5376 GB, free: 21.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001137/0.8299, allocations: 387.9 kB / 0.538 GB, free: 20.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 620 * Number of states: 0 () * Number of discrete variables: 36 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (740): * Single equations (assignments): 736 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00384/0.8338, allocations: 2.096 MB / 0.54 GB, free: 18.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009102/0.8347, allocations: 359.3 kB / 0.5403 GB, free: 18.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005687/0.8404, allocations: 3.14 MB / 0.5434 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.915e-05/0.8405, allocations: 19.94 kB / 0.5434 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/0.8405, allocations: 7.984 kB / 0.5434 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.089e-05/0.8405, allocations: 3.984 kB / 0.5434 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01488/0.8554, allocations: 7.837 MB / 0.5511 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.8555, allocations: 4 kB / 0.5511 GB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/0.8567, allocations: 263.5 kB / 0.5513 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001926/0.8587, allocations: 0.7136 MB / 0.552 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002284/0.8589, allocations: 39.97 kB / 0.5521 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005125/0.864, allocations: 4.409 MB / 0.5564 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/0.8641, allocations: 7.938 kB / 0.5564 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008462/0.8725, allocations: 5.671 MB / 0.5619 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001729/0.8743, allocations: 0.6213 MB / 0.5625 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008611/0.8752, allocations: 28 kB / 0.5626 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001717/0.8769, allocations: 85.92 kB / 0.5626 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000365/0.8773, allocations: 108.7 kB / 0.5628 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/0.8775, allocations: 47.97 kB / 0.5628 GB, free: 11.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00529/0.8828, allocations: 2.61 MB / 0.5653 GB, free: 8.633 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.8828, allocations: 0 / 0.5653 GB, free: 8.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.006356/0.8892, allocations: 0.9606 MB / 0.5663 GB, free: 7.68 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (123): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005967/0.8898, allocations: 170.5 kB / 0.5664 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008842/0.8986, allocations: 5.066 MB / 0.5714 GB, free: 2.461 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.8987, allocations: 0 / 0.5714 GB, free: 2.461 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002344/0.901, allocations: 1.538 MB / 0.5729 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003562/0.9046, allocations: 421.8 kB / 0.5733 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01938/0.924, allocations: 11.03 MB / 0.5841 GB, free: 5.422 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005287/0.9293, allocations: 3.239 MB / 0.5872 GB, free: 2.148 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.005403/0.9348, allocations: 1.929 MB / 0.5891 GB, free: 216 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/0.9359, allocations: 271.4 kB / 0.5894 GB, free: 15.94 MB / 430.1 MB Notification: Performance of SimCode: time 1.152e-06/0.9359, allocations: 0 / 0.5894 GB, free: 15.94 MB / 430.1 MB Notification: Performance of Templates: time 0.2396/1.176, allocations: 35.76 MB / 0.6243 GB, free: 137.4 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1)