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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.007325/0.007325, allocations: 166.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.217/1.217, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001599/0.001599, allocations: 102.7 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2944/0.2944, allocations: 38.05 MB / 303.7 MB, free: 42.3 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003724, allocations: 12 kB / 362.9 MB, free: 5.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1122, allocations: 48.71 MB / 411.6 MB, free: 4.828 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3274/0.4397, allocations: 81.28 MB / 492.8 MB, free: 6.598 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.4399, allocations: 80.25 kB / 492.9 MB, free: 6.559 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2218/0.6617, allocations: 89.67 MB / 0.5689 GB, free: 1.645 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.6618, allocations: 0 / 0.5689 GB, free: 1.645 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003003/0.6621, allocations: 96 kB / 0.569 GB, free: 1.551 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1702 * Number of variables: 1702 Notification: Performance of Generate backend data structure: time 0.06189/0.724, allocations: 9.971 MB / 0.5788 GB, free: 7.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.724, allocations: 8.031 kB / 0.5788 GB, free: 7.492 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00965/0.7337, allocations: 2.072 MB / 0.5808 GB, free: 5.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009603/0.7433, allocations: 3.394 MB / 0.5841 GB, free: 1.957 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000363/0.7437, allocations: 354 kB / 0.5845 GB, free: 1.609 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003152/0.7469, allocations: 479.6 kB / 0.5849 GB, free: 1.141 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3047/1.052, allocations: 15.42 MB / 0.6 GB, free: 68.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002581/1.052, allocations: 57.81 kB / 0.6 GB, free: 68.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001659/1.054, allocations: 220.6 kB / 0.6002 GB, free: 68.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002449/1.056, allocations: 1.12 MB / 0.6013 GB, free: 68.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0425/1.099, allocations: 15.34 MB / 0.6163 GB, free: 68.04 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.118/1.217, allocations: 55.53 MB / 0.6705 GB, free: 33.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06047/1.277, allocations: 7.235 MB / 0.6776 GB, free: 31.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01005/1.287, allocations: 6.565 MB / 0.684 GB, free: 26.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/1.287, allocations: 54.53 kB / 0.6841 GB, free: 26.82 MB / 426.7 MB Notification: Performance of pre-optimization done (n=176): time 5.059e-06/1.288, allocations: 4 kB / 0.6841 GB, free: 26.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=176): time 0.005548/1.293, allocations: 3.998 MB / 0.688 GB, free: 25.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.815e-05/1.293, allocations: 143.9 kB / 0.6881 GB, free: 25.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007711/1.301, allocations: 4.268 MB / 0.6923 GB, free: 23.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004575/1.301, allocations: 48.67 kB / 0.6923 GB, free: 23.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002301/1.304, allocations: 3.576 MB / 0.6958 GB, free: 20.92 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001068/1.305, allocations: 0.723 MB / 0.6965 GB, free: 20.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003655/1.305, allocations: 135.8 kB / 0.6966 GB, free: 20.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003641/1.306, allocations: 0.59 MB / 0.6972 GB, free: 19.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003773/1.309, allocations: 2.202 MB / 0.6994 GB, free: 19.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00565/1.315, allocations: 6.446 MB / 0.7057 GB, free: 12.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004709/1.32, allocations: 3.695 MB / 0.7093 GB, free: 10.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-05/1.32, allocations: 44.31 kB / 0.7093 GB, free: 10.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=870) (initialization): time 0.0136/1.333, allocations: 8.448 MB / 0.7176 GB, free: 7.707 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/1.334, allocations: 74.34 kB / 0.7176 GB, free: 7.707 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002959/1.334, allocations: 153.4 kB / 0.7178 GB, free: 7.703 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002489/1.334, allocations: 225.8 kB / 0.718 GB, free: 7.699 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005214/1.339, allocations: 1.619 MB / 0.7196 GB, free: 7.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003663/1.34, allocations: 301.7 kB / 0.7199 GB, free: 7.434 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00662/1.346, allocations: 0.919 MB / 0.7208 GB, free: 6.625 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001421/1.348, allocations: 436.7 kB / 0.7212 GB, free: 6.223 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 39 (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.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 (846): * Single equations (assignments): 843 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005465/1.353, allocations: 2.297 MB / 0.7234 GB, free: 4.188 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/1.354, allocations: 398.8 kB / 0.7238 GB, free: 3.793 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004756/1.359, allocations: 2.542 MB / 0.7263 GB, free: 1.695 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.218e-05/1.359, allocations: 24 kB / 0.7263 GB, free: 1.672 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/1.359, allocations: 7.891 kB / 0.7263 GB, free: 1.664 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-05/1.359, allocations: 7.781 kB / 0.7263 GB, free: 1.664 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01353/1.373, allocations: 4.353 MB / 0.7306 GB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.089e-05/1.373, allocations: 4 kB / 0.7306 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002216/1.375, allocations: 340.8 kB / 0.7309 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-05/1.375, allocations: 8 kB / 0.7309 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002976/1.376, allocations: 35.84 kB / 0.731 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.826e-05/1.376, allocations: 8 kB / 0.731 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.376, allocations: 2.719 kB / 0.731 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007887/1.384, allocations: 4.892 MB / 0.7357 GB, free: 9.754 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002082/1.386, allocations: 499.1 kB / 0.7362 GB, free: 9.262 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001259/1.387, allocations: 38.11 kB / 0.7363 GB, free: 9.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002688/1.39, allocations: 61.91 kB / 0.7363 GB, free: 9.188 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002921/1.39, allocations: 96.05 kB / 0.7364 GB, free: 9.129 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002051/1.39, allocations: 55.61 kB / 0.7365 GB, free: 9.078 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009149/1.399, allocations: 2.982 MB / 0.7394 GB, free: 6.613 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.4e-07/1.399, allocations: 0 / 0.7394 GB, free: 6.613 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008161/1.408, allocations: 1.339 MB / 0.7407 GB, free: 5.273 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (172): * Single equations (assignments): 169 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006715/1.408, allocations: 173.7 kB / 0.7408 GB, free: 5.105 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01007/1.418, allocations: 4.982 MB / 0.7457 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.136e-05/1.418, allocations: 4.062 kB / 0.7457 GB, free: 0.793 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2429/1.661, allocations: 1.272 MB / 0.747 GB, free: 78.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003203/1.665, allocations: 479.6 kB / 0.7474 GB, free: 78.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02235/1.687, allocations: 12.45 MB / 0.7596 GB, free: 73.26 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005062/1.692, allocations: 3.671 MB / 0.7631 GB, free: 72.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006786/1.699, allocations: 2.039 MB / 0.7651 GB, free: 72.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00134/1.7, allocations: 319.5 kB / 0.7654 GB, free: 72.24 MB / 442.7 MB Notification: Performance of SimCode: time 2.014e-06/1.7, allocations: 0 / 0.7654 GB, free: 72.24 MB / 442.7 MB Notification: Performance of Templates: time 0.09225/1.793, allocations: 40.04 MB / 0.8045 GB, free: 69.91 MB / 442.7 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)