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.0008498/0.0008499, allocations: 95.84 kB / 17.35 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009594/0.0009594, allocations: 211.4 kB / 18.29 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.228/1.228, allocations: 227.7 MB / 246.8 MB, free: 9.465 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002083/0.0002083, allocations: 7.938 kB / 307.8 MB, free: 500 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08549/0.08571, allocations: 51.52 MB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.2271/0.3128, allocations: 90.86 MB / 450.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03627/0.3491, allocations: 18.3 MB / 468.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01256/0.3617, allocations: 430.9 kB / 468.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.3635, allocations: 0.746 MB / 469.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005163/0.3687, allocations: 2.569 MB / 472.3 MB, free: 9.641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002225/0.3709, allocations: 1.248 MB / 473.5 MB, free: 8.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009033/0.3799, allocations: 10.56 MB / 484.1 MB, free: 13.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01315/0.3931, allocations: 12.08 MB / 496.1 MB, free: 1.613 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002541/0.3957, allocations: 2.144 MB / 498.3 MB, free: 15.46 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003372/0.399, allocations: 3.308 MB / 0.4898 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000457/0.3995, allocations: 248 kB / 0.4901 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.4019, allocations: 1.568 MB / 0.4916 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002151/0.404, allocations: 3.077 MB / 0.4946 GB, free: 7.242 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00254/0.4066, allocations: 3.506 MB / 0.498 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009536/0.4161, allocations: 12.32 MB / 0.5101 GB, free: 7.348 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4162, allocations: 0 / 0.5101 GB, free: 7.348 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.4162, allocations: 0 / 0.5101 GB, free: 7.348 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001955/0.4164, allocations: 3.938 kB / 0.5101 GB, free: 7.344 MB / 430.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.0141/0.4305, allocations: 7.535 MB / 0.5174 GB, free: 15.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.4305, allocations: 16.03 kB / 0.5174 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001409/0.4319, allocations: 1.247 MB / 0.5187 GB, free: 14.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006931/0.4389, allocations: 2.381 MB / 0.521 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00656/0.4454, allocations: 4.862 MB / 0.5257 GB, free: 7.105 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002856/0.4457, allocations: 488.5 kB / 0.5262 GB, free: 6.625 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009902/0.4467, allocations: 0.6441 MB / 0.5268 GB, free: 5.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.387/0.8338, allocations: 18.38 MB / 0.5448 GB, free: 47.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001807/0.834, allocations: 63.34 kB / 0.5448 GB, free: 47.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006563/0.8346, allocations: 297 kB / 0.5451 GB, free: 47.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004027/0.8387, allocations: 2.882 MB / 0.5479 GB, free: 47.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02512/0.8638, allocations: 15.82 MB / 0.5634 GB, free: 47.01 MB / 446.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.06429/0.9281, allocations: 69.31 MB / 0.6311 GB, free: 14.19 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02362/0.9518, allocations: 8.929 MB / 0.6398 GB, free: 5.125 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005281/0.9571, allocations: 4.997 MB / 0.6447 GB, free: 120 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0241/0.9812, allocations: 20.24 MB / 0.6644 GB, free: 11.42 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.9813, allocations: 66.94 kB / 0.6645 GB, free: 11.34 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=313): time 5.65e-06/0.9813, allocations: 0 / 0.6645 GB, free: 11.34 MB / 0.4982 GB Notification: Performance of matching and sorting (n=371): time 0.105/1.086, allocations: 43.69 MB / 0.7072 GB, free: 15.38 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01353/1.1, allocations: 12.35 MB / 0.7192 GB, free: 2.332 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008167/1.108, allocations: 5.979 MB / 0.7251 GB, free: 12.35 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0006534/1.109, allocations: 77.7 kB / 0.7251 GB, free: 12.27 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003028/1.112, allocations: 5.02 MB / 0.73 GB, free: 7.27 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001568/1.113, allocations: 1.379 MB / 0.7314 GB, free: 5.902 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001284/1.115, allocations: 0.8155 MB / 0.7322 GB, free: 5.082 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 7.347e-05/1.115, allocations: 305.1 kB / 0.7325 GB, free: 4.781 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006006/1.121, allocations: 4.387 MB / 0.7368 GB, free: 396 kB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1634/1.284, allocations: 9.714 MB / 0.7462 GB, free: 246.3 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0152/1.299, allocations: 15.21 MB / 0.7611 GB, free: 235.3 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001664/1.299, allocations: 57.25 kB / 0.7612 GB, free: 235.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1243) (initialization): time 0.02536/1.325, allocations: 17.35 MB / 0.7781 GB, free: 229.2 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.822e-05/1.325, allocations: 84.69 kB / 0.7782 GB, free: 229.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00013/1.325, allocations: 190.7 kB / 0.7784 GB, free: 229.2 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008708/1.334, allocations: 3.555 MB / 0.7818 GB, free: 228.5 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005718/1.34, allocations: 2.193 MB / 0.784 GB, free: 228.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02429/1.364, allocations: 27.12 MB / 0.8105 GB, free: 204.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006841/1.371, allocations: 0.6111 MB / 0.811 GB, free: 203.8 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006917/1.371, allocations: 0.5663 MB / 0.8116 GB, free: 203.2 MB / 0.5607 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.004001/1.375, allocations: 3.488 MB / 0.815 GB, free: 199.8 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006549/1.376, allocations: 0.5581 MB / 0.8156 GB, free: 199.6 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01607/1.392, allocations: 10.27 MB / 0.8256 GB, free: 189.2 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01378/1.406, allocations: 8.989 MB / 0.8344 GB, free: 180.1 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01361/1.42, allocations: 8.847 MB / 0.843 GB, free: 171.1 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.167e-05/1.42, allocations: 15.94 kB / 0.843 GB, free: 171.1 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03051/1.45, allocations: 23.89 MB / 0.8663 GB, free: 147.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/1.45, allocations: 4 kB / 0.8663 GB, free: 147.1 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00268/1.453, allocations: 0.6084 MB / 0.8669 GB, free: 146.5 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007715/1.461, allocations: 2.985 MB / 0.8699 GB, free: 143.5 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002716/1.461, allocations: 79.17 kB / 0.8699 GB, free: 143.5 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02161/1.482, allocations: 21.09 MB / 0.8905 GB, free: 122 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005322/1.488, allocations: 5.865 MB / 0.8962 GB, free: 115.9 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01941/1.507, allocations: 14.79 MB / 0.9107 GB, free: 101 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/1.508, allocations: 0.5915 MB / 0.9113 GB, free: 100.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005747/1.509, allocations: 67.67 kB / 0.9113 GB, free: 100.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002678/1.512, allocations: 271.5 kB / 0.9116 GB, free: 100.1 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006254/1.512, allocations: 241.9 kB / 0.9118 GB, free: 99.86 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002386/1.512, allocations: 95.98 kB / 0.9119 GB, free: 99.76 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.003847/1.516, allocations: 3.738 MB / 0.9156 GB, free: 96.03 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.1e-07/1.516, allocations: 0 / 0.9156 GB, free: 96.03 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.00624/1.523, allocations: 2.037 MB / 0.9176 GB, free: 94 MB / 0.5607 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.01938/1.542, allocations: 15.55 MB / 0.9327 GB, free: 78.32 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01296/1.555, allocations: 11.33 MB / 0.9438 GB, free: 66.93 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.555, allocations: 8.125 kB / 0.9438 GB, free: 66.92 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.005706/1.561, allocations: 4.726 MB / 0.9484 GB, free: 62.14 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00643/1.567, allocations: 0.8549 MB / 0.9493 GB, free: 61.3 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.29/1.857, allocations: 107 MB / 1.054 GB, free: 204.8 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004824/1.862, allocations: 5.326 MB / 1.059 GB, free: 203 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006454/1.869, allocations: 3.057 MB / 1.062 GB, free: 202.7 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003195/1.872, allocations: 3.489 MB / 1.065 GB, free: 199.6 MB / 0.5607 GB Notification: Performance of SimCode: time 8.32e-07/1.872, allocations: 7.906 kB / 1.065 GB, free: 199.6 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1458/2.018, allocations: 140.3 MB / 1.202 GB, free: 64.05 MB / 0.5607 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/2.018, allocations: 265 kB / 1.203 GB, free: 63.76 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.773/6.79, allocations: 0 / 1.203 GB, free: 63.76 MB / 0.5607 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)