Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.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.PrismaticConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001114, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001565/0.001564, allocations: 201 kB / 16.26 MB, free: 6.617 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.501/1.501, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.001212/0.001212, allocations: 47.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3036, allocations: 46.63 MB / 324.8 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.08728/0.3909, allocations: 90.21 MB / 415.1 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.05497/0.446, allocations: 17.88 MB / 432.9 MB, free: 7.617 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03118/0.4773, allocations: 406.9 kB / 433.3 MB, free: 7.219 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01285/0.4902, allocations: 6.031 MB / 439.4 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0106/0.5008, allocations: 2.577 MB / 441.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007961/0.5088, allocations: 2.452 MB / 444.4 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01382/0.5227, allocations: 7.143 MB / 451.5 MB, free: 4.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2766/0.7993, allocations: 8.82 MB / 460.4 MB, free: 4.973 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005803/0.8052, allocations: 3.058 MB / 463.4 MB, free: 4.973 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006714/0.8119, allocations: 4.264 MB / 467.7 MB, free: 4.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00273/0.8147, allocations: 0.6965 MB / 468.4 MB, free: 4.965 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006213/0.8209, allocations: 1.998 MB / 470.4 MB, free: 4.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005541/0.8265, allocations: 3.62 MB / 474 MB, free: 4.668 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00738/0.8339, allocations: 4.143 MB / 478.1 MB, free: 3.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01571/0.8496, allocations: 12.87 MB / 491 MB, free: 440 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.697e-06/0.8497, allocations: 3.984 kB / 491 MB, free: 436 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.8497, allocations: 0 / 491 MB, free: 436 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005386/0.8502, allocations: 0 / 491 MB, free: 436 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2584 * Number of variables: 2584 Notification: Performance of Generate backend data structure: time 0.02723/0.8775, allocations: 8.516 MB / 499.5 MB, free: 12.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.8775, allocations: 8.969 kB / 499.5 MB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01091/0.8884, allocations: 2.571 MB / 0.4903 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.013/0.9015, allocations: 4.322 MB / 0.4946 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007301/0.9023, allocations: 460.9 kB / 0.495 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00426/0.9065, allocations: 0.7014 MB / 0.4957 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04489/0.9515, allocations: 18.27 MB / 0.5135 GB, free: 9.113 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002251/0.9517, allocations: 74.95 kB / 0.5136 GB, free: 9.066 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008636/0.9526, allocations: 282.7 kB / 0.5139 GB, free: 8.844 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004185/0.9568, allocations: 3.026 MB / 0.5168 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03466/0.9915, allocations: 15.2 MB / 0.5317 GB, free: 6.891 MB / 430.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.1083/1.1, allocations: 67.04 MB / 0.5971 GB, free: 3.082 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0239/1.124, allocations: 7.946 MB / 0.6049 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005362/1.129, allocations: 3.573 MB / 0.6084 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02505/1.154, allocations: 14.96 MB / 0.623 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.996e-05/1.154, allocations: 56.56 kB / 0.623 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=268): time 6.732e-06/1.154, allocations: 0 / 0.623 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of matching and sorting (n=314): time 0.5064/1.661, allocations: 54.95 MB / 0.6767 GB, free: 132.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.35e-05/1.661, allocations: 162 kB / 0.6769 GB, free: 132.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009232/1.67, allocations: 5.866 MB / 0.6826 GB, free: 127.1 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001047/1.671, allocations: 73.7 kB / 0.6827 GB, free: 127.1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002823/1.674, allocations: 4.98 MB / 0.6875 GB, free: 122.1 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001677/1.676, allocations: 1.192 MB / 0.6887 GB, free: 120.9 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002671/1.679, allocations: 1.817 MB / 0.6905 GB, free: 119.1 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 6.734e-05/1.679, allocations: 305.1 kB / 0.6908 GB, free: 118.8 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005466/1.684, allocations: 4.145 MB / 0.6948 GB, free: 114.6 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009518/1.694, allocations: 9.43 MB / 0.704 GB, free: 102.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01601/1.71, allocations: 14.55 MB / 0.7182 GB, free: 86.28 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001973/1.71, allocations: 52 kB / 0.7183 GB, free: 86.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1187) (initialization): time 0.06971/1.78, allocations: 24.49 MB / 0.7422 GB, free: 62.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001376/1.78, allocations: 87.09 kB / 0.7423 GB, free: 62.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002525/1.78, allocations: 184 kB / 0.7424 GB, free: 62.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0152/1.795, allocations: 5.395 MB / 0.7477 GB, free: 57.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008204/1.804, allocations: 2.08 MB / 0.7497 GB, free: 55.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04087/1.845, allocations: 36.06 MB / 0.785 GB, free: 18.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009089/1.854, allocations: 0.6163 MB / 0.7856 GB, free: 17.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002214/1.856, allocations: 0.5225 MB / 0.7861 GB, free: 17.2 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 846 * Number of states: 0 () * Number of discrete variables: 63 (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],jointPrismatic_y.boxColor[3],jointPrismatic_y.boxColor[2],jointPrismatic_y.boxColor[1],jointPrismatic_x.boxColor[3],jointPrismatic_x.boxColor[2],jointPrismatic_x.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1094): * Single equations (assignments): 1081 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,4,60.0%), (1,3,100.0%), (1,3,100.0%), (4,9,100.0%), (4,9,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.007502/1.863, allocations: 3.398 MB / 0.7894 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001501/1.865, allocations: 0.5283 MB / 0.7899 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05713/1.922, allocations: 17.68 MB / 0.8072 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001277/1.922, allocations: 47.92 kB / 0.8072 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.774e-05/1.922, allocations: 12 kB / 0.8072 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001251/1.922, allocations: 11.95 kB / 0.8072 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3355/2.258, allocations: 28.58 MB / 0.8352 GB, free: 222.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.823e-05/2.258, allocations: 0 / 0.8352 GB, free: 222.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003228/2.261, allocations: 0.5267 MB / 0.8357 GB, free: 222.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01397/2.275, allocations: 5.15 MB / 0.8407 GB, free: 221.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008363/2.276, allocations: 60.86 kB / 0.8408 GB, free: 221.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04144/2.318, allocations: 35.54 MB / 0.8755 GB, free: 196.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/2.318, allocations: 0 / 0.8755 GB, free: 196.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06188/2.38, allocations: 22.66 MB / 0.8976 GB, free: 173.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003944/2.384, allocations: 1.201 MB / 0.8988 GB, free: 172.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001995/2.386, allocations: 48 kB / 0.8988 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004133/2.39, allocations: 309.5 kB / 0.8991 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001088/2.391, allocations: 195.5 kB / 0.8993 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000285/2.391, allocations: 83.98 kB / 0.8994 GB, free: 172.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005963/2.397, allocations: 3.643 MB / 0.9029 GB, free: 168.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.12e-07/2.397, allocations: 0 / 0.9029 GB, free: 168.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009444/2.407, allocations: 1.908 MB / 0.9048 GB, free: 166.6 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (jointPrismatic_x.s,jointPrismatic_x.v,jointPrismatic_y.s,jointPrismatic_y.v,bodyOfConstraint.v_0[2],bodyOfConstraint.v_0[3],bodyOfConstraint.body.frame_a.r_0[2],bodyOfConstraint.body.frame_a.r_0[3]) * 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 (235): * Single equations (assignments): 224 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,6,100.0%), (5,4,60.0%), (2,1,100.0%), (4,9,100.0%), (4,9,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00109/2.408, allocations: 264.1 kB / 0.905 GB, free: 166.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02602/2.434, allocations: 15.14 MB / 0.9198 GB, free: 151.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/2.434, allocations: 0 / 0.9198 GB, free: 151.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01133/2.445, allocations: 5.301 MB / 0.925 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005758/2.451, allocations: 0.8324 MB / 0.9258 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0317/2.483, allocations: 20.85 MB / 0.9462 GB, free: 124.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007393/2.49, allocations: 5.184 MB / 0.9512 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.009154/2.499, allocations: 2.793 MB / 0.954 GB, free: 116.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001401/2.501, allocations: 359.4 kB / 0.9543 GB, free: 116.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.663e-06/2.501, allocations: 0 / 0.9543 GB, free: 116.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.1403/2.641, allocations: 94.29 MB / 1.046 GB, free: 21.86 MB / 0.5294 GB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe 2>&1)