Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001481/0.001481, 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.00167/0.00167, allocations: 177.3 kB / 15.94 MB, free: 228 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.468/1.468, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0005001/0.0005002, allocations: 12 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2353, allocations: 47.58 MB / 326.4 MB, free: 1.656 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.05439/0.2898, allocations: 56.68 MB / 383.1 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03034/0.3202, allocations: 13.01 MB / 396.1 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01495/0.3352, allocations: 287.3 kB / 396.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01094/0.3462, allocations: 2.815 MB / 399.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03284/0.3791, allocations: 8.088 MB / 407.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004455/0.3835, allocations: 0.6241 MB / 407.9 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006055/0.3896, allocations: 2.503 MB / 410.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00979/0.3994, allocations: 5.788 MB / 416.2 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00312/0.4026, allocations: 1.203 MB / 417.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003436/0.4061, allocations: 1.616 MB / 419 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001339/0.4074, allocations: 172 kB / 419.2 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002683/0.4101, allocations: 0.7802 MB / 420 MB, free: 5.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002864/0.413, allocations: 1.851 MB / 421.8 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001888/0.4149, allocations: 1.01 MB / 422.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008499/0.4235, allocations: 6.636 MB / 429.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.4235, allocations: 0 / 429.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4235, allocations: 0 / 429.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003888/0.4239, allocations: 0 / 429.5 MB, free: 12.3 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.02178/0.4457, allocations: 5.547 MB / 435 MB, free: 6.684 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.4458, allocations: 11.97 kB / 435.1 MB, free: 6.672 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009302/0.4551, allocations: 2.337 MB / 437.4 MB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008108/0.4632, allocations: 2.922 MB / 440.3 MB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003946/0.4637, allocations: 303.8 kB / 440.6 MB, free: 1.047 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002106/0.4658, allocations: 403.8 kB / 441 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02812/0.4939, allocations: 12.97 MB / 454 MB, free: 2.934 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002583/0.4942, allocations: 55.52 kB / 454 MB, free: 2.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001452/0.4957, allocations: 191.8 kB / 454.2 MB, free: 2.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004622/0.5003, allocations: 2.37 MB / 456.6 MB, free: 324 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2272/0.7276, allocations: 11.85 MB / 468.4 MB, free: 106.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05557/0.7832, allocations: 48.62 MB / 0.5049 GB, free: 59.13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0166/0.7999, allocations: 5.692 MB / 0.5105 GB, free: 53.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006642/0.8006, allocations: 374.5 kB / 0.5108 GB, free: 52.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.8006, allocations: 67.86 kB / 0.5109 GB, free: 52.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=221): time 6.132e-06/0.8006, allocations: 0 / 0.5109 GB, free: 52.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=252): time 0.06776/0.8684, allocations: 28.7 MB / 0.5389 GB, free: 23.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.8685, allocations: 154.5 kB / 0.5391 GB, free: 23.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005081/0.8736, allocations: 4.72 MB / 0.5437 GB, free: 19.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007165/0.8743, allocations: 65.7 kB / 0.5438 GB, free: 18.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001655/0.876, allocations: 3.582 MB / 0.5473 GB, free: 15.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001192/0.8772, allocations: 0.9435 MB / 0.5482 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003606/0.8776, allocations: 144 kB / 0.5483 GB, free: 14.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002961/0.8779, allocations: 0.5995 MB / 0.5489 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003957/0.8818, allocations: 3.422 MB / 0.5522 GB, free: 10.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005296/0.8872, allocations: 7.462 MB / 0.5595 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006934/0.8941, allocations: 4.94 MB / 0.5643 GB, free: 11.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.597e-05/0.8942, allocations: 44 kB / 0.5644 GB, free: 11.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02161/0.9158, allocations: 11.82 MB / 0.5759 GB, free: 15.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002101/0.9161, allocations: 68 kB / 0.576 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000299/0.9164, allocations: 140 kB / 0.5761 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003045/0.9195, allocations: 1.148 MB / 0.5773 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007148/0.9267, allocations: 1.801 MB / 0.579 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00909/0.9358, allocations: 6.12 MB / 0.585 GB, free: 6.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00821/0.944, allocations: 423.5 kB / 0.5854 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002024/0.9461, allocations: 475.5 kB / 0.5858 GB, free: 5.684 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.00701/0.9531, allocations: 2.447 MB / 0.5882 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001715/0.9549, allocations: 414.7 kB / 0.5886 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/0.9682, allocations: 6.501 MB / 0.595 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.207e-05/0.9683, allocations: 28 kB / 0.595 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.104e-05/0.9684, allocations: 4 kB / 0.595 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.585e-05/0.9684, allocations: 15.89 kB / 0.595 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2159/1.184, allocations: 13.54 MB / 0.6082 GB, free: 138.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.04e-05/1.184, allocations: 5.531 kB / 0.6083 GB, free: 138.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003476/1.188, allocations: 0.588 MB / 0.6088 GB, free: 138.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002522/1.19, allocations: 0.939 MB / 0.6097 GB, free: 138.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006353/1.191, allocations: 93.81 kB / 0.6098 GB, free: 138.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007644/1.199, allocations: 5.823 MB / 0.6155 GB, free: 137 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.199, allocations: 3.5 kB / 0.6155 GB, free: 137 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01416/1.213, allocations: 11.39 MB / 0.6266 GB, free: 132.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002384/1.215, allocations: 0.9443 MB / 0.6276 GB, free: 132.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006973/1.216, allocations: 46 kB / 0.6276 GB, free: 132.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002252/1.218, allocations: 180.6 kB / 0.6278 GB, free: 132.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000442/1.219, allocations: 200.2 kB / 0.628 GB, free: 132.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002521/1.219, allocations: 115 kB / 0.6281 GB, free: 132.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00406/1.223, allocations: 2.975 MB / 0.631 GB, free: 131.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.223, allocations: 0 / 0.631 GB, free: 131.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00632/1.229, allocations: 1.286 MB / 0.6322 GB, free: 131.1 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.0008681/1.23, allocations: 208.3 kB / 0.6324 GB, free: 130.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01104/1.241, allocations: 8.093 MB / 0.6403 GB, free: 126.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/1.241, allocations: 3.938 kB / 0.6404 GB, free: 126.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003809/1.245, allocations: 3.163 MB / 0.6434 GB, free: 123.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/1.248, allocations: 454.1 kB / 0.6439 GB, free: 122.9 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02134/1.269, allocations: 14.64 MB / 0.6582 GB, free: 108.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003768/1.273, allocations: 3.907 MB / 0.662 GB, free: 104.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005845/1.279, allocations: 2.4 MB / 0.6643 GB, free: 102 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001347/1.28, allocations: 431.1 kB / 0.6647 GB, free: 101.6 MB / 430.1 MB Notification: Performance of SimCode: time 1.202e-06/1.28, allocations: 4 kB / 0.6647 GB, free: 101.6 MB / 430.1 MB Notification: Performance of Templates: time 0.08384/1.364, allocations: 54.67 MB / 0.7181 GB, free: 46.93 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) Environment - environmentSimulation: