Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001215/0.001215, allocations: 168.7 kB / 15.95 MB, free: 204 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.678/1.678, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.4245/0.4245, allocations: 40.01 MB / 310.4 MB, free: 9.961 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.0005826/0.0005828, allocations: 19.94 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1444, allocations: 57.96 MB / 436.8 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.3149/0.4594, allocations: 45.55 MB / 482.4 MB, free: 26.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02438/0.4838, allocations: 9.816 MB / 492.2 MB, free: 19.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01172/0.4956, allocations: 213.8 kB / 492.4 MB, free: 19.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009122/0.5047, allocations: 2.332 MB / 494.7 MB, free: 18.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02576/0.5305, allocations: 6.97 MB / 0.4899 GB, free: 15.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004172/0.5347, allocations: 0.511 MB / 0.4904 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009672/0.5444, allocations: 4.379 MB / 0.4947 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01032/0.5548, allocations: 4.514 MB / 0.4991 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003987/0.5588, allocations: 1.221 MB / 0.5003 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004695/0.5636, allocations: 1.938 MB / 0.5022 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009659/0.5646, allocations: 141.4 kB / 0.5023 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003162/0.5677, allocations: 0.7807 MB / 0.5031 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002854/0.5706, allocations: 1.664 MB / 0.5047 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001617/0.5722, allocations: 0.8316 MB / 0.5055 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008179/0.5804, allocations: 5.537 MB / 0.5109 GB, free: 6.961 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.168e-05/0.5805, allocations: 0 / 0.5109 GB, free: 6.961 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.5805, allocations: 0 / 0.5109 GB, free: 6.961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004107/0.5809, allocations: 0 / 0.5109 GB, free: 6.961 MB / 382.1 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.02008/0.601, allocations: 4.438 MB / 0.5153 GB, free: 4.035 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.6011, allocations: 9.25 kB / 0.5153 GB, free: 4.035 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008595/0.6097, allocations: 1.929 MB / 0.5172 GB, free: 3.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00865/0.6184, allocations: 2.315 MB / 0.5194 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003186/0.6187, allocations: 244.2 kB / 0.5197 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002239/0.621, allocations: 314.7 kB / 0.52 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02648/0.6475, allocations: 10.73 MB / 0.5304 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001938/0.6478, allocations: 47.55 kB / 0.5305 GB, free: 7.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005696/0.6483, allocations: 151.8 kB / 0.5306 GB, free: 7.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003695/0.652, allocations: 1.978 MB / 0.5326 GB, free: 5.238 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02508/0.6771, allocations: 9.622 MB / 0.5419 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05791/0.7351, allocations: 39.19 MB / 0.5802 GB, free: 3.332 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01267/0.7478, allocations: 3.945 MB / 0.5841 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003047/0.7509, allocations: 1.887 MB / 0.5859 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009866/0.752, allocations: 0.6789 MB / 0.5866 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.488e-05/0.752, allocations: 51.56 kB / 0.5866 GB, free: 12.49 MB / 462.1 MB Notification: Performance of pre-optimization done (n=151): time 4.849e-06/0.752, allocations: 4 kB / 0.5866 GB, free: 12.49 MB / 462.1 MB Notification: Performance of matching and sorting (n=157): time 0.04071/0.7928, allocations: 13.91 MB / 0.6002 GB, free: 14.46 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.06e-05/0.7929, allocations: 157.4 kB / 0.6004 GB, free: 14.27 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006275/0.7992, allocations: 4.046 MB / 0.6043 GB, free: 10.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004815/0.7997, allocations: 53.69 kB / 0.6044 GB, free: 10.14 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002521/0.8022, allocations: 3.125 MB / 0.6074 GB, free: 6.969 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001113/0.8034, allocations: 0.6134 MB / 0.608 GB, free: 6.348 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000266/0.8036, allocations: 112 kB / 0.6081 GB, free: 6.238 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003676/0.804, allocations: 0.55 MB / 0.6087 GB, free: 5.68 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003377/0.8074, allocations: 2.092 MB / 0.6107 GB, free: 3.582 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006497/0.8139, allocations: 5.788 MB / 0.6164 GB, free: 11.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005864/0.8198, allocations: 3.402 MB / 0.6197 GB, free: 8.531 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.498e-05/0.8199, allocations: 36 kB / 0.6197 GB, free: 8.496 MB / 494.1 MB Notification: Performance of matching and sorting (n=761) (initialization): time 0.02046/0.8404, allocations: 8.386 MB / 0.6279 GB, free: 100 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.8405, allocations: 64 kB / 0.628 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3074/1.148, allocations: 136.3 kB / 0.6281 GB, free: 139.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002587/1.151, allocations: 0.9255 MB / 0.629 GB, free: 139.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00478/1.155, allocations: 1.374 MB / 0.6303 GB, free: 139.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005906/1.161, allocations: 4.85 MB / 0.6351 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005209/1.167, allocations: 325.6 kB / 0.6354 GB, free: 138.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001049/1.168, allocations: 372.4 kB / 0.6357 GB, free: 138.2 MB / 494.1 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 (722): * Single equations (assignments): 718 * 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.004226/1.172, allocations: 2.093 MB / 0.6378 GB, free: 138 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006985/1.173, allocations: 344.8 kB / 0.6381 GB, free: 138 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005346/1.178, allocations: 3.177 MB / 0.6412 GB, free: 137.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-05/1.178, allocations: 16.44 kB / 0.6412 GB, free: 137.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/1.178, allocations: 6.469 kB / 0.6412 GB, free: 137.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/1.178, allocations: 6.562 kB / 0.6413 GB, free: 137.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/1.191, allocations: 7.966 MB / 0.649 GB, free: 134.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/1.191, allocations: 5 kB / 0.649 GB, free: 134.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/1.193, allocations: 313.6 kB / 0.6493 GB, free: 134.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001898/1.195, allocations: 0.7179 MB / 0.65 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/1.195, allocations: 35.48 kB / 0.6501 GB, free: 134.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005355/1.2, allocations: 4.431 MB / 0.6544 GB, free: 132 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.2, allocations: 2.938 kB / 0.6544 GB, free: 132 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009745/1.21, allocations: 5.73 MB / 0.66 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002189/1.212, allocations: 0.6362 MB / 0.6606 GB, free: 129.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005064/1.213, allocations: 23.25 kB / 0.6606 GB, free: 129.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/1.214, allocations: 94.23 kB / 0.6607 GB, free: 129.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000325/1.214, allocations: 103 kB / 0.6608 GB, free: 129.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001448/1.214, allocations: 52.83 kB / 0.6609 GB, free: 129.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005445/1.22, allocations: 2.53 MB / 0.6633 GB, free: 128.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.1e-07/1.22, allocations: 7.781 kB / 0.6634 GB, free: 128.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007252/1.227, allocations: 0.9611 MB / 0.6643 GB, free: 128.6 MB / 494.1 MB 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.0005087/1.228, allocations: 157.3 kB / 0.6644 GB, free: 128.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0119/1.24, allocations: 5.008 MB / 0.6693 GB, free: 126.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/1.24, allocations: 0 / 0.6693 GB, free: 126.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002729/1.242, allocations: 1.557 MB / 0.6709 GB, free: 126.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004277/1.247, allocations: 416.5 kB / 0.6713 GB, free: 126 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01928/1.266, allocations: 10.67 MB / 0.6817 GB, free: 120.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004461/1.27, allocations: 3.25 MB / 0.6848 GB, free: 119.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005571/1.276, allocations: 1.888 MB / 0.6867 GB, free: 118.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007369/1.277, allocations: 270.7 kB / 0.6869 GB, free: 118.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.183e-06/1.277, allocations: 0 / 0.6869 GB, free: 118.7 MB / 494.1 MB Notification: Performance of Templates: time 0.06347/1.34, allocations: 34.66 MB / 0.7208 GB, free: 87.07 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) Environment - environmentSimulation: