Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00154/0.00154, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0018/0.0018, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.83 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2486, allocations: 50.53 MB / 408.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.02063/0.2693, allocations: 20.28 MB / 429 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01291/0.2822, allocations: 6.486 MB / 435.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003247/0.2855, allocations: 159.5 kB / 435.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01243/0.298, allocations: 7.037 MB / 442.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00686/0.3049, allocations: 2.719 MB / 445.4 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005393/0.3103, allocations: 2.514 MB / 447.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01015/0.3205, allocations: 7.221 MB / 455.2 MB, free: 2.977 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01074/0.3312, allocations: 9.021 MB / 464.2 MB, free: 9.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004749/0.336, allocations: 3.136 MB / 467.3 MB, free: 6.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005517/0.3415, allocations: 3.934 MB / 471.2 MB, free: 2.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001832/0.3434, allocations: 0.7227 MB / 472 MB, free: 2.043 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004001/0.3474, allocations: 1.943 MB / 473.9 MB, free: 100 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004156/0.3516, allocations: 3.722 MB / 477.6 MB, free: 12.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005685/0.3573, allocations: 4.196 MB / 481.8 MB, free: 8.148 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0139/0.3712, allocations: 13.27 MB / 495.1 MB, free: 10.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3713, allocations: 0 / 495.1 MB, free: 10.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3713, allocations: 0 / 495.1 MB, free: 10.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000432/0.3717, allocations: 0 / 495.1 MB, free: 10.84 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2598 * Number of variables: 2598 Notification: Performance of Generate backend data structure: time 0.02268/0.3944, allocations: 9.247 MB / 0.4925 GB, free: 1.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.3945, allocations: 8.031 kB / 0.4925 GB, free: 1.492 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002662/0.3971, allocations: 1.251 MB / 0.4938 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00839/0.4055, allocations: 2.331 MB / 0.496 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01116/0.4167, allocations: 4.979 MB / 0.5009 GB, free: 8.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004066/0.4172, allocations: 484.5 kB / 0.5014 GB, free: 8.344 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00195/0.4191, allocations: 0.6479 MB / 0.502 GB, free: 7.695 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03417/0.4533, allocations: 18.33 MB / 0.5199 GB, free: 4.367 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002882/0.4536, allocations: 67.39 kB / 0.52 GB, free: 4.301 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001647/0.4553, allocations: 287.8 kB / 0.5202 GB, free: 4.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004803/0.4601, allocations: 2.886 MB / 0.523 GB, free: 1.133 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03201/0.4921, allocations: 15.76 MB / 0.5384 GB, free: 1.344 MB / 462.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.4251/0.9172, allocations: 68.97 MB / 0.6058 GB, free: 59.78 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0224/0.9397, allocations: 8.853 MB / 0.6144 GB, free: 50.78 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004691/0.9444, allocations: 4.993 MB / 0.6193 GB, free: 45.77 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02251/0.9669, allocations: 20.24 MB / 0.6391 GB, free: 25.03 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.967, allocations: 64.59 kB / 0.6391 GB, free: 24.95 MB / 462.1 MB Notification: Performance of pre-optimization done (n=313): time 6.151e-06/0.967, allocations: 0 / 0.6391 GB, free: 24.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=371): time 0.1055/1.073, allocations: 43.71 MB / 0.6818 GB, free: 12.81 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01569/1.088, allocations: 12.87 MB / 0.6944 GB, free: 15.14 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008283/1.097, allocations: 5.983 MB / 0.7002 GB, free: 9.148 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0008084/1.097, allocations: 77.7 kB / 0.7003 GB, free: 9.066 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003607/1.101, allocations: 5.018 MB / 0.7052 GB, free: 3.98 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002225/1.103, allocations: 1.38 MB / 0.7066 GB, free: 2.582 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003057/1.106, allocations: 1.955 MB / 0.7085 GB, free: 0.6133 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.000107/1.106, allocations: 305.1 kB / 0.7088 GB, free: 320 kB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006383/1.113, allocations: 4.379 MB / 0.713 GB, free: 11.93 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01034/1.123, allocations: 9.71 MB / 0.7225 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2265/1.35, allocations: 15.21 MB / 0.7374 GB, free: 172.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002094/1.35, allocations: 53.22 kB / 0.7374 GB, free: 172.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1243) (initialization): time 0.03115/1.381, allocations: 17.36 MB / 0.7544 GB, free: 167.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/1.381, allocations: 88.38 kB / 0.7545 GB, free: 167.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002329/1.382, allocations: 187.7 kB / 0.7546 GB, free: 167.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009925/1.391, allocations: 3.544 MB / 0.7581 GB, free: 167 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007191/1.399, allocations: 2.191 MB / 0.7602 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0285/1.427, allocations: 28.94 MB / 0.7885 GB, free: 143.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007606/1.435, allocations: 0.6046 MB / 0.7891 GB, free: 143.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001516/1.436, allocations: 0.5702 MB / 0.7896 GB, free: 142.6 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 68 (sensorConstraintRelative.arrow.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,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 (1136): * Single equations (assignments): 1119 * Array equations: 10 * 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 {(3,20,100.0%), (1,7,100.0%), (2,24,100.0%), (2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.005387/1.442, allocations: 3.487 MB / 0.7931 GB, free: 139.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0012/1.443, allocations: 0.5596 MB / 0.7936 GB, free: 138.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01762/1.461, allocations: 10.25 MB / 0.8036 GB, free: 128.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01514/1.476, allocations: 8.971 MB / 0.8124 GB, free: 119.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01512/1.491, allocations: 8.843 MB / 0.821 GB, free: 110.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.651e-05/1.491, allocations: 19.92 kB / 0.821 GB, free: 110.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03975/1.531, allocations: 23.7 MB / 0.8442 GB, free: 86.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.841e-05/1.531, allocations: 4 kB / 0.8442 GB, free: 86.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003447/1.534, allocations: 0.6123 MB / 0.8448 GB, free: 86.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008501/1.543, allocations: 2.965 MB / 0.8477 GB, free: 83.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009977/1.544, allocations: 68.48 kB / 0.8477 GB, free: 83.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02489/1.569, allocations: 22.72 MB / 0.8699 GB, free: 59.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005691/1.575, allocations: 6.024 MB / 0.8758 GB, free: 53.71 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02293/1.598, allocations: 14.79 MB / 0.8902 GB, free: 38.86 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/1.599, allocations: 0.5952 MB / 0.8908 GB, free: 38.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001225/1.6, allocations: 60 kB / 0.8909 GB, free: 38.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003468/1.604, allocations: 267.6 kB / 0.8911 GB, free: 37.92 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009219/1.605, allocations: 237.9 kB / 0.8914 GB, free: 37.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003458/1.605, allocations: 103.4 kB / 0.8915 GB, free: 37.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005034/1.61, allocations: 3.726 MB / 0.8951 GB, free: 33.87 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.41e-07/1.61, allocations: 0 / 0.8951 GB, free: 33.87 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008116/1.618, allocations: 2.034 MB / 0.8971 GB, free: 31.84 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (280): * Single equations (assignments): 272 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(4,19,75.0%), (3,17,100.0%), (3,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02266/1.641, allocations: 15.56 MB / 0.9123 GB, free: 16.16 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01546/1.656, allocations: 11.37 MB / 0.9234 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/1.656, allocations: 0 / 0.9234 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007324/1.664, allocations: 4.732 MB / 0.928 GB, free: 15.93 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005878/1.67, allocations: 0.9128 MB / 0.9289 GB, free: 15.04 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3194/1.989, allocations: 87.51 MB / 1.014 GB, free: 124.8 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007617/1.997, allocations: 5.324 MB / 1.02 GB, free: 119.5 MB / 0.5451 GB Notification: Performance of simCode: alias equations: time 0.00712/2.004, allocations: 3.057 MB / 1.023 GB, free: 116.4 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004712/2.009, allocations: 3.491 MB / 1.026 GB, free: 112.9 MB / 0.5451 GB Notification: Performance of SimCode: time 7.21e-07/2.009, allocations: 0 / 1.026 GB, free: 112.9 MB / 0.5451 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3968/2.405, allocations: 142.9 MB / 1.165 GB, free: 173.9 MB / 0.5451 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.7/29.1, allocations: 3.047 kB / 1.165 GB, free: 173.9 MB / 0.5451 GB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1)