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.001324/0.001324, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001208/0.001208, allocations: 193.1 kB / 16.13 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.529/1.529, allocations: 205.1 MB / 222 MB, free: 4.77 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.001947/0.001947, allocations: 51.94 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2906, allocations: 46.62 MB / 324.7 MB, free: 1.949 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.05759/0.3482, allocations: 66.21 MB / 390.9 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03077/0.379, allocations: 13.05 MB / 403.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01772/0.3968, allocations: 279.4 kB / 404.2 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007436/0.4043, allocations: 3.736 MB / 407.9 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005909/0.4103, allocations: 1.977 MB / 409.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.412, allocations: 0.6242 MB / 410.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007421/0.4194, allocations: 6.503 MB / 417 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006058/0.4255, allocations: 4.785 MB / 421.8 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003587/0.4291, allocations: 1.705 MB / 423.5 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004564/0.4337, allocations: 2.753 MB / 426.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001283/0.435, allocations: 312 kB / 426.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00276/0.4378, allocations: 1.1 MB / 427.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002649/0.4405, allocations: 2.248 MB / 429.9 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003663/0.4442, allocations: 2.644 MB / 432.6 MB, free: 7.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01247/0.4567, allocations: 8.228 MB / 440.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.4567, allocations: 3.938 kB / 440.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.4568, allocations: 0 / 440.8 MB, free: 15.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004077/0.4572, allocations: 0 / 440.8 MB, free: 15.56 MB / 382.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.03601/0.4932, allocations: 6.424 MB / 447.2 MB, free: 9.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.902e-05/0.4933, allocations: 16.03 kB / 447.3 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01424/0.5076, allocations: 1.979 MB / 449.2 MB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/0.518, allocations: 2.768 MB / 452 MB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004897/0.5186, allocations: 299.8 kB / 452.3 MB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00255/0.5212, allocations: 403.7 kB / 452.7 MB, free: 3.547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2153/0.7365, allocations: 12.88 MB / 465.6 MB, free: 109.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002306/0.7367, allocations: 47.19 kB / 465.6 MB, free: 109.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001354/0.7381, allocations: 192.7 kB / 465.8 MB, free: 109.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003729/0.7418, allocations: 2.368 MB / 468.2 MB, free: 108.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02061/0.7625, allocations: 11.74 MB / 479.9 MB, free: 98.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05353/0.816, allocations: 48.64 MB / 0.5162 GB, free: 49.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01625/0.8323, allocations: 5.56 MB / 0.5216 GB, free: 43.6 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00366/0.836, allocations: 3.494 MB / 0.525 GB, free: 40.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006156/0.8367, allocations: 380.3 kB / 0.5254 GB, free: 39.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.8367, allocations: 55.81 kB / 0.5254 GB, free: 39.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=221): time 5.08e-06/0.8367, allocations: 0 / 0.5254 GB, free: 39.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=252): time 0.07353/0.9103, allocations: 27.94 MB / 0.5527 GB, free: 11.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.9104, allocations: 158.5 kB / 0.5529 GB, free: 11.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006794/0.9172, allocations: 4.606 MB / 0.5574 GB, free: 6.723 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006992/0.9179, allocations: 65.7 kB / 0.5574 GB, free: 6.652 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001608/0.9195, allocations: 3.586 MB / 0.5609 GB, free: 3.016 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009971/0.9205, allocations: 0.9446 MB / 0.5618 GB, free: 2.059 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001662/0.9222, allocations: 1.502 MB / 0.5633 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.468e-05/0.9222, allocations: 309.1 kB / 0.5636 GB, free: 248 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004727/0.927, allocations: 3.449 MB / 0.567 GB, free: 12.78 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007491/0.9345, allocations: 7.528 MB / 0.5743 GB, free: 3.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0143/0.9488, allocations: 11.82 MB / 0.5859 GB, free: 5.422 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001145/0.949, allocations: 43.94 kB / 0.5859 GB, free: 5.379 MB / 414.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.0196/0.9686, allocations: 11.89 MB / 0.5975 GB, free: 9.473 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.563e-05/0.9687, allocations: 68 kB / 0.5976 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001172/0.9688, allocations: 140 kB / 0.5977 GB, free: 9.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002714/0.9715, allocations: 1.133 MB / 0.5988 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006573/0.9781, allocations: 1.797 MB / 0.6006 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00801/0.9861, allocations: 6.012 MB / 0.6065 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1866/1.173, allocations: 425.8 kB / 0.6069 GB, free: 140.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001983/1.175, allocations: 468.3 kB / 0.6073 GB, free: 140.9 MB / 430.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 (875): * Single equations (assignments): 871 * 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.005182/1.18, allocations: 2.439 MB / 0.6097 GB, free: 140.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009361/1.181, allocations: 426.1 kB / 0.6101 GB, free: 140.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009415/1.19, allocations: 6.475 MB / 0.6164 GB, free: 139 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.838e-05/1.19, allocations: 30.98 kB / 0.6164 GB, free: 139 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/1.19, allocations: 9.109 kB / 0.6165 GB, free: 139 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.063e-05/1.19, allocations: 15.14 kB / 0.6165 GB, free: 139 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01968/1.21, allocations: 13.61 MB / 0.6298 GB, free: 134.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.057e-05/1.21, allocations: 0 / 0.6298 GB, free: 134.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002801/1.213, allocations: 0.578 MB / 0.6303 GB, free: 134.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002447/1.216, allocations: 0.9524 MB / 0.6313 GB, free: 134.1 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002891/1.216, allocations: 91.14 kB / 0.6313 GB, free: 134.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005849/1.222, allocations: 5.714 MB / 0.6369 GB, free: 130 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/1.222, allocations: 10.38 kB / 0.6369 GB, free: 130 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01232/1.234, allocations: 10.92 MB / 0.6476 GB, free: 119.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002003/1.236, allocations: 0.928 MB / 0.6485 GB, free: 118.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007147/1.237, allocations: 48 kB / 0.6485 GB, free: 118.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002203/1.239, allocations: 167.8 kB / 0.6487 GB, free: 118.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005768/1.24, allocations: 197.3 kB / 0.6489 GB, free: 118.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002588/1.24, allocations: 107.9 kB / 0.649 GB, free: 117.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004465/1.244, allocations: 2.895 MB / 0.6518 GB, free: 115.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/1.244, allocations: 0 / 0.6518 GB, free: 115.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006347/1.251, allocations: 1.276 MB / 0.6531 GB, free: 113.8 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (225): * Single equations (assignments): 221 * 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 Backend phase and start with SimCode phase: time 0.0005458/1.251, allocations: 183.9 kB / 0.6532 GB, free: 113.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01065/1.262, allocations: 8.131 MB / 0.6612 GB, free: 105.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.262, allocations: 4 kB / 0.6612 GB, free: 105.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004009/1.266, allocations: 3.17 MB / 0.6643 GB, free: 102.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003634/1.27, allocations: 497.5 kB / 0.6648 GB, free: 101.9 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02315/1.293, allocations: 15.01 MB / 0.6794 GB, free: 86.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003969/1.297, allocations: 3.802 MB / 0.6831 GB, free: 83.06 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005737/1.303, allocations: 2.392 MB / 0.6855 GB, free: 80.66 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001688/1.304, allocations: 439 kB / 0.6859 GB, free: 80.23 MB / 430.1 MB Notification: Performance of SimCode: time 8.72e-07/1.304, allocations: 0 / 0.6859 GB, free: 80.23 MB / 430.1 MB Notification: Performance of Templates: time 0.1012/1.406, allocations: 56.2 MB / 0.7408 GB, free: 24.04 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (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)