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.001471/0.001476, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.527/1.527, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.001237/0.001237, allocations: 47.92 kB / 278.7 MB, free: 12.31 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2482, allocations: 46.63 MB / 325.3 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01398/0.2622, allocations: 11.74 MB / 337.1 MB, free: 8.137 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009367/0.2716, allocations: 3.915 MB / 341 MB, free: 4.211 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002272/0.274, allocations: 63.81 kB / 341 MB, free: 4.148 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004859/0.2789, allocations: 2.718 MB / 343.7 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005103/0.284, allocations: 1.883 MB / 345.6 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.2854, allocations: 0.5693 MB / 346.2 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005037/0.2904, allocations: 3.746 MB / 349.9 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004561/0.295, allocations: 3.71 MB / 353.7 MB, free: 7.434 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002318/0.2973, allocations: 1.522 MB / 355.2 MB, free: 5.906 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002526/0.2999, allocations: 2.126 MB / 357.3 MB, free: 3.773 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006581/0.3005, allocations: 340 kB / 357.6 MB, free: 3.441 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001964/0.3025, allocations: 1.069 MB / 358.7 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001633/0.3041, allocations: 1.913 MB / 360.6 MB, free: 464 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00235/0.3065, allocations: 2.249 MB / 362.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007367/0.3139, allocations: 6.931 MB / 369.8 MB, free: 7.238 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3139, allocations: 0 / 369.8 MB, free: 7.238 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3139, allocations: 0 / 369.8 MB, free: 7.238 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001394/0.3141, allocations: 0 / 369.8 MB, free: 7.238 MB / 302.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.01748/0.3315, allocations: 5.31 MB / 375.1 MB, free: 1.859 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.3316, allocations: 16.02 kB / 375.1 MB, free: 1.844 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006694/0.3383, allocations: 1.886 MB / 377 MB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005114/0.3434, allocations: 2.346 MB / 379.4 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002109/0.3437, allocations: 234 kB / 379.6 MB, free: 13.31 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007995/0.3445, allocations: 319.7 kB / 379.9 MB, free: 13 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01926/0.3638, allocations: 10.71 MB / 390.6 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.96e-05/0.3639, allocations: 51.52 kB / 390.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004146/0.3643, allocations: 151.9 kB / 390.8 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003483/0.3678, allocations: 1.978 MB / 392.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01858/0.3864, allocations: 9.57 MB / 402.4 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04991/0.4363, allocations: 39.92 MB / 442.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01342/0.4498, allocations: 3.844 MB / 446.1 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002477/0.4523, allocations: 1.848 MB / 448 MB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005692/0.4529, allocations: 360.3 kB / 448.3 MB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.4529, allocations: 47.56 kB / 448.4 MB, free: 6.441 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 3.587e-06/0.4529, allocations: 0 / 448.4 MB, free: 6.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=154): time 0.2324/0.6853, allocations: 13.76 MB / 462.1 MB, free: 108.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.6854, allocations: 144.6 kB / 462.3 MB, free: 108 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00541/0.6908, allocations: 4.162 MB / 466.4 MB, free: 106.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002262/0.6911, allocations: 45.17 kB / 466.5 MB, free: 106.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001501/0.6926, allocations: 3.171 MB / 469.6 MB, free: 104 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005406/0.6931, allocations: 0.6139 MB / 470.3 MB, free: 103.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001182/0.6943, allocations: 1.233 MB / 471.5 MB, free: 103 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.344e-05/0.6944, allocations: 306.3 kB / 471.8 MB, free: 102.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002478/0.6969, allocations: 2.134 MB / 473.9 MB, free: 102 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004525/0.7014, allocations: 5.959 MB / 479.9 MB, free: 96.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008314/0.7097, allocations: 8.78 MB / 488.7 MB, free: 85.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001105/0.7099, allocations: 40 kB / 488.7 MB, free: 85.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01386/0.7238, allocations: 8.57 MB / 497.3 MB, free: 77.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.724, allocations: 64 kB / 497.3 MB, free: 77.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000211/0.7242, allocations: 136 kB / 497.5 MB, free: 77.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00231/0.7265, allocations: 0.9102 MB / 498.4 MB, free: 76.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004227/0.7307, allocations: 1.396 MB / 499.8 MB, free: 74.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005666/0.7364, allocations: 5.209 MB / 0.4931 GB, free: 69.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005338/0.7418, allocations: 327.7 kB / 0.4935 GB, free: 69.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001148/0.743, allocations: 388 kB / 0.4938 GB, free: 68.72 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.004171/0.7472, allocations: 2.105 MB / 0.4959 GB, free: 66.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/0.7482, allocations: 351.3 kB / 0.4962 GB, free: 66.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005915/0.7541, allocations: 3.144 MB / 0.4993 GB, free: 63.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-05/0.7542, allocations: 19.61 kB / 0.4993 GB, free: 63.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.666e-05/0.7542, allocations: 4 kB / 0.4993 GB, free: 63.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.381e-05/0.7543, allocations: 11.97 kB / 0.4993 GB, free: 63.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/0.7699, allocations: 7.819 MB / 0.507 GB, free: 55.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.91e-05/0.7699, allocations: 4 kB / 0.507 GB, free: 55.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/0.7713, allocations: 259.6 kB / 0.5072 GB, free: 54.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002024/0.7733, allocations: 0.7116 MB / 0.5079 GB, free: 54.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002428/0.7736, allocations: 39.97 kB / 0.5079 GB, free: 54.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005226/0.7788, allocations: 4.749 MB / 0.5126 GB, free: 49.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.7789, allocations: 4.031 kB / 0.5126 GB, free: 49.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008699/0.7876, allocations: 5.685 MB / 0.5181 GB, free: 43.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00188/0.7895, allocations: 0.6291 MB / 0.5188 GB, free: 42.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/0.7905, allocations: 27.75 kB / 0.5188 GB, free: 42.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001924/0.7925, allocations: 83.89 kB / 0.5189 GB, free: 42.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003362/0.7928, allocations: 96.8 kB / 0.519 GB, free: 42.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/0.793, allocations: 59.97 kB / 0.519 GB, free: 42.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004932/0.7979, allocations: 2.607 MB / 0.5216 GB, free: 40.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7979, allocations: 0 / 0.5216 GB, free: 40.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.007439/0.8054, allocations: 0.9596 MB / 0.5225 GB, free: 39.11 MB / 382.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.000801/0.8062, allocations: 165.4 kB / 0.5227 GB, free: 38.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009485/0.8157, allocations: 5.731 MB / 0.5282 GB, free: 33.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.8158, allocations: 0 / 0.5282 GB, free: 33.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002271/0.8181, allocations: 1.534 MB / 0.5297 GB, free: 31.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004469/0.8226, allocations: 443.5 kB / 0.5302 GB, free: 31.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/0.8402, allocations: 9.104 MB / 0.5391 GB, free: 22.13 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005172/0.8454, allocations: 3.243 MB / 0.5422 GB, free: 18.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.005081/0.8505, allocations: 1.933 MB / 0.5441 GB, free: 16.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/0.8516, allocations: 271.3 kB / 0.5444 GB, free: 16.64 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.8516, allocations: 0 / 0.5444 GB, free: 16.64 MB / 382.1 MB Notification: Performance of Templates: time 0.07344/0.925, allocations: 37.11 MB / 0.5806 GB, free: 11.55 MB / 414.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)