Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00157/0.00157, allocations: 186.4 kB / 16.4 MB, free: 5.621 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.044/2.044, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001201/0.001201, allocations: 98.91 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2909/0.2909, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004732, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1199, allocations: 58.86 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.3961/0.5161, allocations: 43.02 MB / 0.5207 GB, free: 9.887 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02896/0.5451, allocations: 10.24 MB / 0.5308 GB, free: 9.703 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0115/0.5566, allocations: 208.5 kB / 0.531 GB, free: 9.703 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009419/0.5661, allocations: 2.116 MB / 0.533 GB, free: 9.34 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02675/0.5929, allocations: 6.21 MB / 0.5391 GB, free: 8.492 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004034/0.597, allocations: 0.508 MB / 0.5396 GB, free: 8.352 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00599/0.603, allocations: 2.12 MB / 0.5416 GB, free: 7.906 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009793/0.6129, allocations: 4.494 MB / 0.546 GB, free: 6.547 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002951/0.6159, allocations: 0.9971 MB / 0.547 GB, free: 6.207 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003386/0.6193, allocations: 1.363 MB / 0.5483 GB, free: 5.699 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001317/0.6207, allocations: 141.9 kB / 0.5485 GB, free: 5.699 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003493/0.6243, allocations: 0.7596 MB / 0.5492 GB, free: 5.516 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003018/0.6273, allocations: 1.545 MB / 0.5507 GB, free: 5.039 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001828/0.6292, allocations: 0.8362 MB / 0.5515 GB, free: 4.836 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00878/0.638, allocations: 5.54 MB / 0.557 GB, free: 1.816 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.6381, allocations: 4 kB / 0.557 GB, free: 1.812 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.806e-06/0.6381, allocations: 0 / 0.557 GB, free: 1.812 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002939/0.6384, allocations: 0 / 0.557 GB, free: 1.812 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.02882/0.6673, allocations: 4.558 MB / 0.5614 GB, free: 15.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.6673, allocations: 8.031 kB / 0.5614 GB, free: 15.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01474/0.6821, allocations: 2.231 MB / 0.5636 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008059/0.6902, allocations: 2.53 MB / 0.5661 GB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003308/0.6906, allocations: 236.4 kB / 0.5663 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001958/0.6925, allocations: 316 kB / 0.5666 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03573/0.7283, allocations: 10.79 MB / 0.5771 GB, free: 0.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000269/0.7286, allocations: 43.55 kB / 0.5772 GB, free: 468 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001668/0.7303, allocations: 158.9 kB / 0.5773 GB, free: 348 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006631/0.737, allocations: 1.981 MB / 0.5793 GB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03458/0.7716, allocations: 9.696 MB / 0.5887 GB, free: 4.66 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08061/0.8523, allocations: 39.29 MB / 0.6271 GB, free: 12.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02641/0.8788, allocations: 3.967 MB / 0.631 GB, free: 8.379 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001591/0.8804, allocations: 0.6858 MB / 0.6316 GB, free: 7.594 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.744e-05/0.8806, allocations: 51.56 kB / 0.6317 GB, free: 7.535 MB / 442.7 MB Notification: Performance of pre-optimization done (n=151): time 6.432e-06/0.8806, allocations: 0 / 0.6317 GB, free: 7.535 MB / 442.7 MB Notification: Performance of matching and sorting (n=157): time 0.08522/0.9658, allocations: 14.28 MB / 0.6456 GB, free: 9.098 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.987e-05/0.9659, allocations: 153.4 kB / 0.6458 GB, free: 8.918 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01017/0.9761, allocations: 4.185 MB / 0.6499 GB, free: 4.711 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005028/0.9767, allocations: 45.7 kB / 0.6499 GB, free: 4.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003442/0.9801, allocations: 3.051 MB / 0.6529 GB, free: 1.625 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001274/0.9815, allocations: 0.6178 MB / 0.6535 GB, free: 1.012 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007771/0.9823, allocations: 120 kB / 0.6536 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005896/0.9829, allocations: 0.5546 MB / 0.6541 GB, free: 336 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006451/0.9894, allocations: 2.076 MB / 0.6562 GB, free: 14.25 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0101/0.9995, allocations: 5.76 MB / 0.6618 GB, free: 6.625 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009149/1.009, allocations: 3.381 MB / 0.6651 GB, free: 3.242 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001311/1.009, allocations: 40 kB / 0.6651 GB, free: 3.203 MB / 474.7 MB Notification: Performance of matching and sorting (n=757) (initialization): time 0.02587/1.035, allocations: 8.228 MB / 0.6732 GB, free: 10.97 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001319/1.035, allocations: 64 kB / 0.6732 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000228/1.035, allocations: 128 kB / 0.6734 GB, free: 10.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004695/1.04, allocations: 0.9413 MB / 0.6743 GB, free: 9.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008526/1.048, allocations: 1.368 MB / 0.6756 GB, free: 8.469 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/1.06, allocations: 4.971 MB / 0.6805 GB, free: 3.363 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006541/1.067, allocations: 326.5 kB / 0.6808 GB, free: 3.047 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001396/1.068, allocations: 368 kB / 0.6811 GB, free: 2.688 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 36 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (718): * Single equations (assignments): 714 * 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.006159/1.075, allocations: 2.083 MB / 0.6832 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009931/1.076, allocations: 343.5 kB / 0.6835 GB, free: 256 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/1.087, allocations: 3.184 MB / 0.6866 GB, free: 13.05 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.245e-05/1.087, allocations: 16 kB / 0.6866 GB, free: 13.03 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/1.087, allocations: 5.531 kB / 0.6866 GB, free: 13.03 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.221e-05/1.087, allocations: 7.969 kB / 0.6866 GB, free: 13.02 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0265/1.114, allocations: 7.974 MB / 0.6944 GB, free: 4.996 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.75e-05/1.114, allocations: 4 kB / 0.6944 GB, free: 4.992 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003103/1.117, allocations: 311.6 kB / 0.6947 GB, free: 4.688 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004264/1.121, allocations: 0.7263 MB / 0.6954 GB, free: 3.957 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004725/1.122, allocations: 35.97 kB / 0.6955 GB, free: 3.922 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01079/1.133, allocations: 4.544 MB / 0.6999 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/1.133, allocations: 4.031 kB / 0.6999 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0168/1.149, allocations: 5.875 MB / 0.7056 GB, free: 9.289 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002489/1.152, allocations: 0.6378 MB / 0.7063 GB, free: 8.629 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00105/1.153, allocations: 24 kB / 0.7063 GB, free: 8.605 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003002/1.156, allocations: 95.88 kB / 0.7064 GB, free: 8.512 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007987/1.157, allocations: 108.8 kB / 0.7065 GB, free: 8.406 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002629/1.157, allocations: 53.5 kB / 0.7065 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00725/1.165, allocations: 2.636 MB / 0.7091 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.22e-07/1.165, allocations: 0 / 0.7091 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007313/1.172, allocations: 0.9795 MB / 0.7101 GB, free: 4.73 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (126): * Single equations (assignments): 122 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000973/1.173, allocations: 177.3 kB / 0.7102 GB, free: 4.551 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.3364/1.509, allocations: 4.988 MB / 0.7151 GB, free: 181.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/1.509, allocations: 0 / 0.7151 GB, free: 181.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004452/1.514, allocations: 1.559 MB / 0.7166 GB, free: 180.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003681/1.518, allocations: 396.9 kB / 0.717 GB, free: 180.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02828/1.546, allocations: 11.1 MB / 0.7278 GB, free: 176.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008841/1.555, allocations: 3.335 MB / 0.7311 GB, free: 175.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001992/1.557, allocations: 310.4 kB / 0.7314 GB, free: 175.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.814e-06/1.557, allocations: 4 kB / 0.7314 GB, free: 175.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.1397/1.697, allocations: 72.95 MB / 0.8026 GB, free: 116.2 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1)