Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001463/0.001463, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00197/0.00197, allocations: 195.3 kB / 16.14 MB, free: 6.715 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.571/1.571, allocations: 205.1 MB / 222 MB, free: 4.98 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.001229/0.001229, allocations: 47.94 kB / 278.1 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3093, allocations: 46.63 MB / 324.7 MB, free: 1.957 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.04692/0.3562, allocations: 50.21 MB / 374.9 MB, free: 1.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02839/0.3847, allocations: 10.34 MB / 385.2 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01462/0.3995, allocations: 211.5 kB / 385.4 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006208/0.4057, allocations: 2.696 MB / 388.1 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007531/0.4133, allocations: 1.767 MB / 389.9 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.415, allocations: 0.5226 MB / 390.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007505/0.4226, allocations: 5.509 MB / 395.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0052/0.4278, allocations: 3.665 MB / 399.6 MB, free: 9.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002349/0.4302, allocations: 1.354 MB / 400.9 MB, free: 7.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002902/0.4331, allocations: 2.255 MB / 403.2 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005808/0.4337, allocations: 244 kB / 403.4 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002195/0.4359, allocations: 1.018 MB / 404.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001862/0.4377, allocations: 1.854 MB / 406.3 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002261/0.44, allocations: 2.147 MB / 408.5 MB, free: 188 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007383/0.4474, allocations: 6.861 MB / 415.3 MB, free: 9.301 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.4475, allocations: 0 / 415.3 MB, free: 9.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4475, allocations: 0 / 415.3 MB, free: 9.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002214/0.4477, allocations: 4 kB / 415.3 MB, free: 9.297 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.01959/0.4673, allocations: 5.31 MB / 420.6 MB, free: 3.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/0.4674, allocations: 8.031 kB / 420.6 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006831/0.4742, allocations: 1.882 MB / 422.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006055/0.4803, allocations: 2.357 MB / 424.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002369/0.4806, allocations: 238 kB / 425.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001319/0.4819, allocations: 311.8 kB / 425.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02184/0.5038, allocations: 10.72 MB / 436.1 MB, free: 3.652 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002392/0.5041, allocations: 35.69 kB / 436.2 MB, free: 3.617 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001588/0.5057, allocations: 151.8 kB / 436.3 MB, free: 3.469 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00397/0.5097, allocations: 1.986 MB / 438.3 MB, free: 1.473 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02306/0.5328, allocations: 9.57 MB / 447.9 MB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3109/0.8437, allocations: 39.91 MB / 487.8 MB, free: 84.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01387/0.8576, allocations: 3.849 MB / 491.6 MB, free: 82.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002459/0.8601, allocations: 1.852 MB / 493.5 MB, free: 81.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006429/0.8608, allocations: 362 kB / 493.8 MB, free: 80.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.644e-05/0.8609, allocations: 50.64 kB / 493.9 MB, free: 80.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 4.919e-06/0.8609, allocations: 0 / 493.9 MB, free: 80.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=154): time 0.04537/0.9063, allocations: 13.75 MB / 0.4957 GB, free: 68.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.9064, allocations: 145 kB / 0.4959 GB, free: 68.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007508/0.9139, allocations: 4.167 MB / 0.5 GB, free: 64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004192/0.9143, allocations: 53.55 kB / 0.5 GB, free: 63.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002255/0.9166, allocations: 3.167 MB / 0.5031 GB, free: 60.78 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009313/0.9176, allocations: 0.6194 MB / 0.5037 GB, free: 60.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002479/0.92, allocations: 1.221 MB / 0.5049 GB, free: 58.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.582e-05/0.9201, allocations: 309.1 kB / 0.5052 GB, free: 58.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003069/0.9232, allocations: 2.128 MB / 0.5073 GB, free: 56.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005417/0.9286, allocations: 5.957 MB / 0.5131 GB, free: 48.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008284/0.9369, allocations: 8.773 MB / 0.5216 GB, free: 37.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001547/0.9371, allocations: 40 kB / 0.5217 GB, free: 37.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01419/0.9513, allocations: 8.581 MB / 0.5301 GB, free: 29.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001485/0.9515, allocations: 63.12 kB / 0.5301 GB, free: 29.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000234/0.9518, allocations: 136 kB / 0.5303 GB, free: 29.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002343/0.9541, allocations: 0.9187 MB / 0.5312 GB, free: 28.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00478/0.9589, allocations: 1.392 MB / 0.5325 GB, free: 26.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005779/0.9647, allocations: 4.874 MB / 0.5373 GB, free: 21.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004903/0.9697, allocations: 323.7 kB / 0.5376 GB, free: 21.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/0.9707, allocations: 380 kB / 0.5379 GB, free: 21.11 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.00451/0.9752, allocations: 2.102 MB / 0.54 GB, free: 19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001064/0.9763, allocations: 355.3 kB / 0.5403 GB, free: 18.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005655/0.9819, allocations: 3.144 MB / 0.5434 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.041e-05/0.982, allocations: 20 kB / 0.5434 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/0.982, allocations: 4 kB / 0.5434 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.672e-05/0.982, allocations: 7.969 kB / 0.5434 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/0.9967, allocations: 7.837 MB / 0.5511 GB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/0.9968, allocations: 4 kB / 0.5511 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/0.9981, allocations: 263.5 kB / 0.5513 GB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001909/1, allocations: 0.7136 MB / 0.552 GB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001595/1, allocations: 35.97 kB / 0.5521 GB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004852/1.005, allocations: 4.424 MB / 0.5564 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.005, allocations: 0 / 0.5564 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008432/1.013, allocations: 5.671 MB / 0.5619 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00189/1.015, allocations: 0.6252 MB / 0.5625 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009756/1.016, allocations: 30.42 kB / 0.5626 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001807/1.018, allocations: 87.89 kB / 0.5627 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003392/1.019, allocations: 92.84 kB / 0.5627 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/1.019, allocations: 51.97 kB / 0.5628 GB, free: 11.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.005648/1.024, allocations: 2.607 MB / 0.5653 GB, free: 8.773 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.81e-07/1.024, allocations: 4.281 kB / 0.5653 GB, free: 8.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.007338/1.032, allocations: 0.9587 MB / 0.5663 GB, free: 7.816 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.0007402/1.033, allocations: 161.7 kB / 0.5664 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009943/1.042, allocations: 5.089 MB / 0.5714 GB, free: 2.582 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/1.043, allocations: 0 / 0.5714 GB, free: 2.582 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002938/1.045, allocations: 1.527 MB / 0.5729 GB, free: 1.043 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004883/1.05, allocations: 425.5 kB / 0.5733 GB, free: 0.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02393/1.074, allocations: 11.04 MB / 0.5841 GB, free: 5.547 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006184/1.081, allocations: 3.239 MB / 0.5872 GB, free: 2.273 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.006363/1.087, allocations: 1.925 MB / 0.5891 GB, free: 348 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/1.088, allocations: 267.3 kB / 0.5894 GB, free: 80 kB / 414.1 MB Notification: Performance of SimCode: time 1.673e-06/1.088, allocations: 0 / 0.5894 GB, free: 80 kB / 414.1 MB Notification: Performance of Templates: time 0.2776/1.366, allocations: 35.75 MB / 0.6243 GB, free: 137.3 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1)