Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_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.2_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.001363/0.001363, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001671/0.001671, allocations: 193.8 kB / 16.13 MB, free: 6.652 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.683/1.683, allocations: 205.1 MB / 222 MB, free: 4.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3889/0.3889, allocations: 39.94 MB / 309.3 MB, free: 9.695 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.2. 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.001802/0.001802, allocations: 68.38 kB / 376.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.173, allocations: 56.89 MB / 433.8 MB, free: 4.418 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.3572/0.5303, allocations: 66.26 MB / 0.4883 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03507/0.5655, allocations: 13.05 MB / 0.5011 GB, free: 3.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02057/0.5861, allocations: 280.2 kB / 0.5014 GB, free: 3.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007969/0.5942, allocations: 3.737 MB / 0.505 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007838/0.6021, allocations: 1.973 MB / 0.5069 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002732/0.6048, allocations: 0.7516 MB / 0.5077 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01224/0.6171, allocations: 6.504 MB / 0.514 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01036/0.6275, allocations: 4.903 MB / 0.5188 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005061/0.6326, allocations: 1.719 MB / 0.5205 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006555/0.6392, allocations: 2.759 MB / 0.5232 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00211/0.6414, allocations: 324.9 kB / 0.5235 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003907/0.6453, allocations: 1.101 MB / 0.5246 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003447/0.6487, allocations: 2.249 MB / 0.5268 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005985/0.6548, allocations: 2.657 MB / 0.5293 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.6656, allocations: 8.243 MB / 0.5374 GB, free: 15.05 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.6656, allocations: 4 kB / 0.5374 GB, free: 15.05 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6656, allocations: 0 / 0.5374 GB, free: 15.05 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000352/0.666, allocations: 4 kB / 0.5374 GB, free: 15.04 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02397/0.69, allocations: 6.447 MB / 0.5437 GB, free: 8.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.69, allocations: 12.03 kB / 0.5437 GB, free: 8.508 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007589/0.6976, allocations: 1.986 MB / 0.5457 GB, free: 6.512 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006793/0.7045, allocations: 2.78 MB / 0.5484 GB, free: 3.672 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004289/0.7049, allocations: 303.8 kB / 0.5487 GB, free: 3.371 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002219/0.7072, allocations: 403.8 kB / 0.549 GB, free: 2.977 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03689/0.7441, allocations: 12.9 MB / 0.5616 GB, free: 5.336 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000358/0.7445, allocations: 43.59 kB / 0.5617 GB, free: 5.293 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002407/0.7469, allocations: 195.8 kB / 0.5619 GB, free: 5.102 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005828/0.7528, allocations: 2.374 MB / 0.5642 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03088/0.7837, allocations: 11.8 MB / 0.5757 GB, free: 6.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08342/0.8672, allocations: 48.13 MB / 0.6227 GB, free: 5.652 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3062/1.173, allocations: 5.711 MB / 0.6283 GB, free: 145.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005686/1.179, allocations: 3.601 MB / 0.6318 GB, free: 144.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009794/1.18, allocations: 0.7029 MB / 0.6325 GB, free: 144.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.224e-05/1.18, allocations: 56.38 kB / 0.6326 GB, free: 144.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 7.123e-06/1.18, allocations: 0 / 0.6326 GB, free: 144.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=255): time 0.07735/1.258, allocations: 28.48 MB / 0.6604 GB, free: 135.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/1.258, allocations: 157 kB / 0.6605 GB, free: 135.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008694/1.266, allocations: 4.525 MB / 0.6649 GB, free: 133.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009025/1.267, allocations: 60.92 kB / 0.665 GB, free: 133.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002544/1.27, allocations: 3.544 MB / 0.6685 GB, free: 130.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001586/1.272, allocations: 0.9539 MB / 0.6694 GB, free: 130 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002573/1.274, allocations: 1.474 MB / 0.6708 GB, free: 129.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.213e-05/1.274, allocations: 306.4 kB / 0.6711 GB, free: 129.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005771/1.28, allocations: 3.451 MB / 0.6745 GB, free: 128 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008341/1.288, allocations: 7.389 MB / 0.6817 GB, free: 121.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01353/1.302, allocations: 11.68 MB / 0.6931 GB, free: 113.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001112/1.302, allocations: 41.75 kB / 0.6931 GB, free: 113.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02034/1.322, allocations: 11.78 MB / 0.7047 GB, free: 104.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001605/1.323, allocations: 64 kB / 0.7047 GB, free: 104.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002881/1.323, allocations: 136.9 kB / 0.7048 GB, free: 104.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002712/1.326, allocations: 1.123 MB / 0.7059 GB, free: 103.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006752/1.332, allocations: 1.779 MB / 0.7077 GB, free: 102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006739/1.339, allocations: 6.018 MB / 0.7136 GB, free: 96.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008059/1.347, allocations: 414.8 kB / 0.714 GB, free: 95.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001776/1.349, allocations: 463.8 kB / 0.7144 GB, free: 95.43 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 (857): * Single equations (assignments): 853 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00588/1.355, allocations: 2.438 MB / 0.7168 GB, free: 92.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001751/1.357, allocations: 411.3 kB / 0.7172 GB, free: 92.58 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/1.367, allocations: 6.555 MB / 0.7236 GB, free: 86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-05/1.367, allocations: 28 kB / 0.7236 GB, free: 85.97 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.288e-05/1.367, allocations: 4 kB / 0.7236 GB, free: 85.97 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.311e-05/1.367, allocations: 15.89 kB / 0.7236 GB, free: 85.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02072/1.388, allocations: 13.76 MB / 0.737 GB, free: 72.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/1.388, allocations: 4 kB / 0.7371 GB, free: 72.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002783/1.391, allocations: 0.5934 MB / 0.7376 GB, free: 71.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002184/1.393, allocations: 0.9564 MB / 0.7386 GB, free: 70.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002851/1.393, allocations: 87.89 kB / 0.7386 GB, free: 70.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006081/1.399, allocations: 5.732 MB / 0.7442 GB, free: 64.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.399, allocations: 4 kB / 0.7442 GB, free: 64.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01322/1.413, allocations: 11.06 MB / 0.7551 GB, free: 53.47 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002606/1.415, allocations: 0.9406 MB / 0.756 GB, free: 52.51 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000803/1.416, allocations: 47.94 kB / 0.756 GB, free: 52.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002397/1.418, allocations: 187.4 kB / 0.7562 GB, free: 52.28 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005969/1.419, allocations: 189.6 kB / 0.7564 GB, free: 52.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002674/1.419, allocations: 115.8 kB / 0.7565 GB, free: 51.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004705/1.424, allocations: 2.839 MB / 0.7593 GB, free: 49.14 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.424, allocations: 0 / 0.7593 GB, free: 49.14 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007662/1.432, allocations: 1.274 MB / 0.7605 GB, free: 47.87 MB / 494.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005387/1.432, allocations: 189.3 kB / 0.7607 GB, free: 47.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01142/1.444, allocations: 8.12 MB / 0.7686 GB, free: 39.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/1.444, allocations: 0 / 0.7686 GB, free: 39.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003932/1.448, allocations: 3.215 MB / 0.7718 GB, free: 36.36 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003584/1.451, allocations: 490.1 kB / 0.7722 GB, free: 35.89 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02051/1.472, allocations: 15.05 MB / 0.7869 GB, free: 20.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003171/1.475, allocations: 3.805 MB / 0.7906 GB, free: 16.96 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005408/1.48, allocations: 2.369 MB / 0.7929 GB, free: 14.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001351/1.482, allocations: 427.1 kB / 0.7934 GB, free: 14.17 MB / 494.1 MB Notification: Performance of SimCode: time 7.11e-07/1.482, allocations: 4 kB / 0.7934 GB, free: 14.16 MB / 494.1 MB Notification: Performance of Templates: time 0.3528/1.835, allocations: 56.25 MB / 0.8483 GB, free: 136.8 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1)