Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.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.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007792/0.007792, allocations: 100.1 kB / 15.73 MB, free: 6.047 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.001427/0.001427, allocations: 197.8 kB / 16.67 MB, free: 5.977 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.563/1.563, allocations: 205.1 MB / 222.5 MB, free: 4.406 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.001185/0.001185, allocations: 49.67 kB / 326.5 MB, free: 14.47 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1052, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.02289/0.1281, allocations: 19.45 MB / 392.6 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0148/0.143, allocations: 6.28 MB / 398.9 MB, free: 7.477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004494/0.1476, allocations: 151.5 kB / 399 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01167/0.1593, allocations: 6.055 MB / 405.1 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01027/0.1696, allocations: 2.653 MB / 407.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00645/0.1761, allocations: 2.51 MB / 410.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01189/0.188, allocations: 7.074 MB / 417.3 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0124/0.2004, allocations: 8.085 MB / 425.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005526/0.206, allocations: 2.843 MB / 428.3 MB, free: 9.945 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006299/0.2124, allocations: 3.591 MB / 431.9 MB, free: 6.344 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002437/0.2148, allocations: 0.6406 MB / 432.5 MB, free: 5.703 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005649/0.2205, allocations: 2.001 MB / 434.5 MB, free: 3.699 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005386/0.2259, allocations: 3.433 MB / 437.9 MB, free: 264 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007044/0.233, allocations: 3.866 MB / 441.8 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4675/0.7005, allocations: 12.35 MB / 454.1 MB, free: 27.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.7005, allocations: 0.5938 kB / 454.1 MB, free: 27.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.7006, allocations: 1.188 kB / 454.1 MB, free: 27.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005853/0.7011, allocations: 0 / 454.1 MB, free: 27.4 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: 2401 * Number of variables: 2401 Notification: Performance of Generate backend data structure: time 0.03137/0.7325, allocations: 8.431 MB / 462.6 MB, free: 24.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.7326, allocations: 8.969 kB / 462.6 MB, free: 24.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01091/0.7435, allocations: 2.348 MB / 464.9 MB, free: 24.13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01329/0.7569, allocations: 4.451 MB / 469.4 MB, free: 23.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005736/0.7575, allocations: 437.8 kB / 469.8 MB, free: 23.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003413/0.7609, allocations: 0.6734 MB / 470.5 MB, free: 23.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0365/0.7974, allocations: 16.92 MB / 487.4 MB, free: 18.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002518/0.7977, allocations: 59.41 kB / 487.5 MB, free: 18.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009362/0.7987, allocations: 274 kB / 487.7 MB, free: 18.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003302/0.802, allocations: 2.591 MB / 490.3 MB, free: 17.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02786/0.8299, allocations: 14.56 MB / 0.4931 GB, free: 5.762 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.1035/0.9334, allocations: 63.77 MB / 0.5553 GB, free: 5.227 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02341/0.9568, allocations: 7.377 MB / 0.5625 GB, free: 13.72 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005729/0.9626, allocations: 3.812 MB / 0.5663 GB, free: 9.898 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03396/0.9966, allocations: 16.6 MB / 0.5825 GB, free: 8.883 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.466e-05/0.9967, allocations: 64.55 kB / 0.5825 GB, free: 8.812 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 6.673e-06/0.9967, allocations: 0 / 0.5825 GB, free: 8.812 MB / 478.1 MB Notification: Performance of matching and sorting (n=278): time 0.0861/1.083, allocations: 27.6 MB / 0.6095 GB, free: 12.98 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001836/1.085, allocations: 1.696 MB / 0.6111 GB, free: 11.11 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0131/1.098, allocations: 5.882 MB / 0.6169 GB, free: 5.219 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.000991/1.099, allocations: 64.44 kB / 0.6169 GB, free: 5.152 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.004259/1.103, allocations: 4.85 MB / 0.6217 GB, free: 332 kB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.00203/1.105, allocations: 1.082 MB / 0.6227 GB, free: 15.25 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003159/1.108, allocations: 1.838 MB / 0.6245 GB, free: 13.4 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001545/1.109, allocations: 305.1 kB / 0.6248 GB, free: 13.1 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005541/1.114, allocations: 3.422 MB / 0.6282 GB, free: 9.668 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3063/1.42, allocations: 8.867 MB / 0.6368 GB, free: 186.1 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01913/1.44, allocations: 13.27 MB / 0.6498 GB, free: 176.9 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003709/1.44, allocations: 54.91 kB / 0.6498 GB, free: 176.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.03371/1.474, allocations: 14.9 MB / 0.6644 GB, free: 171.8 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001423/1.474, allocations: 90.55 kB / 0.6645 GB, free: 171.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01588/1.49, allocations: 6.79 MB / 0.6711 GB, free: 169.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01369/1.504, allocations: 3.222 MB / 0.6742 GB, free: 169.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007741/1.511, allocations: 2.146 MB / 0.6763 GB, free: 167 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01643/1.528, allocations: 17.03 MB / 0.693 GB, free: 149.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008398/1.536, allocations: 0.5891 MB / 0.6935 GB, free: 148.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001906/1.538, allocations: 0.5351 MB / 0.6941 GB, free: 148.1 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 875 * 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.sphereColor[3],joint.sphereColor[2],joint.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1128): * Single equations (assignments): 1112 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,3,100.0%), (3,3,100.0%), (2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005248/1.543, allocations: 3.245 MB / 0.6972 GB, free: 145 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001111/1.545, allocations: 0.5126 MB / 0.6977 GB, free: 144.7 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/1.555, allocations: 6.565 MB / 0.7041 GB, free: 138.1 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009118/1.565, allocations: 5.66 MB / 0.7097 GB, free: 132.3 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.008608/1.573, allocations: 5.491 MB / 0.715 GB, free: 126.8 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.896e-05/1.573, allocations: 19.95 kB / 0.7151 GB, free: 126.7 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03134/1.605, allocations: 17.48 MB / 0.7321 GB, free: 109.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-05/1.605, allocations: 10.95 kB / 0.7321 GB, free: 109.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002496/1.607, allocations: 0.5117 MB / 0.7326 GB, free: 108.6 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005149/1.612, allocations: 1.844 MB / 0.7344 GB, free: 106.8 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005602/1.613, allocations: 71.95 kB / 0.7345 GB, free: 106.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01037/1.623, allocations: 10.4 MB / 0.7447 GB, free: 95.95 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008298/1.624, allocations: 1.56 MB / 0.7462 GB, free: 94.25 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01558/1.64, allocations: 9.832 MB / 0.7558 GB, free: 84.4 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002099/1.642, allocations: 0.5722 MB / 0.7563 GB, free: 83.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001447/1.644, allocations: 59.98 kB / 0.7564 GB, free: 83.74 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003012/1.647, allocations: 220.8 kB / 0.7566 GB, free: 83.53 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000537/1.647, allocations: 196.6 kB / 0.7568 GB, free: 83.34 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001957/1.647, allocations: 83.98 kB / 0.7569 GB, free: 83.26 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005212/1.653, allocations: 3.664 MB / 0.7605 GB, free: 79.59 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.11e-07/1.653, allocations: 0 / 0.7605 GB, free: 79.59 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0107/1.663, allocations: 1.729 MB / 0.7621 GB, free: 77.88 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],joint.w_rel[1],joint.w_rel[2],joint.w_rel[3],bodyOfConstraint.body.w_a[1],bodyOfConstraint.body.w_a[2],bodyOfConstraint.body.w_a[3],freeMotionScalarInit.derd[1].u,freeMotionScalarInit.derd[2].u,freeMotionScalarInit.derd[3].u) * 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 (233): * Single equations (assignments): 223 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,3,100.0%), (3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001161/1.664, allocations: 277 kB / 0.7624 GB, free: 77.61 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01439/1.679, allocations: 9.233 MB / 0.7714 GB, free: 68.31 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.44e-05/1.679, allocations: 0 / 0.7714 GB, free: 68.31 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005263/1.684, allocations: 3.388 MB / 0.7747 GB, free: 64.83 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009137/1.693, allocations: 0.8747 MB / 0.7756 GB, free: 63.96 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02934/1.723, allocations: 15.25 MB / 0.7905 GB, free: 48.56 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006446/1.729, allocations: 4.873 MB / 0.7952 GB, free: 43.65 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006748/1.736, allocations: 2.907 MB / 0.7981 GB, free: 40.74 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001384/1.737, allocations: 379.3 kB / 0.7984 GB, free: 40.37 MB / 0.5138 GB Notification: Performance of SimCode: time 9.61e-07/1.737, allocations: 0 / 0.7984 GB, free: 40.37 MB / 0.5138 GB Notification: Performance of Templates: time 0.3634/2.101, allocations: 61.05 MB / 0.8581 GB, free: 164.9 MB / 0.5138 GB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe 2>&1)