Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.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.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001502, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00171/0.001711, allocations: 195.3 kB / 16.54 MB, free: 6.672 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.661/1.661, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.3576/0.3576, allocations: 37.99 MB / 307.7 MB, free: 10.01 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.00159/0.00159, allocations: 70.39 kB / 375.2 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1369, allocations: 56.45 MB / 431.7 MB, free: 6.629 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.01611/0.1531, allocations: 15.96 MB / 447.7 MB, free: 6.594 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.1649, allocations: 3.862 MB / 451.5 MB, free: 2.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004204/0.1692, allocations: 83.75 kB / 451.6 MB, free: 2.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2508/0.4201, allocations: 3.088 MB / 454.7 MB, free: 36.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005311/0.4254, allocations: 1.753 MB / 456.4 MB, free: 36.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.4267, allocations: 458.7 kB / 456.9 MB, free: 36.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005803/0.4325, allocations: 4.036 MB / 460.9 MB, free: 36.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004259/0.4368, allocations: 3.595 MB / 464.5 MB, free: 35.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00345/0.4403, allocations: 1.894 MB / 466.4 MB, free: 35.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004258/0.4445, allocations: 2.999 MB / 469.4 MB, free: 34.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001422/0.446, allocations: 0.4884 MB / 469.9 MB, free: 34.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002305/0.4483, allocations: 0.9171 MB / 470.8 MB, free: 34.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002032/0.4504, allocations: 2.255 MB / 473.1 MB, free: 33.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004969/0.4553, allocations: 2.794 MB / 475.9 MB, free: 31.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009161/0.4645, allocations: 8.439 MB / 484.3 MB, free: 28.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.4646, allocations: 0 / 484.3 MB, free: 28.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.4646, allocations: 0 / 484.3 MB, free: 28.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003341/0.4649, allocations: 4 kB / 484.3 MB, free: 28.48 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: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.09621/0.5611, allocations: 11.1 MB / 495.4 MB, free: 25.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.489e-05/0.5612, allocations: 12.73 kB / 495.4 MB, free: 25.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009363/0.5706, allocations: 1.861 MB / 497.3 MB, free: 24.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009017/0.5797, allocations: 3.249 MB / 0.4888 GB, free: 23.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003661/0.5801, allocations: 290.9 kB / 0.4891 GB, free: 23.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003375/0.5835, allocations: 410.7 kB / 0.4895 GB, free: 23.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05892/0.6424, allocations: 19.55 MB / 0.5086 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004161/0.6429, allocations: 55.44 kB / 0.5086 GB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003561/0.6465, allocations: 186.8 kB / 0.5088 GB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00568/0.6522, allocations: 2.343 MB / 0.5111 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0577/0.7099, allocations: 22.38 MB / 0.5329 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09146/0.8014, allocations: 52.52 MB / 0.5842 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07113/0.8726, allocations: 9.172 MB / 0.5932 GB, free: 1.852 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004653/0.8773, allocations: 3.021 MB / 0.5961 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001958/0.8793, allocations: 353.1 kB / 0.5965 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.731e-05/0.8794, allocations: 59.88 kB / 0.5965 GB, free: 14.43 MB / 478.1 MB Notification: Performance of pre-optimization done (n=212): time 5.55e-06/0.8794, allocations: 0 / 0.5965 GB, free: 14.43 MB / 478.1 MB Notification: Performance of matching and sorting (n=212): time 0.1382/1.018, allocations: 16.09 MB / 0.6122 GB, free: 14.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.7e-05/1.018, allocations: 149.8 kB / 0.6124 GB, free: 14.15 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01018/1.028, allocations: 4.694 MB / 0.617 GB, free: 9.441 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006993/1.029, allocations: 60.28 kB / 0.617 GB, free: 9.379 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002963/1.032, allocations: 3.491 MB / 0.6204 GB, free: 5.887 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00148/1.033, allocations: 0.8338 MB / 0.6213 GB, free: 5.059 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003909/1.037, allocations: 1.549 MB / 0.6228 GB, free: 3.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/1.037, allocations: 301.1 kB / 0.6231 GB, free: 3.203 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00534/1.043, allocations: 3.168 MB / 0.6261 GB, free: 32 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2727/1.315, allocations: 7.463 MB / 0.6334 GB, free: 147.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01205/1.327, allocations: 11.49 MB / 0.6447 GB, free: 138.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002183/1.328, allocations: 49.03 kB / 0.6447 GB, free: 138.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=879) (initialization): time 0.02119/1.349, allocations: 10.61 MB / 0.6551 GB, free: 135.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003166/1.349, allocations: 70.72 kB / 0.6551 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005849/1.35, allocations: 151.2 kB / 0.6553 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006022/1.35, allocations: 200.9 kB / 0.6555 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007066/1.358, allocations: 1.804 MB / 0.6572 GB, free: 135.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004746/1.358, allocations: 298.2 kB / 0.6575 GB, free: 135.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007197/1.365, allocations: 0.9315 MB / 0.6584 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002025/1.367, allocations: 0.5132 MB / 0.6589 GB, free: 134.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 42 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (855): * Single equations (assignments): 852 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008592/1.376, allocations: 2.305 MB / 0.6612 GB, free: 133.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002336/1.378, allocations: 401.7 kB / 0.6616 GB, free: 133.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01181/1.39, allocations: 4.865 MB / 0.6663 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.999e-05/1.39, allocations: 25.73 kB / 0.6663 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-05/1.39, allocations: 6.453 kB / 0.6663 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.186e-05/1.39, allocations: 11.75 kB / 0.6664 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02446/1.415, allocations: 11.53 MB / 0.6776 GB, free: 128.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-05/1.415, allocations: 7.594 kB / 0.6776 GB, free: 128.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002714/1.418, allocations: 0.5974 MB / 0.6782 GB, free: 128.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.956e-05/1.418, allocations: 19.38 kB / 0.6782 GB, free: 128.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003668/1.418, allocations: 141.8 kB / 0.6784 GB, free: 128.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-05/1.418, allocations: 23.27 kB / 0.6784 GB, free: 128.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/1.418, allocations: 15.53 kB / 0.6784 GB, free: 128.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01036/1.428, allocations: 8.907 MB / 0.6871 GB, free: 122 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001783/1.43, allocations: 0.5031 MB / 0.6876 GB, free: 121.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00147/1.432, allocations: 44 kB / 0.6876 GB, free: 121.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003008/1.435, allocations: 87.5 kB / 0.6877 GB, free: 121.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004414/1.435, allocations: 243.3 kB / 0.6879 GB, free: 121.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003172/1.436, allocations: 161.1 kB / 0.6881 GB, free: 121.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005403/1.441, allocations: 2.955 MB / 0.691 GB, free: 118.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.31e-07/1.441, allocations: 0 / 0.691 GB, free: 118.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008744/1.45, allocations: 1.379 MB / 0.6923 GB, free: 117.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.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 (208): * Single equations (assignments): 205 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009373/1.451, allocations: 193.5 kB / 0.6925 GB, free: 117.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0135/1.464, allocations: 8.835 MB / 0.7011 GB, free: 108.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.696e-05/1.464, allocations: 3.828 kB / 0.7011 GB, free: 108.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00327/1.468, allocations: 2.441 MB / 0.7035 GB, free: 106.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006005/1.474, allocations: 0.5614 MB / 0.7041 GB, free: 105.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02211/1.496, allocations: 12.1 MB / 0.7159 GB, free: 93.38 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006385/1.502, allocations: 3.604 MB / 0.7194 GB, free: 89.74 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007483/1.51, allocations: 2.298 MB / 0.7217 GB, free: 87.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002244/1.512, allocations: 0.5886 MB / 0.7222 GB, free: 86.84 MB / 494.1 MB Notification: Performance of SimCode: time 3.646e-06/1.512, allocations: 0 / 0.7222 GB, free: 86.84 MB / 494.1 MB Notification: Performance of Templates: time 0.112/1.624, allocations: 60.23 MB / 0.781 GB, free: 26.67 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1)