Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001645/0.001645, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.4 MB / 222.5 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 94.83 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.0004026, allocations: 8 kB / 327.1 MB, free: 14.99 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09983/0.1003, allocations: 47.59 MB / 374.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.3874/0.4877, allocations: 87.08 MB / 461.7 MB, free: 5.102 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0603/0.5481, allocations: 20.03 MB / 481.8 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02016/0.5683, allocations: 454.8 kB / 482.2 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01672/0.5851, allocations: 4.409 MB / 486.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04961/0.6348, allocations: 12.14 MB / 498.8 MB, free: 15.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008756/0.6436, allocations: 1.301 MB / 0.4883 GB, free: 14.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01109/0.6547, allocations: 4.031 MB / 0.4923 GB, free: 10.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02288/0.6776, allocations: 10.55 MB / 0.5026 GB, free: 15.97 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004985/0.6827, allocations: 1.896 MB / 0.5044 GB, free: 14.07 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00538/0.6881, allocations: 2.293 MB / 0.5067 GB, free: 11.77 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001808/0.69, allocations: 260 kB / 0.5069 GB, free: 11.52 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004731/0.6948, allocations: 1.28 MB / 0.5082 GB, free: 10.24 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005468/0.7003, allocations: 2.887 MB / 0.511 GB, free: 7.344 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003321/0.7037, allocations: 1.524 MB / 0.5125 GB, free: 5.809 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01811/0.7218, allocations: 10.66 MB / 0.5229 GB, free: 11.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.259e-06/0.7219, allocations: 7.938 kB / 0.5229 GB, free: 11.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.516e-06/0.7219, allocations: 0 / 0.5229 GB, free: 11.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004795/0.7224, allocations: 0 / 0.5229 GB, free: 11.11 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2676 * Number of variables: 2676 Notification: Performance of Generate backend data structure: time 0.03176/0.7542, allocations: 8.005 MB / 0.5307 GB, free: 3.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.83e-05/0.7543, allocations: 12.03 kB / 0.5307 GB, free: 3.008 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005231/0.7595, allocations: 1.284 MB / 0.532 GB, free: 1.711 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5245/1.284, allocations: 2.717 MB / 0.5346 GB, free: 131.1 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01604/1.3, allocations: 4.971 MB / 0.5395 GB, free: 129.6 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006857/1.301, allocations: 490.2 kB / 0.5399 GB, free: 129.4 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003546/1.304, allocations: 0.6529 MB / 0.5406 GB, free: 129.3 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06019/1.365, allocations: 19.09 MB / 0.5592 GB, free: 119.9 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003812/1.365, allocations: 63.47 kB / 0.5593 GB, free: 119.9 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002435/1.368, allocations: 296.8 kB / 0.5596 GB, free: 119.6 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00788/1.376, allocations: 3.022 MB / 0.5625 GB, free: 116.7 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05239/1.428, allocations: 16.49 MB / 0.5786 GB, free: 100.2 MB / 410.8 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.1263/1.554, allocations: 70.89 MB / 0.6479 GB, free: 28.1 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04401/1.598, allocations: 9.22 MB / 0.6569 GB, free: 18.73 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0466/1.645, allocations: 20.52 MB / 0.6769 GB, free: 13.73 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.803e-05/1.645, allocations: 68.59 kB / 0.677 GB, free: 13.65 MB / 426.8 MB Notification: Performance of pre-optimization done (n=322): time 7.664e-06/1.645, allocations: 3.938 kB / 0.677 GB, free: 13.64 MB / 426.8 MB Notification: Performance of matching and sorting (n=380): time 0.5065/2.152, allocations: 45.39 MB / 0.7213 GB, free: 123.7 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02379/2.176, allocations: 12.93 MB / 0.7339 GB, free: 114.2 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01262/2.188, allocations: 6.34 MB / 0.7401 GB, free: 108.9 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001285/2.19, allocations: 82.64 kB / 0.7402 GB, free: 108.8 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004027/2.194, allocations: 4.957 MB / 0.745 GB, free: 103.9 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002631/2.196, allocations: 1.418 MB / 0.7464 GB, free: 102.5 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001391/2.198, allocations: 194 kB / 0.7466 GB, free: 102.3 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0006953/2.199, allocations: 0.724 MB / 0.7473 GB, free: 101.6 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01114/2.21, allocations: 4.403 MB / 0.7516 GB, free: 97.15 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01445/2.224, allocations: 9.798 MB / 0.7612 GB, free: 84.86 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01682/2.241, allocations: 6.444 MB / 0.7675 GB, free: 78.43 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002983/2.241, allocations: 52 kB / 0.7675 GB, free: 78.38 MB / 426.8 MB Notification: Performance of matching and sorting (n=1268) (initialization): time 0.05742/2.299, allocations: 17.3 MB / 0.7844 GB, free: 60.99 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001308/2.299, allocations: 87.94 kB / 0.7845 GB, free: 60.91 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002625/2.299, allocations: 192 kB / 0.7847 GB, free: 60.72 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01881/2.318, allocations: 3.584 MB / 0.7882 GB, free: 57.13 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01426/2.332, allocations: 2.23 MB / 0.7904 GB, free: 54.89 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05057/2.383, allocations: 27.72 MB / 0.8174 GB, free: 26.26 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01248/2.396, allocations: 0.6253 MB / 0.818 GB, free: 25.64 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002394/2.398, allocations: 0.5842 MB / 0.8186 GB, free: 25.05 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 864 * Number of states: 0 () * Number of discrete variables: 66 (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 (1161): * Single equations (assignments): 1144 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 20,(1,100.0%) 7,(2,100.0%) 24,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.01047/2.409, allocations: 3.56 MB / 0.8221 GB, free: 21.48 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00193/2.411, allocations: 0.5669 MB / 0.8226 GB, free: 20.91 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03634/2.447, allocations: 10.35 MB / 0.8327 GB, free: 10.43 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03141/2.478, allocations: 9.04 MB / 0.8416 GB, free: 1.273 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.331/2.809, allocations: 8.905 MB / 0.8503 GB, free: 131.3 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001335/2.81, allocations: 21.44 kB / 0.8503 GB, free: 131.3 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08012/2.89, allocations: 24.58 MB / 0.8743 GB, free: 123.5 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.393e-05/2.89, allocations: 3.812 kB / 0.8743 GB, free: 123.5 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006598/2.897, allocations: 0.6313 MB / 0.8749 GB, free: 123.5 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0166/2.913, allocations: 2.983 MB / 0.8778 GB, free: 122.9 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001183/2.914, allocations: 79.8 kB / 0.8779 GB, free: 122.9 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04632/2.961, allocations: 21.67 MB / 0.8991 GB, free: 109.3 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01114/2.972, allocations: 6.014 MB / 0.9049 GB, free: 103.1 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04203/3.014, allocations: 15.88 MB / 0.9205 GB, free: 87.16 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005035/3.019, allocations: 1.277 MB / 0.9217 GB, free: 86.18 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002172/3.021, allocations: 71.22 kB / 0.9218 GB, free: 86.12 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006896/3.028, allocations: 275.1 kB / 0.922 GB, free: 85.85 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00179/3.03, allocations: 252.7 kB / 0.9223 GB, free: 85.61 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005911/3.031, allocations: 97.39 kB / 0.9224 GB, free: 85.51 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.009023/3.04, allocations: 3.991 MB / 0.9263 GB, free: 81.53 MB / 442.8 MB Notification: Performance of sort global known variables: time 7.22e-07/3.04, allocations: 0 / 0.9263 GB, free: 81.53 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01344/3.053, allocations: 2.111 MB / 0.9283 GB, free: 79.43 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (290): * Single equations (assignments): 282 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 19,(3,100.0%) 17,(3,100.0%) 8} * Non-linear torn systems: 1 {3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.04658/3.1, allocations: 17.69 MB / 0.9456 GB, free: 61.66 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.02731/3.127, allocations: 11.42 MB / 0.9568 GB, free: 50.23 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/3.127, allocations: 0 / 0.9568 GB, free: 50.23 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01353/3.141, allocations: 4.748 MB / 0.9614 GB, free: 45.42 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007594/3.149, allocations: 0.8123 MB / 0.9622 GB, free: 44.62 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.404/3.553, allocations: 168.3 MB / 1.127 GB, free: 34.09 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01402/3.567, allocations: 5.614 MB / 1.132 GB, free: 33.18 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008925/3.576, allocations: 3.686 MB / 1.136 GB, free: 32.51 MB / 458.8 MB Notification: Performance of SimCode: time 1.232e-06/3.576, allocations: 0 / 1.136 GB, free: 32.51 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.349/10.92, allocations: 316.2 MB / 1.444 GB, free: 111.1 MB / 490.8 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1)