Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.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.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001541/0.00154, allocations: 181.8 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001136/0.001136, allocations: 86.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.475e-05, allocations: 7.984 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09896/0.09902, allocations: 47.57 MB / 369.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4764/0.5755, allocations: 113.6 MB / 482.7 MB, free: 12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/0.5759, allocations: 86.2 kB / 482.8 MB, free: 11.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7923/1.368, allocations: 128.7 MB / 0.5972 GB, free: 86.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.434e-06/1.368, allocations: 3.938 kB / 0.5972 GB, free: 86.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004891/1.369, allocations: 145.2 kB / 0.5973 GB, free: 86.3 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2390 * Number of variables: 2390 Notification: Performance of Generate backend data structure: time 0.03516/1.404, allocations: 7.132 MB / 0.6043 GB, free: 79.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/1.404, allocations: 15.97 kB / 0.6043 GB, free: 79.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02167/1.426, allocations: 2.778 MB / 0.607 GB, free: 76.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02693/1.453, allocations: 7.537 MB / 0.6144 GB, free: 68.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006199/1.453, allocations: 0.5294 MB / 0.6149 GB, free: 68.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003744/1.457, allocations: 0.7026 MB / 0.6156 GB, free: 67.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05563/1.513, allocations: 17.37 MB / 0.6325 GB, free: 49.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004924/1.513, allocations: 87.28 kB / 0.6326 GB, free: 49.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00354/1.517, allocations: 327.9 kB / 0.6329 GB, free: 48.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003694/1.521, allocations: 1.531 MB / 0.6344 GB, free: 47.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.049/1.57, allocations: 14.54 MB / 0.6486 GB, free: 32.7 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.457/2.027, allocations: 73.77 MB / 0.7207 GB, free: 45.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04072/2.068, allocations: 7.814 MB / 0.7283 GB, free: 45.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007913/2.076, allocations: 3.977 MB / 0.7322 GB, free: 45.19 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.042/2.118, allocations: 16.71 MB / 0.7485 GB, free: 41.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.675e-05/2.118, allocations: 60.59 kB / 0.7486 GB, free: 41.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=275): time 6.883e-06/2.118, allocations: 0 / 0.7486 GB, free: 41.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=349): time 0.1998/2.318, allocations: 39.19 MB / 0.7868 GB, free: 30.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03577/2.353, allocations: 14.85 MB / 0.8013 GB, free: 19.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01218/2.366, allocations: 5.054 MB / 0.8063 GB, free: 15.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001038/2.367, allocations: 77.7 kB / 0.8064 GB, free: 15.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003917/2.371, allocations: 4.607 MB / 0.8109 GB, free: 11.22 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002285/2.373, allocations: 1.304 MB / 0.8121 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001353/2.374, allocations: 183.5 kB / 0.8123 GB, free: 9.895 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007048/2.375, allocations: 0.7047 MB / 0.813 GB, free: 9.289 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01029/2.385, allocations: 4.053 MB / 0.8169 GB, free: 5.648 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01491/2.4, allocations: 9.289 MB / 0.826 GB, free: 10.57 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0162/2.417, allocations: 6.084 MB / 0.832 GB, free: 5.504 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002147/2.417, allocations: 52 kB / 0.832 GB, free: 5.453 MB / 442.7 MB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.06965/2.487, allocations: 17.69 MB / 0.8493 GB, free: 5.219 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001777/2.487, allocations: 85.25 kB / 0.8494 GB, free: 5.137 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003373/2.487, allocations: 187.1 kB / 0.8495 GB, free: 4.957 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03227/2.519, allocations: 4.988 MB / 0.8544 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01393/2.533, allocations: 2.023 MB / 0.8564 GB, free: 13.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4154/2.949, allocations: 37.01 MB / 0.8925 GB, free: 118.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0136/2.963, allocations: 0.553 MB / 0.8931 GB, free: 118.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00288/2.966, allocations: 0.5624 MB / 0.8936 GB, free: 118.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 841 * Number of states: 0 () * Number of discrete variables: 60 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],joint.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1064): * Single equations (assignments): 1053 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 38,(2,100.0%) 23,(3,77.8%) 12,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.004398/2.97, allocations: 0.7995 MB / 0.8944 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001971/2.972, allocations: 0.5315 MB / 0.8949 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05601/3.028, allocations: 10.47 MB / 0.9051 GB, free: 115.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001536/3.028, allocations: 41.98 kB / 0.9052 GB, free: 115.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03769/3.066, allocations: 9.557 MB / 0.9145 GB, free: 112.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.803e-05/3.066, allocations: 26.06 kB / 0.9145 GB, free: 112.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08146/3.148, allocations: 23.6 MB / 0.9376 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.319e-05/3.148, allocations: 5.094 kB / 0.9376 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004809/3.153, allocations: 468.1 kB / 0.938 GB, free: 104.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02244/3.175, allocations: 3.7 MB / 0.9417 GB, free: 103.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001027/3.176, allocations: 66.08 kB / 0.9417 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06053/3.237, allocations: 27.3 MB / 0.9684 GB, free: 83.25 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02808/3.265, allocations: 12.12 MB / 0.9802 GB, free: 72.39 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04606/3.311, allocations: 15.18 MB / 0.995 GB, free: 58.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004719/3.316, allocations: 1.156 MB / 0.9962 GB, free: 57.13 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00191/3.318, allocations: 65.05 kB / 0.9962 GB, free: 57.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006707/3.324, allocations: 228.8 kB / 0.9964 GB, free: 56.85 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00156/3.326, allocations: 254 kB / 0.9967 GB, free: 56.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004828/3.326, allocations: 94.83 kB / 0.9968 GB, free: 56.52 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008822/3.335, allocations: 3.518 MB / 1 GB, free: 52.99 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.363e-06/3.335, allocations: 3 kB / 1 GB, free: 52.99 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01287/3.348, allocations: 2.066 MB / 1.002 GB, free: 50.95 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.phi,joint.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (216): * Single equations (assignments): 208 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(3,100.0%) 35,(3,100.0%) 25} * Non-linear torn systems: 1 {3 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.001705/3.35, allocations: 263 kB / 1.002 GB, free: 50.73 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03064/3.381, allocations: 10.75 MB / 1.013 GB, free: 40.22 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/3.381, allocations: 0 / 1.013 GB, free: 40.22 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009828/3.391, allocations: 4.221 MB / 1.017 GB, free: 35.95 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006814/3.397, allocations: 0.7546 MB / 1.018 GB, free: 35.23 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03786/3.435, allocations: 14.54 MB / 1.032 GB, free: 20.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3478/3.783, allocations: 5.157 MB / 1.037 GB, free: 112.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003101/3.786, allocations: 425 kB / 1.037 GB, free: 112.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.803e-06/3.786, allocations: 1.094 kB / 1.037 GB, free: 112.7 MB / 474.7 MB Notification: Performance of Templates: time 0.9348/4.721, allocations: 247.3 MB / 1.279 GB, free: 90.46 MB / 474.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1)