Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000995/0.000995, allocations: 100.1 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.000947/0.0009471, 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.433/1.433, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004383/0.0004383, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2463, allocations: 47.58 MB / 326.4 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.04715/0.2935, allocations: 49.64 MB / 376.1 MB, free: 1.773 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02513/0.3187, allocations: 11.68 MB / 387.8 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009671/0.3284, allocations: 239.4 kB / 388 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007756/0.3362, allocations: 2.461 MB / 390.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02608/0.3623, allocations: 7.157 MB / 397.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00361/0.3659, allocations: 0.6202 MB / 398.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02189/0.3878, allocations: 14.15 MB / 412.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007817/0.3957, allocations: 5.076 MB / 417.5 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002361/0.3981, allocations: 1.133 MB / 418.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002357/0.4005, allocations: 1.491 MB / 420.1 MB, free: 5.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006583/0.4012, allocations: 164 kB / 420.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.4031, allocations: 0.9285 MB / 421.2 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001545/0.4047, allocations: 1.792 MB / 423 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009088/0.4056, allocations: 0.9478 MB / 423.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006173/0.4118, allocations: 6.395 MB / 430.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.4118, allocations: 0 / 430.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4118, allocations: 4 kB / 430.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001872/0.412, allocations: 3.938 kB / 430.3 MB, free: 11.35 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: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.01066/0.4227, allocations: 4.814 MB / 435.1 MB, free: 6.465 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.4227, allocations: 8.031 kB / 435.1 MB, free: 6.457 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02642/0.4491, allocations: 5.126 MB / 440.3 MB, free: 1.316 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007551/0.4567, allocations: 3.077 MB / 443.3 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002305/0.457, allocations: 266.8 kB / 443.6 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00123/0.4582, allocations: 355.7 kB / 444 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02122/0.4795, allocations: 11.71 MB / 455.7 MB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001184/0.4796, allocations: 47.53 kB / 455.7 MB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004575/0.4801, allocations: 171.8 kB / 455.9 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1764/0.6565, allocations: 2.334 MB / 458.2 MB, free: 112.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01944/0.6759, allocations: 9.982 MB / 468.2 MB, free: 108.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04487/0.7209, allocations: 44.42 MB / 0.5006 GB, free: 64.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01178/0.7327, allocations: 5.42 MB / 0.5059 GB, free: 58.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01149/0.7442, allocations: 8.036 MB / 0.5137 GB, free: 50.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.7443, allocations: 67.75 kB / 0.5138 GB, free: 50.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=216): time 4.719e-06/0.7443, allocations: 4 kB / 0.5138 GB, free: 50.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=237): time 0.04507/0.7894, allocations: 20.7 MB / 0.534 GB, free: 29.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.7895, allocations: 176.2 kB / 0.5342 GB, free: 29.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005267/0.7947, allocations: 4.885 MB / 0.539 GB, free: 24.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005011/0.7953, allocations: 57.7 kB / 0.539 GB, free: 24.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001415/0.7967, allocations: 3.422 MB / 0.5424 GB, free: 21.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006451/0.7973, allocations: 0.8861 MB / 0.5432 GB, free: 20.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002484/0.7976, allocations: 132 kB / 0.5433 GB, free: 20.03 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002374/0.7978, allocations: 0.591 MB / 0.5439 GB, free: 19.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003106/0.8009, allocations: 2.566 MB / 0.5464 GB, free: 16.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004171/0.8051, allocations: 6.452 MB / 0.5527 GB, free: 8.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004477/0.8096, allocations: 3.995 MB / 0.5566 GB, free: 4.484 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.608e-05/0.8097, allocations: 44 kB / 0.5567 GB, free: 4.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.01785/0.8275, allocations: 9.635 MB / 0.5661 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.509e-05/0.8277, allocations: 64 kB / 0.5661 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001633/0.8279, allocations: 136 kB / 0.5663 GB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002332/0.8302, allocations: 0.9613 MB / 0.5672 GB, free: 9.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005844/0.836, allocations: 1.579 MB / 0.5688 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008348/0.8444, allocations: 6.273 MB / 0.5749 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005498/0.8499, allocations: 375.5 kB / 0.5752 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001235/0.8512, allocations: 404 kB / 0.5756 GB, free: 0.8828 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 42 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (816): * Single equations (assignments): 810 * Array equations: 5 * 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 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00427/0.8555, allocations: 2.373 MB / 0.5779 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008009/0.8563, allocations: 418.6 kB / 0.5783 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007515/0.8638, allocations: 4.398 MB / 0.5826 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.639e-05/0.8639, allocations: 31.95 kB / 0.5827 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.8639, allocations: 4 kB / 0.5827 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.277e-05/0.8639, allocations: 11.97 kB / 0.5827 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0193/0.8832, allocations: 10.55 MB / 0.593 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.059e-05/0.8833, allocations: 8 kB / 0.593 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002096/0.8854, allocations: 427.4 kB / 0.5934 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002066/0.8875, allocations: 0.7655 MB / 0.5941 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000199/0.8877, allocations: 51.94 kB / 0.5942 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007652/0.8954, allocations: 5.786 MB / 0.5998 GB, free: 7.832 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/0.8954, allocations: 11.94 kB / 0.5999 GB, free: 7.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1953/1.091, allocations: 8.469 MB / 0.6081 GB, free: 141.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002648/1.093, allocations: 0.8279 MB / 0.6089 GB, free: 141.1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006928/1.094, allocations: 46.62 kB / 0.609 GB, free: 141.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/1.096, allocations: 140.2 kB / 0.6091 GB, free: 141.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003994/1.096, allocations: 151.3 kB / 0.6093 GB, free: 141.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001753/1.097, allocations: 65.45 kB / 0.6093 GB, free: 141.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004611/1.101, allocations: 3.139 MB / 0.6124 GB, free: 140.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/1.101, allocations: 0 / 0.6124 GB, free: 140.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005658/1.107, allocations: 1.174 MB / 0.6135 GB, free: 140.5 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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 (198): * Single equations (assignments): 194 * 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 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005727/1.107, allocations: 206.2 kB / 0.6137 GB, free: 140.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007783/1.115, allocations: 6.247 MB / 0.6198 GB, free: 138.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/1.115, allocations: 0 / 0.6198 GB, free: 138.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003069/1.118, allocations: 2.321 MB / 0.6221 GB, free: 137.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/1.121, allocations: 481.5 kB / 0.6226 GB, free: 137.1 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/1.138, allocations: 12.93 MB / 0.6352 GB, free: 130.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003243/1.141, allocations: 3.769 MB / 0.6389 GB, free: 127.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00481/1.146, allocations: 2.221 MB / 0.641 GB, free: 126.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008732/1.147, allocations: 290.2 kB / 0.6413 GB, free: 126.2 MB / 430.1 MB Notification: Performance of SimCode: time 9.22e-07/1.147, allocations: 0 / 0.6413 GB, free: 126.2 MB / 430.1 MB Notification: Performance of Templates: time 0.05984/1.207, allocations: 42.65 MB / 0.683 GB, free: 83.79 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) Environment - environmentSimulation: