Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.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.RevoluteConstraint,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",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.001526/0.001526, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.921/1.921, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001147/0.001147, allocations: 92.42 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003789, allocations: 8 kB / 327.1 MB, free: 132 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3471, allocations: 47.57 MB / 374.6 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2139/0.5611, allocations: 113.7 MB / 488.3 MB, free: 14.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/0.5615, allocations: 99.95 kB / 488.4 MB, free: 14.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7345/1.296, allocations: 128.7 MB / 0.6026 GB, free: 12.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.475e-06/1.296, allocations: 0 / 0.6026 GB, free: 12.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005126/1.297, allocations: 148 kB / 0.6028 GB, free: 12.43 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2390 * Number of variables: 2390 Notification: Performance of Generate backend data structure: time 0.03599/1.333, allocations: 7.599 MB / 0.6102 GB, free: 4.746 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.333, allocations: 8.031 kB / 0.6102 GB, free: 4.738 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005553/1.338, allocations: 1.21 MB / 0.6114 GB, free: 3.516 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02128/1.36, allocations: 2.787 MB / 0.6141 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0299/1.39, allocations: 7.562 MB / 0.6215 GB, free: 9.066 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008404/1.39, allocations: 0.5255 MB / 0.622 GB, free: 8.539 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004081/1.395, allocations: 0.7027 MB / 0.6227 GB, free: 7.836 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06341/1.458, allocations: 17.51 MB / 0.6398 GB, free: 5.023 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005556/1.459, allocations: 87.23 kB / 0.6399 GB, free: 4.938 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003564/1.462, allocations: 343.7 kB / 0.6402 GB, free: 4.602 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004319/1.467, allocations: 1.519 MB / 0.6417 GB, free: 3.082 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3528/1.819, allocations: 14.74 MB / 0.6561 GB, free: 60.87 MB / 410.7 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.1184/1.938, allocations: 73.78 MB / 0.7281 GB, free: 18.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03828/1.976, allocations: 7.858 MB / 0.7358 GB, free: 16.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03959/2.016, allocations: 16.7 MB / 0.7521 GB, free: 7.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.494e-05/2.016, allocations: 64.12 kB / 0.7522 GB, free: 7.785 MB / 410.7 MB Notification: Performance of pre-optimization done (n=275): time 7.004e-06/2.016, allocations: 3.812 kB / 0.7522 GB, free: 7.785 MB / 410.7 MB Notification: Performance of matching and sorting (n=349): time 0.2565/2.272, allocations: 46.48 MB / 0.7976 GB, free: 6.746 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.04471/2.317, allocations: 16.11 MB / 0.8133 GB, free: 6.379 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01441/2.332, allocations: 5.1 MB / 0.8183 GB, free: 1.316 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001057/2.333, allocations: 76.44 kB / 0.8184 GB, free: 1.238 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3181/2.651, allocations: 4.611 MB / 0.8229 GB, free: 105.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002269/2.653, allocations: 1.3 MB / 0.8241 GB, free: 104.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001508/2.655, allocations: 186.3 kB / 0.8243 GB, free: 104.4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006667/2.655, allocations: 0.7003 MB / 0.825 GB, free: 104 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01053/2.666, allocations: 4.128 MB / 0.829 GB, free: 104 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01419/2.68, allocations: 9.363 MB / 0.8382 GB, free: 97.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01434/2.695, allocations: 6.095 MB / 0.8441 GB, free: 97.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002147/2.695, allocations: 50.62 kB / 0.8442 GB, free: 97.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.06465/2.76, allocations: 17.85 MB / 0.8616 GB, free: 96 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001729/2.76, allocations: 83.81 kB / 0.8617 GB, free: 96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003133/2.76, allocations: 185.5 kB / 0.8618 GB, free: 96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02951/2.79, allocations: 4.994 MB / 0.8667 GB, free: 95.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01319/2.803, allocations: 2.022 MB / 0.8687 GB, free: 95.76 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08174/2.885, allocations: 38.3 MB / 0.9061 GB, free: 76.65 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01273/2.897, allocations: 0.55 MB / 0.9066 GB, free: 76.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002601/2.9, allocations: 0.5586 MB / 0.9072 GB, free: 76.41 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 841 * Number of states: 0 () * Number of discrete variables: 60 (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],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 (1064): * Single equations (assignments): 1053 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 38,(2,100.0%) 23,(3,77.8%) 12,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.01013/2.91, allocations: 3.282 MB / 0.9104 GB, free: 74.87 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0016/2.912, allocations: 0.5403 MB / 0.9109 GB, free: 74.57 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04052/2.952, allocations: 10.54 MB / 0.9212 GB, free: 66.57 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001121/2.953, allocations: 53.36 kB / 0.9213 GB, free: 66.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03551/2.988, allocations: 9.632 MB / 0.9307 GB, free: 58.78 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.479e-05/2.988, allocations: 15.98 kB / 0.9307 GB, free: 58.78 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07382/3.062, allocations: 23.73 MB / 0.9539 GB, free: 39.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.637e-05/3.062, allocations: 4 kB / 0.9539 GB, free: 39.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004775/3.067, allocations: 470.9 kB / 0.9543 GB, free: 39.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0218/3.089, allocations: 3.692 MB / 0.9579 GB, free: 35.89 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001003/3.09, allocations: 63.95 kB / 0.958 GB, free: 35.83 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3987/3.489, allocations: 28.25 MB / 0.9856 GB, free: 89.34 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02987/3.519, allocations: 12.65 MB / 0.9979 GB, free: 86.57 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0496/3.568, allocations: 15.25 MB / 1.013 GB, free: 84.88 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004976/3.573, allocations: 1.15 MB / 1.014 GB, free: 84.79 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002505/3.576, allocations: 60.66 kB / 1.014 GB, free: 84.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007188/3.583, allocations: 227.1 kB / 1.014 GB, free: 84.79 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002058/3.585, allocations: 249.6 kB / 1.014 GB, free: 84.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001195/3.586, allocations: 94 kB / 1.015 GB, free: 84.78 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01188/3.598, allocations: 3.576 MB / 1.018 GB, free: 84.57 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.42e-07/3.598, allocations: 0 / 1.018 GB, free: 84.57 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01377/3.612, allocations: 2.055 MB / 1.02 GB, free: 84.57 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.phi,joint.w) * 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 (216): * Single equations (assignments): 208 * 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 {(1,100.0%) 11,(3,100.0%) 35,(3,100.0%) 25} * Non-linear torn systems: 1 {3 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.04883/3.661, allocations: 17.05 MB / 1.037 GB, free: 80.23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0258/3.687, allocations: 10.88 MB / 1.047 GB, free: 76.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/3.687, allocations: 0 / 1.047 GB, free: 76.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01052/3.697, allocations: 4.29 MB / 1.051 GB, free: 74.34 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006954/3.704, allocations: 0.7568 MB / 1.052 GB, free: 74.04 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5411/4.246, allocations: 193.7 MB / 1.241 GB, free: 33.48 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01455/4.26, allocations: 5.158 MB / 1.246 GB, free: 32.62 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008765/4.269, allocations: 3.247 MB / 1.25 GB, free: 32.62 MB / 474.7 MB Notification: Performance of SimCode: time 1.523e-06/4.269, allocations: 0 / 1.25 GB, free: 32.62 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.009/11.28, allocations: 287.6 MB / 1.53 GB, free: 136.5 MB / 0.4949 GB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1)