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.006009/0.006009, allocations: 101.6 kB / 15.73 MB, free: 5.539 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.001225/0.001225, allocations: 193.1 kB / 16.67 MB, free: 5.469 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.586/1.586, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2218/0.2218, allocations: 39.96 MB / 309.9 MB, free: 4.02 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.001501/0.001501, allocations: 69.78 kB / 435.8 MB, free: 11.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1723, allocations: 56.88 MB / 492.7 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01344/0.1858, allocations: 11.81 MB / 0.4926 GB, free: 6.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.196, allocations: 3.918 MB / 0.4965 GB, free: 2.973 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002705/0.1988, allocations: 67.81 kB / 0.4965 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005437/0.2043, allocations: 2.706 MB / 0.4992 GB, free: 196 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005584/0.2099, allocations: 1.891 MB / 0.501 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002096/0.212, allocations: 0.6823 MB / 0.5017 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006689/0.2187, allocations: 3.761 MB / 0.5054 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004518/0.2233, allocations: 3.793 MB / 0.5091 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003249/0.2266, allocations: 1.542 MB / 0.5106 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003806/0.2304, allocations: 2.142 MB / 0.5127 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001074/0.2315, allocations: 344 kB / 0.513 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002395/0.2339, allocations: 1.073 MB / 0.514 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.363/0.5969, allocations: 1.936 MB / 0.5159 GB, free: 9.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006/0.603, allocations: 2.251 MB / 0.5181 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01508/0.6181, allocations: 7.204 MB / 0.5252 GB, free: 8.086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.6182, allocations: 0 / 0.5252 GB, free: 8.086 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.6182, allocations: 0 / 0.5252 GB, free: 8.086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003974/0.6186, allocations: 0 / 0.5252 GB, free: 8.086 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.03092/0.6495, allocations: 5.333 MB / 0.5304 GB, free: 6.152 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.786e-05/0.6496, allocations: 13.2 kB / 0.5304 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009354/0.659, allocations: 1.89 MB / 0.5322 GB, free: 5.863 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008666/0.6677, allocations: 2.391 MB / 0.5346 GB, free: 5.164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003684/0.6681, allocations: 241.3 kB / 0.5348 GB, free: 5.086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002416/0.6705, allocations: 319.5 kB / 0.5351 GB, free: 5.012 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02796/0.6985, allocations: 10.74 MB / 0.5456 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001463/0.6987, allocations: 45.94 kB / 0.5456 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007864/0.6995, allocations: 166.7 kB / 0.5458 GB, free: 0 / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00353/0.703, allocations: 1.985 MB / 0.5477 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0221/0.7252, allocations: 9.635 MB / 0.5571 GB, free: 9.254 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07073/0.796, allocations: 39.08 MB / 0.5953 GB, free: 1.625 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01677/0.8128, allocations: 3.939 MB / 0.5991 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004857/0.8178, allocations: 1.89 MB / 0.601 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001748/0.8196, allocations: 0.6771 MB / 0.6016 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001144/0.8197, allocations: 54.66 kB / 0.6017 GB, free: 10.81 MB / 462.1 MB Notification: Performance of pre-optimization done (n=151): time 9.458e-06/0.8198, allocations: 0 / 0.6017 GB, free: 10.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=157): time 0.05303/0.8728, allocations: 13.93 MB / 0.6153 GB, free: 12.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.8729, allocations: 152.6 kB / 0.6154 GB, free: 12.62 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008976/0.8819, allocations: 4.074 MB / 0.6194 GB, free: 8.523 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005679/0.8825, allocations: 49.7 kB / 0.6195 GB, free: 8.469 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002854/0.8854, allocations: 3.12 MB / 0.6225 GB, free: 5.348 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001399/0.8868, allocations: 0.6262 MB / 0.6231 GB, free: 4.73 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001992/0.8888, allocations: 1.194 MB / 0.6243 GB, free: 3.523 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.8889, allocations: 309 kB / 0.6246 GB, free: 3.219 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003353/0.8923, allocations: 2.1 MB / 0.6266 GB, free: 1.113 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006734/0.8991, allocations: 5.811 MB / 0.6323 GB, free: 9.512 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01213/0.9112, allocations: 8.574 MB / 0.6407 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001245/0.9114, allocations: 36 kB / 0.6407 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=761) (initialization): time 0.01899/0.9304, allocations: 8.414 MB / 0.6489 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001558/0.9306, allocations: 63.94 kB / 0.649 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002153/0.9308, allocations: 132 kB / 0.6491 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0028/0.9336, allocations: 0.9068 MB / 0.65 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005671/0.9393, allocations: 1.376 MB / 0.6514 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008171/0.9475, allocations: 5.194 MB / 0.6564 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006222/0.9538, allocations: 323.7 kB / 0.6567 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00171/0.9556, allocations: 377.9 kB / 0.6571 GB, free: 14.85 MB / 0.5137 GB 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 (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.007819/0.9634, allocations: 2.091 MB / 0.6591 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001543/0.965, allocations: 347.4 kB / 0.6595 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009496/0.9745, allocations: 3.163 MB / 0.6626 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.655e-05/0.9746, allocations: 20 kB / 0.6626 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-05/0.9746, allocations: 4 kB / 0.6626 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.724e-05/0.9747, allocations: 7.969 kB / 0.6626 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02686/1.002, allocations: 7.944 MB / 0.6703 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.648e-05/1.002, allocations: 4 kB / 0.6704 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/1.003, allocations: 303.3 kB / 0.6706 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002355/1.006, allocations: 0.7187 MB / 0.6713 GB, free: 184 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003214/1.006, allocations: 35.97 kB / 0.6714 GB, free: 148 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006823/1.013, allocations: 4.759 MB / 0.676 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.013, allocations: 4.031 kB / 0.676 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01035/1.023, allocations: 5.729 MB / 0.6816 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002407/1.026, allocations: 0.6331 MB / 0.6822 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005788/1.026, allocations: 28 kB / 0.6823 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/1.028, allocations: 87.89 kB / 0.6824 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003432/1.028, allocations: 104.8 kB / 0.6825 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/1.028, allocations: 55.17 kB / 0.6825 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004607/1.033, allocations: 2.55 MB / 0.685 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.01e-07/1.033, allocations: 0 / 0.685 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006007/1.039, allocations: 0.9609 MB / 0.6859 GB, free: 1.043 MB / 0.5294 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 (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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005575/1.039, allocations: 161.4 kB / 0.6861 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009127/1.049, allocations: 5.029 MB / 0.691 GB, free: 11.87 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.049, allocations: 0.9375 kB / 0.691 GB, free: 11.87 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002431/1.051, allocations: 1.546 MB / 0.6925 GB, free: 10.31 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003157/1.054, allocations: 436.4 kB / 0.6929 GB, free: 9.883 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01899/1.073, allocations: 8.987 MB / 0.7017 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003831/1.077, allocations: 3.237 MB / 0.7049 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00445/1.082, allocations: 1.896 MB / 0.7067 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007468/1.082, allocations: 267.3 kB / 0.707 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of SimCode: time 1.052e-06/1.082, allocations: 4 kB / 0.707 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of Templates: time 0.3654/1.448, allocations: 33.81 MB / 0.74 GB, free: 201.5 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (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)