Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001287/0.001287, allocations: 169.5 kB / 7.639 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.337/1.337, allocations: 170.6 MB / 178.7 MB, free: 15.58 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001727/0.001727, allocations: 99.52 kB / 218 MB, free: 8.352 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1904/0.1904, allocations: 37.99 MB / 295.1 MB, free: 9.473 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.507e-05/1.51e-05, allocations: 2.969 kB / 350 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1043, allocations: 48.72 MB / 398.7 MB, free: 5.332 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4037/0.508, allocations: 95.2 MB / 493.9 MB, free: 17.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.5083, allocations: 85.33 kB / 494 MB, free: 17.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2396/0.7479, allocations: 95.2 MB / 0.5754 GB, free: 13.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.748, allocations: 0 / 0.5754 GB, free: 13.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000326/0.7483, allocations: 104 kB / 0.5755 GB, free: 13.81 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.02259/0.7709, allocations: 5.502 MB / 0.5809 GB, free: 8.242 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.771, allocations: 8.031 kB / 0.5809 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01131/0.7823, allocations: 2.321 MB / 0.5832 GB, free: 5.902 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01442/0.7967, allocations: 4.964 MB / 0.588 GB, free: 0.875 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003373/0.7971, allocations: 168 kB / 0.5882 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003672/0.8008, allocations: 303.9 kB / 0.5885 GB, free: 424 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01785/0.8187, allocations: 7.818 MB / 0.5961 GB, free: 8.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02731/0.846, allocations: 11.48 MB / 0.6073 GB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003679/0.8464, allocations: 67.39 kB / 0.6074 GB, free: 11.99 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002391/0.8488, allocations: 32 kB / 0.6074 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002118/0.851, allocations: 1.204 MB / 0.6086 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3567/1.208, allocations: 53.53 MB / 0.6608 GB, free: 53.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006059/1.214, allocations: 4.479 MB / 0.6652 GB, free: 52.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003764/1.218, allocations: 3.225 MB / 0.6684 GB, free: 52.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001387/1.219, allocations: 1.011 MB / 0.6694 GB, free: 51.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/1.219, allocations: 58.08 kB / 0.6694 GB, free: 51.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=224): time 5.55e-06/1.219, allocations: 3.281 kB / 0.6694 GB, free: 51.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=255): time 0.0457/1.265, allocations: 22.9 MB / 0.6918 GB, free: 46.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.046e-05/1.265, allocations: 164.1 kB / 0.6919 GB, free: 46.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006599/1.272, allocations: 3.284 MB / 0.6951 GB, free: 45.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008641/1.272, allocations: 29.42 kB / 0.6952 GB, free: 45.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002298/1.275, allocations: 3.602 MB / 0.6987 GB, free: 42.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001416/1.276, allocations: 0.9291 MB / 0.6996 GB, free: 41.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003556/1.277, allocations: 2.844 kB / 0.6996 GB, free: 41.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003472/1.277, allocations: 0.602 MB / 0.7002 GB, free: 41.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003613/1.281, allocations: 2.883 MB / 0.703 GB, free: 40.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005864/1.286, allocations: 6.927 MB / 0.7098 GB, free: 34.01 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006573/1.293, allocations: 4.404 MB / 0.7141 GB, free: 32.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001058/1.293, allocations: 41.81 kB / 0.7141 GB, free: 32.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=921) (initialization): time 0.01809/1.311, allocations: 9.963 MB / 0.7238 GB, free: 29.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.239e-05/1.311, allocations: 69.25 kB / 0.7239 GB, free: 29.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001524/1.312, allocations: 142.5 kB / 0.724 GB, free: 29.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002639/1.314, allocations: 1.136 MB / 0.7251 GB, free: 29.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006439/1.321, allocations: 1.763 MB / 0.7269 GB, free: 29.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006957/1.328, allocations: 5.623 MB / 0.7324 GB, free: 25.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007185/1.335, allocations: 294.1 kB / 0.7326 GB, free: 25.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00193/1.337, allocations: 441.2 kB / 0.7331 GB, free: 24.71 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (882): * Single equations (assignments): 878 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002796/1.34, allocations: 482 kB / 0.7335 GB, free: 24.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001366/1.341, allocations: 363.3 kB / 0.7339 GB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009688/1.351, allocations: 5.37 MB / 0.7391 GB, free: 19.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.299e-05/1.351, allocations: 28 kB / 0.7391 GB, free: 19.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.508e-05/1.351, allocations: 4 kB / 0.7391 GB, free: 19.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.232e-05/1.351, allocations: 10.73 kB / 0.7392 GB, free: 19.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02227/1.373, allocations: 11.17 MB / 0.7501 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/1.373, allocations: 4 kB / 0.7501 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002671/1.376, allocations: 0.5111 MB / 0.7506 GB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002253/1.378, allocations: 0.9379 MB / 0.7515 GB, free: 9.512 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003598/1.379, allocations: 15.42 kB / 0.7515 GB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005599/1.384, allocations: 5.322 MB / 0.7567 GB, free: 4.809 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/1.384, allocations: 7.938 kB / 0.7567 GB, free: 4.801 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01396/1.398, allocations: 9.585 MB / 0.7661 GB, free: 12.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002571/1.401, allocations: 0.8487 MB / 0.7669 GB, free: 11.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009207/1.402, allocations: 11.95 kB / 0.7669 GB, free: 11.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002495/1.404, allocations: 152.8 kB / 0.767 GB, free: 11.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004107/1.405, allocations: 157.2 kB / 0.7672 GB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002244/1.405, allocations: 74.91 kB / 0.7673 GB, free: 11.36 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005873/1.411, allocations: 2.187 MB / 0.7694 GB, free: 9.469 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.411, allocations: 0 / 0.7694 GB, free: 9.469 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008164/1.419, allocations: 1.084 MB / 0.7705 GB, free: 8.391 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (228): * Single equations (assignments): 224 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000727/1.42, allocations: 159.3 kB / 0.7706 GB, free: 8.234 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01323/1.433, allocations: 6.881 MB / 0.7773 GB, free: 2.086 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.621e-05/1.433, allocations: 8 kB / 0.7773 GB, free: 2.078 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2386/1.672, allocations: 2.651 MB / 0.7799 GB, free: 92.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/1.674, allocations: 343 kB / 0.7803 GB, free: 92.53 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02096/1.695, allocations: 9.965 MB / 0.79 GB, free: 90.69 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00738/1.703, allocations: 3.907 MB / 0.7938 GB, free: 89.87 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006173/1.709, allocations: 2.318 MB / 0.7961 GB, free: 89.83 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/1.71, allocations: 286.2 kB / 0.7963 GB, free: 89.82 MB / 442.7 MB Notification: Performance of SimCode: time 6.61e-07/1.71, allocations: 0 / 0.7963 GB, free: 89.82 MB / 442.7 MB Notification: Performance of Templates: time 0.06498/1.775, allocations: 41.07 MB / 0.8365 GB, free: 87.92 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1)