Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01115/0.01115, allocations: 102.8 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001994/0.001994, allocations: 196.4 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4164/0.4164, allocations: 38 MB / 307.9 MB, free: 10.16 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 67.91 kB / 433 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3736, allocations: 56.47 MB / 489.5 MB, free: 20.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d): time 0.01447/0.3881, allocations: 14.2 MB / 0.4919 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01254/0.4007, allocations: 4.629 MB / 0.4964 GB, free: 7.109 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004533/0.4053, allocations: 91.84 kB / 0.4965 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008897/0.4142, allocations: 4.226 MB / 0.5006 GB, free: 5.117 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009313/0.4236, allocations: 2.261 MB / 0.5028 GB, free: 3.531 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003388/0.427, allocations: 0.9246 MB / 0.5037 GB, free: 2.891 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01174/0.4388, allocations: 5.862 MB / 0.5094 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01006/0.4489, allocations: 5.256 MB / 0.5146 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00766/0.4566, allocations: 2.185 MB / 0.5167 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007425/0.4641, allocations: 2.953 MB / 0.5196 GB, free: 8.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002588/0.4667, allocations: 492 kB / 0.52 GB, free: 8.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004914/0.4717, allocations: 1.362 MB / 0.5214 GB, free: 7.137 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004783/0.4765, allocations: 2.63 MB / 0.5239 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007184/0.4837, allocations: 2.991 MB / 0.5269 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01677/0.5005, allocations: 9.547 MB / 0.5362 GB, free: 7.914 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.081e-05/0.5006, allocations: 0 / 0.5362 GB, free: 7.914 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.5006, allocations: 7.938 kB / 0.5362 GB, free: 7.906 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004761/0.5011, allocations: 0 / 0.5362 GB, free: 7.906 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: 1837 * Number of variables: 1837 Notification: Performance of Generate backend data structure: time 0.02154/0.5226, allocations: 6.33 MB / 0.5424 GB, free: 1.496 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.446e-05/0.5227, allocations: 11.89 kB / 0.5424 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01362/0.5363, allocations: 2.606 MB / 0.5449 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.011/0.5474, allocations: 4.051 MB / 0.5489 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003738/0.5478, allocations: 308.4 kB / 0.5492 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002126/0.5499, allocations: 423.8 kB / 0.5496 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02627/0.5762, allocations: 11.97 MB / 0.5613 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003263/0.5766, allocations: 51.59 kB / 0.5613 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001739/0.5783, allocations: 191.8 kB / 0.5615 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004894/0.5833, allocations: 2.21 MB / 0.5637 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02255/0.6058, allocations: 10.13 MB / 0.5736 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07649/0.6824, allocations: 46.93 MB / 0.6194 GB, free: 356 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01162/0.694, allocations: 4.36 MB / 0.6236 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003728/0.6978, allocations: 2.515 MB / 0.6261 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3774/1.075, allocations: 9.983 MB / 0.6358 GB, free: 125 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.774e-05/1.075, allocations: 57.81 kB / 0.6359 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=190): time 4.548e-06/1.075, allocations: 0.9688 kB / 0.6359 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=212): time 0.06414/1.14, allocations: 20.79 MB / 0.6562 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001498/1.14, allocations: 200.3 kB / 0.6564 GB, free: 118.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009617/1.149, allocations: 4.829 MB / 0.6611 GB, free: 116.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007258/1.15, allocations: 56.08 kB / 0.6612 GB, free: 116.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003/1.153, allocations: 3.712 MB / 0.6648 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001328/1.154, allocations: 0.8117 MB / 0.6656 GB, free: 113.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002116/1.157, allocations: 1.384 MB / 0.6669 GB, free: 112.4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.49e-05/1.157, allocations: 305.1 kB / 0.6672 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004097/1.161, allocations: 2.553 MB / 0.6697 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00637/1.167, allocations: 6.514 MB / 0.6761 GB, free: 105.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009336/1.177, allocations: 9.741 MB / 0.6856 GB, free: 96.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001319/1.177, allocations: 37.5 kB / 0.6856 GB, free: 96.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=888) (initialization): time 0.01724/1.194, allocations: 10.18 MB / 0.6956 GB, free: 89.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001316/1.194, allocations: 68.03 kB / 0.6956 GB, free: 89.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002081/1.194, allocations: 141.9 kB / 0.6958 GB, free: 89.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004073/1.198, allocations: 1.604 MB / 0.6973 GB, free: 87.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004984/1.203, allocations: 1.556 MB / 0.6989 GB, free: 86.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01117/1.215, allocations: 10 MB / 0.7086 GB, free: 75.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007608/1.222, allocations: 383.4 kB / 0.709 GB, free: 75.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001485/1.224, allocations: 404 kB / 0.7094 GB, free: 75.19 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 45 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (828): * Single equations (assignments): 823 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,31,77.8%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005843/1.23, allocations: 2.569 MB / 0.7119 GB, free: 72.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001367/1.231, allocations: 423.5 kB / 0.7123 GB, free: 72.19 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008654/1.24, allocations: 4.546 MB / 0.7167 GB, free: 67.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.113e-05/1.24, allocations: 24 kB / 0.7168 GB, free: 67.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.511e-05/1.24, allocations: 8 kB / 0.7168 GB, free: 67.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.821e-05/1.24, allocations: 7.969 kB / 0.7168 GB, free: 67.58 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02185/1.262, allocations: 10.27 MB / 0.7268 GB, free: 57.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.192e-05/1.262, allocations: 4 kB / 0.7268 GB, free: 57.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001696/1.263, allocations: 331.6 kB / 0.7271 GB, free: 56.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003723/1.267, allocations: 1.355 MB / 0.7284 GB, free: 55.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003153/1.268, allocations: 32 kB / 0.7285 GB, free: 55.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0101/1.278, allocations: 9.395 MB / 0.7377 GB, free: 45.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.278, allocations: 0 / 0.7377 GB, free: 45.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01194/1.29, allocations: 7.469 MB / 0.7449 GB, free: 38.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002871/1.293, allocations: 0.7766 MB / 0.7457 GB, free: 37.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001702/1.294, allocations: 32 kB / 0.7457 GB, free: 37.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002816/1.297, allocations: 131.8 kB / 0.7459 GB, free: 37.44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005832/1.298, allocations: 133 kB / 0.746 GB, free: 37.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002218/1.298, allocations: 55.98 kB / 0.746 GB, free: 37.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00543/1.303, allocations: 3.041 MB / 0.749 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.91e-07/1.303, allocations: 0 / 0.749 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009585/1.313, allocations: 1.255 MB / 0.7502 GB, free: 32.96 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.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 (163): * Single equations (assignments): 158 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,27,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001006/1.314, allocations: 173.2 kB / 0.7504 GB, free: 32.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.012/1.326, allocations: 6.307 MB / 0.7566 GB, free: 26.49 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.894e-06/1.326, allocations: 4 kB / 0.7566 GB, free: 26.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003718/1.33, allocations: 2.151 MB / 0.7587 GB, free: 24.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005825/1.336, allocations: 0.552 MB / 0.7592 GB, free: 23.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02381/1.36, allocations: 11.66 MB / 0.7706 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007397/1.367, allocations: 3.994 MB / 0.7745 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005413/1.372, allocations: 2.087 MB / 0.7765 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/1.374, allocations: 283.4 kB / 0.7768 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of SimCode: time 1.643e-06/1.374, allocations: 0 / 0.7768 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of Templates: time 0.08785/1.462, allocations: 43.74 MB / 0.8195 GB, free: 10.03 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe 2>&1)