Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002744/0.002744, allocations: 187 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.731/3.731, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00177/0.00177, allocations: 102.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006224/0.0006226, allocations: 8 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1899, allocations: 47.58 MB / 374.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.5803/0.7703, allocations: 56.67 MB / 431.2 MB, free: 3.102 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.06969/0.8401, allocations: 13.01 MB / 444.2 MB, free: 6.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02262/0.8628, allocations: 283.3 kB / 444.5 MB, free: 6.312 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01831/0.8811, allocations: 2.819 MB / 447.3 MB, free: 3.48 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05888/0.9401, allocations: 8.092 MB / 455.4 MB, free: 11.37 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007817/0.948, allocations: 0.6202 MB / 456 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01135/0.9594, allocations: 2.501 MB / 458.5 MB, free: 8.242 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02165/0.9811, allocations: 5.782 MB / 464.3 MB, free: 2.391 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005759/0.987, allocations: 1.207 MB / 465.5 MB, free: 1.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006779/0.9938, allocations: 1.612 MB / 467.1 MB, free: 15.56 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002049/0.9959, allocations: 176 kB / 467.3 MB, free: 15.39 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005185/1.001, allocations: 0.7881 MB / 468.1 MB, free: 14.6 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005757/1.007, allocations: 1.843 MB / 469.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003657/1.011, allocations: 1.006 MB / 470.9 MB, free: 11.74 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01913/1.03, allocations: 6.636 MB / 477.6 MB, free: 5.086 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/1.03, allocations: 0 / 477.6 MB, free: 5.086 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.937e-06/1.03, allocations: 0 / 477.6 MB, free: 5.086 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000403/1.031, allocations: 11.94 kB / 477.6 MB, free: 5.074 MB / 346.7 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.05493/1.085, allocations: 5.543 MB / 483.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.307e-05/1.086, allocations: 8.031 kB / 483.1 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02585/1.111, allocations: 2.337 MB / 485.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0157/1.127, allocations: 2.926 MB / 488.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007452/1.128, allocations: 299.8 kB / 488.7 MB, free: 9.828 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003708/1.132, allocations: 403.7 kB / 489.1 MB, free: 9.434 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07009/1.202, allocations: 12.97 MB / 0.4903 GB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004354/1.203, allocations: 47.58 kB / 0.4903 GB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003162/1.206, allocations: 187.8 kB / 0.4905 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01309/1.219, allocations: 2.37 MB / 0.4928 GB, free: 9.102 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06966/1.289, allocations: 11.86 MB / 0.5044 GB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6071/1.896, allocations: 48.61 MB / 0.5519 GB, free: 101.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05818/1.954, allocations: 5.69 MB / 0.5574 GB, free: 101 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001705/1.956, allocations: 381.6 kB / 0.5578 GB, free: 100.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.622e-05/1.956, allocations: 51.62 kB / 0.5579 GB, free: 100.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=221): time 1.183e-05/1.956, allocations: 0 / 0.5579 GB, free: 100.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.2414/2.197, allocations: 28.7 MB / 0.5859 GB, free: 86.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/2.198, allocations: 154.1 kB / 0.586 GB, free: 85.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01842/2.216, allocations: 4.718 MB / 0.5906 GB, free: 81.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001304/2.217, allocations: 61.7 kB / 0.5907 GB, free: 81.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005345/2.223, allocations: 3.474 MB / 0.5941 GB, free: 77.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002905/2.226, allocations: 0.9584 MB / 0.595 GB, free: 76.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001985/2.228, allocations: 136.7 kB / 0.5952 GB, free: 76.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00111/2.229, allocations: 0.6106 MB / 0.5958 GB, free: 76.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01539/2.245, allocations: 3.422 MB / 0.5991 GB, free: 72.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02064/2.265, allocations: 7.463 MB / 0.6064 GB, free: 63.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01924/2.285, allocations: 4.938 MB / 0.6112 GB, free: 58.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000215/2.285, allocations: 40 kB / 0.6112 GB, free: 58.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.05713/2.342, allocations: 11.66 MB / 0.6226 GB, free: 46.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002154/2.342, allocations: 71.98 kB / 0.6227 GB, free: 46.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003699/2.343, allocations: 140.9 kB / 0.6228 GB, free: 46.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008631/2.351, allocations: 1.154 MB / 0.624 GB, free: 45.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02056/2.372, allocations: 1.797 MB / 0.6257 GB, free: 43.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0215/2.394, allocations: 6.131 MB / 0.6317 GB, free: 37.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01559/2.409, allocations: 423.6 kB / 0.6321 GB, free: 36.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003206/2.413, allocations: 471.8 kB / 0.6326 GB, free: 36.4 MB / 410.7 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.01189/2.425, allocations: 2.433 MB / 0.6349 GB, free: 33.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002643/2.427, allocations: 422.5 kB / 0.6353 GB, free: 33.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04885/2.476, allocations: 6.502 MB / 0.6417 GB, free: 27.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.902e-05/2.476, allocations: 31.94 kB / 0.6417 GB, free: 26.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.596e-05/2.476, allocations: 4 kB / 0.6417 GB, free: 26.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.054e-05/2.477, allocations: 11.95 kB / 0.6417 GB, free: 26.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07237/2.549, allocations: 13.56 MB / 0.655 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.049e-05/2.549, allocations: 4 kB / 0.655 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008979/2.558, allocations: 0.5927 MB / 0.6556 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007656/2.566, allocations: 0.9492 MB / 0.6565 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00127/2.567, allocations: 87.89 kB / 0.6566 GB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01736/2.585, allocations: 5.827 MB / 0.6623 GB, free: 5.723 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-05/2.585, allocations: 11.89 kB / 0.6623 GB, free: 5.711 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04322/2.628, allocations: 11.38 MB / 0.6734 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005545/2.633, allocations: 0.9523 MB / 0.6743 GB, free: 9.117 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002514/2.636, allocations: 44 kB / 0.6744 GB, free: 9.074 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007615/2.644, allocations: 180.8 kB / 0.6745 GB, free: 8.898 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002074/2.646, allocations: 197.7 kB / 0.6747 GB, free: 8.707 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001204/2.647, allocations: 116.4 kB / 0.6748 GB, free: 8.594 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01211/2.659, allocations: 2.97 MB / 0.6777 GB, free: 5.625 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.052e-06/2.659, allocations: 0 / 0.6777 GB, free: 5.625 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01526/2.675, allocations: 1.287 MB / 0.679 GB, free: 4.344 MB / 426.7 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.002008/2.677, allocations: 212 kB / 0.6792 GB, free: 4.137 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.03235/2.709, allocations: 8.086 MB / 0.6871 GB, free: 12.06 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-05/2.709, allocations: 0 / 0.6871 GB, free: 12.06 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01334/2.723, allocations: 3.169 MB / 0.6902 GB, free: 8.883 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006587/2.729, allocations: 455.6 kB / 0.6906 GB, free: 8.441 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4966/3.226, allocations: 15.19 MB / 0.7054 GB, free: 145.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01505/3.241, allocations: 3.919 MB / 0.7093 GB, free: 144.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006253/3.247, allocations: 487.2 kB / 0.7097 GB, free: 144.9 MB / 442.7 MB Notification: Performance of SimCode: time 2.455e-06/3.247, allocations: 1.406 kB / 0.7097 GB, free: 144.9 MB / 442.7 MB Notification: Performance of Templates: time 0.2797/3.527, allocations: 95.13 MB / 0.8026 GB, free: 67.2 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1)