Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.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.UniversalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|joint.phi_a|joint.phi_b|joint.w_a|joint.w_b",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|joint.phi_a|joint.phi_b|joint.w_a|joint.w_b",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00276/0.002766, allocations: 188.9 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.495/3.495, allocations: 205.4 MB / 222.5 MB, free: 13.84 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.001832/0.001832, allocations: 94.84 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006143/0.0006146, allocations: 12 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1452, allocations: 47.58 MB / 374.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.6212/0.7665, allocations: 87.08 MB / 461.6 MB, free: 5.184 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.08567/0.8522, allocations: 20.03 MB / 481.7 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0312/0.8835, allocations: 458.8 kB / 482.1 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02426/0.9079, allocations: 4.409 MB / 486.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.07478/0.9827, allocations: 12.15 MB / 498.7 MB, free: 36 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0142/0.997, allocations: 1.291 MB / 500 MB, free: 14.74 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01811/1.015, allocations: 4.036 MB / 0.4922 GB, free: 10.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03937/1.055, allocations: 10.55 MB / 0.5025 GB, free: 56 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008304/1.063, allocations: 1.896 MB / 0.5043 GB, free: 14.15 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008734/1.072, allocations: 2.278 MB / 0.5066 GB, free: 11.86 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002972/1.075, allocations: 260 kB / 0.5068 GB, free: 11.61 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007982/1.083, allocations: 1.287 MB / 0.5081 GB, free: 10.32 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008468/1.091, allocations: 2.895 MB / 0.5109 GB, free: 7.422 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005139/1.097, allocations: 1.524 MB / 0.5124 GB, free: 5.887 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02807/1.125, allocations: 10.66 MB / 0.5228 GB, free: 11.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/1.125, allocations: 0 / 0.5228 GB, free: 11.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.697e-06/1.125, allocations: 0 / 0.5228 GB, free: 11.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006119/1.126, allocations: 0 / 0.5228 GB, free: 11.2 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: 2676 * Number of variables: 2676 Notification: Performance of Generate backend data structure: time 0.04951/1.175, allocations: 8.016 MB / 0.5306 GB, free: 3.094 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.921e-05/1.175, allocations: 8.031 kB / 0.5306 GB, free: 3.086 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02736/1.203, allocations: 2.719 MB / 0.5333 GB, free: 360 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8243/2.027, allocations: 4.965 MB / 0.5381 GB, free: 129.8 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001086/2.028, allocations: 494.9 kB / 0.5386 GB, free: 129.6 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005199/2.033, allocations: 0.6522 MB / 0.5392 GB, free: 129.5 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09315/2.127, allocations: 19.09 MB / 0.5579 GB, free: 120.8 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006591/2.127, allocations: 66.77 kB / 0.5579 GB, free: 120.8 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004078/2.131, allocations: 294.1 kB / 0.5582 GB, free: 120.6 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0116/2.143, allocations: 3.008 MB / 0.5612 GB, free: 118.2 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0832/2.226, allocations: 16.51 MB / 0.5773 GB, free: 101.8 MB / 410.8 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.2082/2.435, allocations: 70.88 MB / 0.6465 GB, free: 29.74 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06904/2.504, allocations: 9.219 MB / 0.6555 GB, free: 20.38 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07742/2.581, allocations: 20.53 MB / 0.6756 GB, free: 15.36 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001336/2.582, allocations: 64.66 kB / 0.6756 GB, free: 15.29 MB / 426.8 MB Notification: Performance of pre-optimization done (n=322): time 1.708e-05/2.582, allocations: 0 / 0.6756 GB, free: 15.29 MB / 426.8 MB Notification: Performance of matching and sorting (n=380): time 0.8065/3.388, allocations: 45.4 MB / 0.72 GB, free: 123.5 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03657/3.425, allocations: 12.92 MB / 0.7326 GB, free: 114.4 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0231/3.448, allocations: 6.337 MB / 0.7388 GB, free: 110.6 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001751/3.45, allocations: 86.12 kB / 0.7388 GB, free: 110.5 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006612/3.456, allocations: 4.964 MB / 0.7437 GB, free: 105.6 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003967/3.46, allocations: 1.414 MB / 0.7451 GB, free: 104.2 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002616/3.463, allocations: 197.2 kB / 0.7453 GB, free: 104 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0013/3.465, allocations: 0.7239 MB / 0.746 GB, free: 103.3 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01785/3.482, allocations: 4.404 MB / 0.7503 GB, free: 98.84 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02478/3.507, allocations: 9.79 MB / 0.7598 GB, free: 86.56 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0239/3.531, allocations: 6.45 MB / 0.7661 GB, free: 80.13 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002849/3.532, allocations: 56 kB / 0.7662 GB, free: 80.07 MB / 426.8 MB Notification: Performance of matching and sorting (n=1268) (initialization): time 0.1012/3.633, allocations: 17.3 MB / 0.7831 GB, free: 62.69 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002655/3.633, allocations: 88 kB / 0.7832 GB, free: 62.6 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004997/3.634, allocations: 188 kB / 0.7833 GB, free: 62.42 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04142/3.675, allocations: 3.583 MB / 0.7868 GB, free: 58.83 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02033/3.696, allocations: 2.23 MB / 0.789 GB, free: 56.59 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07897/3.775, allocations: 27.71 MB / 0.8161 GB, free: 27.96 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01947/3.794, allocations: 0.6229 MB / 0.8167 GB, free: 27.34 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004191/3.798, allocations: 0.5716 MB / 0.8172 GB, free: 26.77 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 864 * Number of states: 0 () * Number of discrete variables: 66 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslationOfConstraint.color[3],fixedTranslationOfConstraint.color[2],fixedTranslationOfConstraint.color[1],fixedTranslationOfJoint.color[3],fixedTranslationOfJoint.color[2],fixedTranslationOfJoint.color[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1161): * Single equations (assignments): 1144 * Array equations: 10 * 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%) 20,(1,100.0%) 7,(2,100.0%) 24,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.01671/3.815, allocations: 3.572 MB / 0.8207 GB, free: 23.19 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003568/3.819, allocations: 0.5746 MB / 0.8213 GB, free: 22.61 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05546/3.874, allocations: 10.35 MB / 0.8314 GB, free: 12.13 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04758/3.922, allocations: 9.043 MB / 0.8402 GB, free: 2.973 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.5355/4.458, allocations: 8.904 MB / 0.8489 GB, free: 130.5 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000146/4.458, allocations: 18.52 kB / 0.8489 GB, free: 130.5 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1348/4.593, allocations: 24.58 MB / 0.8729 GB, free: 123.2 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001092/4.593, allocations: 5.875 kB / 0.873 GB, free: 123.2 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009286/4.602, allocations: 0.6322 MB / 0.8736 GB, free: 123.1 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02439/4.627, allocations: 2.983 MB / 0.8765 GB, free: 122.6 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001923/4.629, allocations: 74.52 kB / 0.8766 GB, free: 122.5 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07681/4.706, allocations: 21.67 MB / 0.8977 GB, free: 109.6 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01857/4.724, allocations: 6.022 MB / 0.9036 GB, free: 104.5 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06879/4.793, allocations: 15.89 MB / 0.9191 GB, free: 88.64 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008708/4.802, allocations: 1.272 MB / 0.9204 GB, free: 87.67 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003727/4.806, allocations: 67.98 kB / 0.9204 GB, free: 87.6 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01044/4.816, allocations: 274 kB / 0.9207 GB, free: 87.34 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002818/4.819, allocations: 247.6 kB / 0.9209 GB, free: 87.1 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001751/4.821, allocations: 107.7 kB / 0.921 GB, free: 87 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.01521/4.836, allocations: 3.987 MB / 0.9249 GB, free: 83.02 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.293e-06/4.836, allocations: 3.656 kB / 0.9249 GB, free: 83.02 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.02228/4.859, allocations: 2.108 MB / 0.927 GB, free: 80.92 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 8 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],joint.phi_a,joint.phi_b,joint.w_a,joint.w_b) * 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 (290): * Single equations (assignments): 282 * 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 {(4,75.0%) 19,(3,100.0%) 17,(3,100.0%) 8} * Non-linear torn systems: 1 {3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002926/4.862, allocations: 290.8 kB / 0.9273 GB, free: 80.66 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.04109/4.903, allocations: 11.42 MB / 0.9384 GB, free: 69.26 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.461e-05/4.903, allocations: 4 kB / 0.9384 GB, free: 69.26 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01894/4.922, allocations: 4.756 MB / 0.943 GB, free: 64.48 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01009/4.932, allocations: 0.8061 MB / 0.9438 GB, free: 63.69 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0761/5.008, allocations: 21.88 MB / 0.9652 GB, free: 41.69 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01925/5.027, allocations: 5.617 MB / 0.9707 GB, free: 36.04 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005788/5.033, allocations: 479.3 kB / 0.9711 GB, free: 35.57 MB / 442.8 MB Notification: Performance of SimCode: time 1.674e-06/5.033, allocations: 3.938 kB / 0.9712 GB, free: 35.57 MB / 442.8 MB Notification: Performance of Templates: time 1.765/6.798, allocations: 273.1 MB / 1.238 GB, free: 120.8 MB / 474.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1)