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.0008938/0.0008938, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006427/0.006427, allocations: 170 kB / 16.26 MB, free: 6.613 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.618/1.618, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0005123/0.0005124, allocations: 20 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2513, allocations: 47.58 MB / 327 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint): time 0.09009/0.3414, allocations: 88.04 MB / 415.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04628/0.3877, allocations: 17.93 MB / 433 MB, free: 9.016 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02325/0.411, allocations: 406.9 kB / 433.4 MB, free: 8.617 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003499/0.4146, allocations: 0.7343 MB / 434.1 MB, free: 7.879 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008937/0.4236, allocations: 2.627 MB / 436.8 MB, free: 5.242 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003721/0.4273, allocations: 1.174 MB / 437.9 MB, free: 4.066 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01376/0.4411, allocations: 10.31 MB / 448.2 MB, free: 9.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2576/0.6987, allocations: 11.05 MB / 459.3 MB, free: 6.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006319/0.7051, allocations: 2.049 MB / 461.3 MB, free: 6.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00717/0.7123, allocations: 3.34 MB / 464.7 MB, free: 6.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00184/0.7142, allocations: 259.1 kB / 464.9 MB, free: 6.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004674/0.7189, allocations: 1.629 MB / 466.6 MB, free: 6.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005089/0.724, allocations: 3.046 MB / 469.6 MB, free: 6.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006363/0.7304, allocations: 3.491 MB / 473.1 MB, free: 4.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01417/0.7446, allocations: 12.18 MB / 485.3 MB, free: 1.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7446, allocations: 1.469 kB / 485.3 MB, free: 1.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.7446, allocations: 3.656 kB / 485.3 MB, free: 1.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005316/0.7452, allocations: 0 / 485.3 MB, free: 1.34 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: 2584 * Number of variables: 2584 Notification: Performance of Generate backend data structure: time 0.02163/0.7668, allocations: 6.904 MB / 492.2 MB, free: 13.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.7669, allocations: 9.469 kB / 492.2 MB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01132/0.7782, allocations: 2.617 MB / 494.8 MB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01062/0.7889, allocations: 4.324 MB / 499.2 MB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003557/0.7893, allocations: 467.4 kB / 499.6 MB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002549/0.7919, allocations: 0.7009 MB / 0.4886 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03783/0.8297, allocations: 18.32 MB / 0.5065 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002526/0.83, allocations: 63.02 kB / 0.5065 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001035/0.831, allocations: 281.8 kB / 0.5068 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004581/0.8356, allocations: 3.033 MB / 0.5098 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03866/0.8743, allocations: 15.24 MB / 0.5246 GB, free: 1.32 MB / 414.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.1014/0.9757, allocations: 67 MB / 0.5901 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02486/1.001, allocations: 8.01 MB / 0.5979 GB, free: 5.402 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005514/1.006, allocations: 3.575 MB / 0.6014 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02512/1.031, allocations: 14.97 MB / 0.616 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.218e-05/1.031, allocations: 64.56 kB / 0.6161 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=268): time 6.563e-06/1.031, allocations: 0 / 0.6161 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=314): time 0.4594/1.491, allocations: 54.82 MB / 0.6696 GB, free: 225.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/1.491, allocations: 158.5 kB / 0.6698 GB, free: 225.4 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00917/1.5, allocations: 5.856 MB / 0.6755 GB, free: 219.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001028/1.501, allocations: 70.64 kB / 0.6755 GB, free: 219.4 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002859/1.504, allocations: 4.992 MB / 0.6804 GB, free: 214.4 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001743/1.506, allocations: 1.193 MB / 0.6816 GB, free: 213.2 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/1.507, allocations: 0.7771 MB / 0.6823 GB, free: 212.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.728e-05/1.507, allocations: 309.1 kB / 0.6826 GB, free: 212.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005451/1.512, allocations: 4.141 MB / 0.6867 GB, free: 208 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007487/1.52, allocations: 9.422 MB / 0.6959 GB, free: 196.1 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01409/1.534, allocations: 14.55 MB / 0.7101 GB, free: 178.9 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001496/1.534, allocations: 52 kB / 0.7101 GB, free: 178.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1187) (initialization): time 0.07301/1.607, allocations: 24.49 MB / 0.7341 GB, free: 154.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/1.607, allocations: 91.12 kB / 0.7341 GB, free: 154.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001797/1.608, allocations: 184 kB / 0.7343 GB, free: 154 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01501/1.623, allocations: 5.375 MB / 0.7396 GB, free: 148.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009535/1.632, allocations: 2.082 MB / 0.7416 GB, free: 146.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04052/1.673, allocations: 33.31 MB / 0.7741 GB, free: 112.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008666/1.682, allocations: 0.613 MB / 0.7747 GB, free: 111.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001733/1.683, allocations: 0.5246 MB / 0.7752 GB, free: 111.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.007292/1.691, allocations: 3.397 MB / 0.7786 GB, free: 107.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001562/1.692, allocations: 0.5283 MB / 0.7791 GB, free: 107.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06077/1.753, allocations: 17.68 MB / 0.7963 GB, free: 89.42 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.98e-05/1.753, allocations: 45.02 kB / 0.7964 GB, free: 89.38 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.383e-05/1.753, allocations: 8.188 kB / 0.7964 GB, free: 89.37 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001032/1.753, allocations: 15.95 kB / 0.7964 GB, free: 89.35 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07868/1.832, allocations: 28.59 MB / 0.8243 GB, free: 60.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.305e-05/1.832, allocations: 3.938 kB / 0.8243 GB, free: 60.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00358/1.836, allocations: 0.5149 MB / 0.8248 GB, free: 59.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01468/1.85, allocations: 5.15 MB / 0.8299 GB, free: 54.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007838/1.851, allocations: 61.53 kB / 0.8299 GB, free: 54.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04024/1.891, allocations: 32.82 MB / 0.862 GB, free: 20.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.892, allocations: 3.938 kB / 0.862 GB, free: 20.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3182/2.21, allocations: 22.65 MB / 0.8841 GB, free: 212.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004159/2.214, allocations: 1.207 MB / 0.8853 GB, free: 212.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001344/2.215, allocations: 50.97 kB / 0.8853 GB, free: 212.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004025/2.219, allocations: 305.2 kB / 0.8856 GB, free: 212.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001056/2.22, allocations: 188.3 kB / 0.8858 GB, free: 212.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003089/2.221, allocations: 88.67 kB / 0.8859 GB, free: 212.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.007343/2.228, allocations: 3.635 MB / 0.8894 GB, free: 211 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.2e-07/2.228, allocations: 0 / 0.8894 GB, free: 211 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01211/2.24, allocations: 1.911 MB / 0.8913 GB, free: 210.8 MB / 0.5137 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.001403/2.242, allocations: 269 kB / 0.8915 GB, free: 210.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.02224/2.264, allocations: 11.47 MB / 0.9028 GB, free: 206.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/2.264, allocations: 0 / 0.9028 GB, free: 206.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.01364/2.278, allocations: 5.288 MB / 0.9079 GB, free: 203.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01041/2.288, allocations: 0.7793 MB / 0.9087 GB, free: 203.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03733/2.326, allocations: 21 MB / 0.9292 GB, free: 187.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009595/2.335, allocations: 5.183 MB / 0.9342 GB, free: 183.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.008398/2.344, allocations: 2.795 MB / 0.937 GB, free: 182 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00148/2.345, allocations: 359.4 kB / 0.9373 GB, free: 181.7 MB / 0.5137 GB Notification: Performance of SimCode: time 1.012e-06/2.345, allocations: 0 / 0.9373 GB, free: 181.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.1418/2.487, allocations: 89.65 MB / 1.025 GB, free: 91.89 MB / 0.5137 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)