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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001438/0.001438, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.679/1.679, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.3778/0.3778, allocations: 38.04 MB / 308.4 MB, free: 10.42 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.0006752/0.0006752, allocations: 12 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1497, allocations: 57.52 MB / 433.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.3287/0.4785, allocations: 56.71 MB / 490.6 MB, free: 20.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0338/0.5123, allocations: 13.02 MB / 0.4919 GB, free: 12.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02012/0.5325, allocations: 275.6 kB / 0.4921 GB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01122/0.5438, allocations: 2.82 MB / 0.4949 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03016/0.574, allocations: 8.1 MB / 0.5028 GB, free: 7.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004996/0.579, allocations: 0.6221 MB / 0.5034 GB, free: 6.969 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0066/0.5856, allocations: 2.508 MB / 0.5058 GB, free: 5.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0105/0.5962, allocations: 5.966 MB / 0.5117 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004332/0.6006, allocations: 1.213 MB / 0.5128 GB, free: 3.074 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004347/0.605, allocations: 1.604 MB / 0.5144 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001078/0.6061, allocations: 177.6 kB / 0.5146 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002802/0.6089, allocations: 0.7918 MB / 0.5154 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002983/0.6119, allocations: 1.84 MB / 0.5172 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002497/0.6144, allocations: 1.003 MB / 0.5181 GB, free: 1.109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01092/0.6253, allocations: 6.648 MB / 0.5246 GB, free: 12.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.6254, allocations: 3.938 kB / 0.5246 GB, free: 12.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.6254, allocations: 0 / 0.5246 GB, free: 12.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004697/0.6259, allocations: 4 kB / 0.5246 GB, free: 12.72 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.0231/0.649, allocations: 5.556 MB / 0.5301 GB, free: 9.113 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.517e-05/0.6491, allocations: 9.031 kB / 0.5301 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/0.6604, allocations: 2.34 MB / 0.5324 GB, free: 7.113 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008743/0.6692, allocations: 2.941 MB / 0.5352 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003319/0.6696, allocations: 301.6 kB / 0.5355 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002366/0.672, allocations: 411.7 kB / 0.5359 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03863/0.7106, allocations: 12.98 MB / 0.5486 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003189/0.711, allocations: 51.58 kB / 0.5486 GB, free: 5.641 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001757/0.7128, allocations: 195.8 kB / 0.5488 GB, free: 5.449 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005021/0.7178, allocations: 2.367 MB / 0.5511 GB, free: 3.082 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02807/0.7459, allocations: 11.93 MB / 0.5628 GB, free: 7.133 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08213/0.8281, allocations: 48.13 MB / 0.6098 GB, free: 5.887 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01954/0.8477, allocations: 5.837 MB / 0.6155 GB, free: 15.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/0.8491, allocations: 0.7065 MB / 0.6162 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.987e-05/0.8491, allocations: 63.83 kB / 0.6162 GB, free: 15.01 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 7.263e-06/0.8492, allocations: 0 / 0.6162 GB, free: 15.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=255): time 0.3561/1.205, allocations: 29.26 MB / 0.6448 GB, free: 140 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.689e-05/1.205, allocations: 155.4 kB / 0.645 GB, free: 139.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006429/1.212, allocations: 4.626 MB / 0.6495 GB, free: 138.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007616/1.213, allocations: 63.48 kB / 0.6495 GB, free: 138.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002038/1.215, allocations: 3.546 MB / 0.653 GB, free: 135.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001183/1.216, allocations: 0.9533 MB / 0.6539 GB, free: 134.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003254/1.216, allocations: 140.2 kB / 0.6541 GB, free: 134.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003113/1.216, allocations: 0.5957 MB / 0.6546 GB, free: 134.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004539/1.221, allocations: 3.419 MB / 0.658 GB, free: 133.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006986/1.228, allocations: 7.34 MB / 0.6651 GB, free: 126.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009086/1.237, allocations: 4.891 MB / 0.6699 GB, free: 125 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001517/1.237, allocations: 39.19 kB / 0.67 GB, free: 125 MB / 494.1 MB Notification: Performance of matching and sorting (n=892) (initialization): time 0.03011/1.267, allocations: 11.7 MB / 0.6814 GB, free: 120.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004977/1.268, allocations: 64.59 kB / 0.6814 GB, free: 120.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006034/1.269, allocations: 141.8 kB / 0.6816 GB, free: 120.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00387/1.272, allocations: 1.15 MB / 0.6827 GB, free: 120.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007804/1.28, allocations: 1.78 MB / 0.6844 GB, free: 120.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008947/1.289, allocations: 6.115 MB / 0.6904 GB, free: 117.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008044/1.297, allocations: 425.9 kB / 0.6908 GB, free: 117.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00236/1.3, allocations: 457.2 kB / 0.6913 GB, free: 117.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * Number of states: 0 () * Number of discrete variables: 42 (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.groundColor[3],world.groundColor[2],world.groundColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 849 * 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.009298/1.309, allocations: 2.433 MB / 0.6936 GB, free: 116.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001926/1.311, allocations: 412.4 kB / 0.694 GB, free: 115.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/1.325, allocations: 6.575 MB / 0.7004 GB, free: 113.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.886e-05/1.325, allocations: 28 kB / 0.7005 GB, free: 113.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-05/1.325, allocations: 4 kB / 0.7005 GB, free: 113.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.261e-05/1.325, allocations: 14.88 kB / 0.7005 GB, free: 113.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.033/1.358, allocations: 13.7 MB / 0.7139 GB, free: 102.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.588e-05/1.358, allocations: 4 kB / 0.7139 GB, free: 102.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003287/1.362, allocations: 0.6004 MB / 0.7145 GB, free: 101.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002504/1.364, allocations: 0.9451 MB / 0.7154 GB, free: 100.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006936/1.365, allocations: 97.06 kB / 0.7155 GB, free: 100.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006577/1.371, allocations: 5.833 MB / 0.7212 GB, free: 94.81 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/1.371, allocations: 4 kB / 0.7212 GB, free: 94.81 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01545/1.387, allocations: 11.51 MB / 0.7324 GB, free: 83.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003131/1.39, allocations: 0.9562 MB / 0.7333 GB, free: 82.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008758/1.391, allocations: 44 kB / 0.7334 GB, free: 82.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002378/1.393, allocations: 191.8 kB / 0.7336 GB, free: 81.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005033/1.394, allocations: 193.6 kB / 0.7338 GB, free: 81.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002515/1.394, allocations: 115.9 kB / 0.7339 GB, free: 81.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004699/1.399, allocations: 2.921 MB / 0.7367 GB, free: 78.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.31e-07/1.399, allocations: 2.906 kB / 0.7367 GB, free: 78.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008004/1.407, allocations: 1.287 MB / 0.738 GB, free: 77.34 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 226 * 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.0006887/1.408, allocations: 204.4 kB / 0.7382 GB, free: 77.14 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01398/1.422, allocations: 8.094 MB / 0.7461 GB, free: 69.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/1.422, allocations: 0 / 0.7461 GB, free: 69.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004438/1.426, allocations: 3.191 MB / 0.7492 GB, free: 65.87 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003554/1.43, allocations: 465 kB / 0.7496 GB, free: 65.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02586/1.456, allocations: 14.67 MB / 0.764 GB, free: 50.69 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004089/1.46, allocations: 3.91 MB / 0.7678 GB, free: 46.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006374/1.466, allocations: 2.373 MB / 0.7701 GB, free: 44.37 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001549/1.468, allocations: 435.1 kB / 0.7705 GB, free: 43.94 MB / 494.1 MB Notification: Performance of SimCode: time 1.122e-06/1.468, allocations: 0 / 0.7705 GB, free: 43.94 MB / 494.1 MB Notification: Performance of Templates: time 0.3657/1.833, allocations: 54.75 MB / 0.824 GB, free: 123.2 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: