Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.MovingActuatedDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001282/0.001282, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.0004935/0.0004938, allocations: 8 kB / 278.9 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2567, allocations: 47.58 MB / 326.4 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.05372/0.3105, allocations: 56.67 MB / 383.1 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03056/0.3411, allocations: 13.02 MB / 396.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01469/0.3558, allocations: 279.3 kB / 396.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01053/0.3664, allocations: 2.823 MB / 399.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02491/0.3913, allocations: 8.1 MB / 407.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003685/0.395, allocations: 0.6241 MB / 408 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005552/0.4006, allocations: 2.499 MB / 410.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009527/0.4102, allocations: 5.772 MB / 416.2 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002735/0.413, allocations: 1.203 MB / 417.4 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003043/0.416, allocations: 1.612 MB / 419 MB, free: 6.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00114/0.4172, allocations: 172 kB / 419.2 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00239/0.4196, allocations: 0.7919 MB / 420 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002822/0.4225, allocations: 1.851 MB / 421.8 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001926/0.4244, allocations: 1.006 MB / 422.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008841/0.4333, allocations: 6.636 MB / 429.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.4333, allocations: 0 / 429.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.4333, allocations: 4 kB / 429.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003872/0.4337, allocations: 0 / 429.5 MB, free: 12.16 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02055/0.4543, allocations: 5.543 MB / 435 MB, free: 6.543 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.4544, allocations: 12.03 kB / 435 MB, free: 6.531 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009051/0.4634, allocations: 2.345 MB / 437.4 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00813/0.4716, allocations: 2.925 MB / 440.3 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003819/0.472, allocations: 303.8 kB / 440.6 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002361/0.4744, allocations: 407.7 kB / 441 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03021/0.5047, allocations: 12.96 MB / 454 MB, free: 2.781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002775/0.505, allocations: 51.53 kB / 454 MB, free: 2.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001607/0.5066, allocations: 183.8 kB / 454.2 MB, free: 2.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004809/0.5114, allocations: 2.378 MB / 456.6 MB, free: 172 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2227/0.7342, allocations: 11.84 MB / 468.4 MB, free: 106.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0551/0.7893, allocations: 48.62 MB / 0.5049 GB, free: 58.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01609/0.8055, allocations: 5.696 MB / 0.5105 GB, free: 52.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006198/0.8061, allocations: 382.4 kB / 0.5109 GB, free: 52.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.8062, allocations: 59.81 kB / 0.5109 GB, free: 52.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=221): time 6.131e-06/0.8062, allocations: 0 / 0.5109 GB, free: 52.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=252): time 0.06737/0.8736, allocations: 28.7 MB / 0.5389 GB, free: 23.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/0.8737, allocations: 150.5 kB / 0.5391 GB, free: 23.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005679/0.8794, allocations: 4.725 MB / 0.5437 GB, free: 18.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008263/0.8802, allocations: 65.7 kB / 0.5438 GB, free: 18.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001837/0.8821, allocations: 3.578 MB / 0.5473 GB, free: 15.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001307/0.8834, allocations: 0.9474 MB / 0.5482 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004012/0.8838, allocations: 140 kB / 0.5483 GB, free: 13.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002928/0.8841, allocations: 0.6034 MB / 0.5489 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004105/0.8882, allocations: 3.422 MB / 0.5522 GB, free: 9.922 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005503/0.8938, allocations: 7.462 MB / 0.5595 GB, free: 468 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00706/0.9008, allocations: 4.942 MB / 0.5644 GB, free: 11.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.984e-05/0.901, allocations: 40 kB / 0.5644 GB, free: 11.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02286/0.9238, allocations: 11.82 MB / 0.5759 GB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.924, allocations: 68 kB / 0.576 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000151/0.9242, allocations: 140 kB / 0.5761 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002787/0.9269, allocations: 1.153 MB / 0.5773 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006892/0.9339, allocations: 1.801 MB / 0.579 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007867/0.9417, allocations: 6.117 MB / 0.585 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006494/0.9483, allocations: 430.9 kB / 0.5854 GB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001452/0.9498, allocations: 463.8 kB / 0.5858 GB, free: 5.352 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 651 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (871): * Single equations (assignments): 867 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004821/0.9546, allocations: 2.447 MB / 0.5882 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009712/0.9556, allocations: 414.7 kB / 0.5886 GB, free: 2.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/0.9663, allocations: 6.501 MB / 0.595 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.873e-05/0.9664, allocations: 28 kB / 0.595 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/0.9664, allocations: 4 kB / 0.595 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.685e-05/0.9664, allocations: 11.95 kB / 0.595 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2056/1.172, allocations: 13.54 MB / 0.6082 GB, free: 138.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.668e-05/1.172, allocations: 6.984 kB / 0.6083 GB, free: 138.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003172/1.175, allocations: 0.5882 MB / 0.6088 GB, free: 138.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002442/1.178, allocations: 0.9435 MB / 0.6097 GB, free: 138.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005352/1.178, allocations: 95.89 kB / 0.6098 GB, free: 138.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007251/1.186, allocations: 5.825 MB / 0.6155 GB, free: 136.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.186, allocations: 7.906 kB / 0.6155 GB, free: 136.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01296/1.199, allocations: 11.38 MB / 0.6266 GB, free: 132.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002262/1.201, allocations: 0.9467 MB / 0.6276 GB, free: 132.1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007141/1.202, allocations: 42.5 kB / 0.6276 GB, free: 132.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002238/1.204, allocations: 181.8 kB / 0.6278 GB, free: 132.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004235/1.204, allocations: 192.7 kB / 0.628 GB, free: 132 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002488/1.205, allocations: 115.3 kB / 0.6281 GB, free: 132 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003654/1.208, allocations: 2.974 MB / 0.631 GB, free: 131 MB / 430.1 MB Notification: Performance of sort global known variables: time 3e-07/1.208, allocations: 0.875 kB / 0.631 GB, free: 131 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00527/1.213, allocations: 1.29 MB / 0.6322 GB, free: 130.9 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.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 (227): * Single equations (assignments): 223 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000535/1.214, allocations: 208.2 kB / 0.6324 GB, free: 130.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009695/1.224, allocations: 8.089 MB / 0.6403 GB, free: 126 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/1.224, allocations: 4 kB / 0.6403 GB, free: 126 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003668/1.227, allocations: 3.16 MB / 0.6434 GB, free: 122.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002546/1.23, allocations: 468.2 kB / 0.6439 GB, free: 122.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01827/1.248, allocations: 14.63 MB / 0.6582 GB, free: 107.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003107/1.251, allocations: 3.911 MB / 0.662 GB, free: 103.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005163/1.257, allocations: 2.402 MB / 0.6643 GB, free: 101.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/1.258, allocations: 435 kB / 0.6647 GB, free: 101.1 MB / 430.1 MB Notification: Performance of SimCode: time 1.663e-06/1.258, allocations: 0 / 0.6647 GB, free: 101.1 MB / 430.1 MB Notification: Performance of Templates: time 0.08227/1.34, allocations: 54.67 MB / 0.7181 GB, free: 46.43 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) Environment - environmentSimulation: