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.00129/0.00129, allocations: 107.7 kB / 17.32 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 205.8 kB / 18.26 MB, free: 4.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 61 kB / 306.6 MB, free: 0.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08863/0.08981, allocations: 50.53 MB / 357.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.2399/0.3298, allocations: 93.07 MB / 450.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04651/0.3763, allocations: 18.28 MB / 468.4 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02147/0.3978, allocations: 430.9 kB / 468.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01392/0.4119, allocations: 6.81 MB / 475.7 MB, free: 4.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008531/0.4204, allocations: 2.522 MB / 478.2 MB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006211/0.4267, allocations: 2.414 MB / 480.6 MB, free: 15.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01372/0.4404, allocations: 7.281 MB / 487.9 MB, free: 8.477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0154/0.4559, allocations: 9.493 MB / 497.4 MB, free: 14.91 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006967/0.4629, allocations: 3.237 MB / 0.4889 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007844/0.4708, allocations: 4.331 MB / 0.4931 GB, free: 7.324 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00307/0.4739, allocations: 0.7188 MB / 0.4938 GB, free: 6.605 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005866/0.4798, allocations: 1.959 MB / 0.4957 GB, free: 4.645 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006016/0.4858, allocations: 3.694 MB / 0.4993 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008784/0.4946, allocations: 4.231 MB / 0.5035 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01881/0.5135, allocations: 13.02 MB / 0.5162 GB, free: 15.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.5135, allocations: 0 / 0.5162 GB, free: 15.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5135, allocations: 0 / 0.5162 GB, free: 15.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006693/0.5142, allocations: 0 / 0.5162 GB, free: 15.62 MB / 446.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.02739/0.5416, allocations: 9.216 MB / 0.5252 GB, free: 6.316 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.5417, allocations: 11.97 kB / 0.5252 GB, free: 6.305 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00367/0.5454, allocations: 1.251 MB / 0.5264 GB, free: 5.043 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008824/0.5542, allocations: 2.342 MB / 0.5287 GB, free: 2.688 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2963/0.8505, allocations: 4.859 MB / 0.5335 GB, free: 145.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000321/0.8509, allocations: 479.7 kB / 0.5339 GB, free: 145.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001396/0.8523, allocations: 0.6402 MB / 0.5345 GB, free: 145 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02825/0.8805, allocations: 18.34 MB / 0.5524 GB, free: 137.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001583/0.8807, allocations: 70.94 kB / 0.5525 GB, free: 137.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006351/0.8813, allocations: 290 kB / 0.5528 GB, free: 137 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003529/0.8849, allocations: 2.889 MB / 0.5556 GB, free: 136.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02354/0.9084, allocations: 15.76 MB / 0.571 GB, free: 121.9 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.06597/0.9744, allocations: 69.32 MB / 0.6387 GB, free: 51.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02199/0.9965, allocations: 8.839 MB / 0.6473 GB, free: 42.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004888/1.001, allocations: 5.006 MB / 0.6522 GB, free: 37.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02336/1.025, allocations: 20.23 MB / 0.672 GB, free: 16.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/1.025, allocations: 72.52 kB / 0.672 GB, free: 16.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=313): time 5.41e-06/1.025, allocations: 0 / 0.672 GB, free: 16.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=371): time 0.2805/1.305, allocations: 43.73 MB / 0.7148 GB, free: 141.9 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01572/1.321, allocations: 12.89 MB / 0.7273 GB, free: 132.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01197/1.333, allocations: 5.969 MB / 0.7332 GB, free: 130.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001181/1.334, allocations: 77.45 kB / 0.7332 GB, free: 130.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003263/1.338, allocations: 5.025 MB / 0.7381 GB, free: 126.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001918/1.34, allocations: 1.379 MB / 0.7395 GB, free: 125.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002681/1.342, allocations: 1.951 MB / 0.7414 GB, free: 124.6 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.032e-05/1.342, allocations: 301.1 kB / 0.7417 GB, free: 124.3 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005047/1.347, allocations: 4.393 MB / 0.746 GB, free: 122.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007731/1.355, allocations: 9.7 MB / 0.7555 GB, free: 114.1 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01526/1.37, allocations: 15.22 MB / 0.7703 GB, free: 102.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001624/1.371, allocations: 53.16 kB / 0.7704 GB, free: 102.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=1243) (initialization): time 0.03239/1.403, allocations: 17.35 MB / 0.7873 GB, free: 85.52 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001374/1.403, allocations: 86.34 kB / 0.7874 GB, free: 85.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002074/1.403, allocations: 184.9 kB / 0.7876 GB, free: 85.25 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009522/1.413, allocations: 3.554 MB / 0.791 GB, free: 81.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007249/1.42, allocations: 2.187 MB / 0.7932 GB, free: 79.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02779/1.448, allocations: 28.98 MB / 0.8215 GB, free: 49.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008132/1.456, allocations: 0.6085 MB / 0.8221 GB, free: 48.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001655/1.458, allocations: 0.57 MB / 0.8226 GB, free: 48.42 MB / 462.1 MB 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.006051/1.464, allocations: 3.472 MB / 0.826 GB, free: 44.92 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001513/1.466, allocations: 0.563 MB / 0.8266 GB, free: 44.35 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01701/1.483, allocations: 10.26 MB / 0.8366 GB, free: 33.97 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01471/1.497, allocations: 8.971 MB / 0.8453 GB, free: 24.88 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01376/1.511, allocations: 8.838 MB / 0.854 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.193e-05/1.511, allocations: 19.92 kB / 0.854 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1978/1.709, allocations: 23.87 MB / 0.8773 GB, free: 129.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-05/1.709, allocations: 2.469 kB / 0.8773 GB, free: 129.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003347/1.712, allocations: 0.6157 MB / 0.8779 GB, free: 129.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008937/1.721, allocations: 2.965 MB / 0.8808 GB, free: 129.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006911/1.722, allocations: 76.25 kB / 0.8809 GB, free: 129.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02516/1.747, allocations: 22.67 MB / 0.903 GB, free: 117.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005713/1.753, allocations: 6.022 MB / 0.9089 GB, free: 113.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02144/1.774, allocations: 14.78 MB / 0.9233 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/1.776, allocations: 0.5908 MB / 0.9239 GB, free: 107.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008694/1.777, allocations: 66.59 kB / 0.924 GB, free: 107.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002836/1.78, allocations: 269.6 kB / 0.9242 GB, free: 107.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007946/1.78, allocations: 236.3 kB / 0.9244 GB, free: 107.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002987/1.781, allocations: 98.98 kB / 0.9245 GB, free: 107.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004494/1.785, allocations: 3.732 MB / 0.9282 GB, free: 103.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.01e-07/1.785, allocations: 0 / 0.9282 GB, free: 103.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007766/1.793, allocations: 2.032 MB / 0.9302 GB, free: 101.9 MB / 462.1 MB 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.01997/1.813, allocations: 15.54 MB / 0.9454 GB, free: 86.61 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0245/1.838, allocations: 16.92 MB / 0.9619 GB, free: 69.74 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-05/1.838, allocations: 0 / 0.9619 GB, free: 69.74 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006272/1.844, allocations: 4.728 MB / 0.9665 GB, free: 64.99 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005654/1.85, allocations: 0.9045 MB / 0.9674 GB, free: 64.13 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3363/2.186, allocations: 106.9 MB / 1.072 GB, free: 153.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005405/2.191, allocations: 5.321 MB / 1.077 GB, free: 152.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006826/2.198, allocations: 3.05 MB / 1.08 GB, free: 152.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004324/2.202, allocations: 3.5 MB / 1.083 GB, free: 149.2 MB / 494.1 MB Notification: Performance of SimCode: time 7.32e-07/2.203, allocations: 0.5469 kB / 1.083 GB, free: 149.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3761/2.579, allocations: 145.8 MB / 1.226 GB, free: 138.8 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/2.579, allocations: 257 kB / 1.226 GB, free: 138.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.346/7.925, allocations: 5 kB / 1.226 GB, free: 138.5 MB / 494.1 MB (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)