Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") translateModel(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001444/0.001445, allocations: 181.9 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.345/1.345, allocations: 194.3 MB / 207.5 MB, free: 3.461 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001575/0.001575, allocations: 104.6 kB / 252.6 MB, free: 4.805 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2141/0.2141, allocations: 39.94 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.317e-05/3.323e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.117, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4362/0.5533, allocations: 87.7 MB / 0.5301 GB, free: 4.039 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.5536, allocations: 73.69 kB / 0.5302 GB, free: 4.004 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.229/0.7826, allocations: 89.78 MB / 0.6179 GB, free: 1.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.747e-06/0.7827, allocations: 3.938 kB / 0.6179 GB, free: 1.906 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003248/0.783, allocations: 96 kB / 0.6179 GB, free: 1.812 MB / 426.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.06747/0.8505, allocations: 9.647 MB / 0.6274 GB, free: 8.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.95e-05/0.8506, allocations: 8.031 kB / 0.6274 GB, free: 8.082 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01098/0.8616, allocations: 2.076 MB / 0.6294 GB, free: 5.996 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/0.8722, allocations: 3.386 MB / 0.6327 GB, free: 2.551 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004406/0.8727, allocations: 345.1 kB / 0.633 GB, free: 2.211 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003914/0.8766, allocations: 491.5 kB / 0.6335 GB, free: 1.73 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05019/0.9268, allocations: 15.32 MB / 0.6485 GB, free: 1.402 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003201/0.9272, allocations: 59.38 kB / 0.6485 GB, free: 1.344 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002186/0.9294, allocations: 219.9 kB / 0.6487 GB, free: 1.129 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003077/0.9325, allocations: 1.12 MB / 0.6498 GB, free: 8 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04545/0.978, allocations: 15.17 MB / 0.6646 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4462/1.424, allocations: 55.53 MB / 0.7189 GB, free: 70.56 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04334/1.468, allocations: 7.211 MB / 0.7259 GB, free: 69.89 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004636/1.472, allocations: 2.82 MB / 0.7287 GB, free: 69.86 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0136/1.486, allocations: 6.571 MB / 0.7351 GB, free: 65.51 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.028e-05/1.486, allocations: 55.59 kB / 0.7351 GB, free: 65.46 MB / 474.7 MB Notification: Performance of pre-optimization done (n=176): time 7.383e-06/1.486, allocations: 2.906 kB / 0.7351 GB, free: 65.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=176): time 0.0061/1.492, allocations: 2.688 MB / 0.7378 GB, free: 64.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/1.492, allocations: 154.7 kB / 0.7379 GB, free: 64.34 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01069/1.503, allocations: 4.21 MB / 0.742 GB, free: 62.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005036/1.504, allocations: 49.67 kB / 0.7421 GB, free: 62.77 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002987/1.507, allocations: 3.58 MB / 0.7456 GB, free: 60.27 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001218/1.508, allocations: 0.7245 MB / 0.7463 GB, free: 59.75 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005276/1.508, allocations: 131.3 kB / 0.7464 GB, free: 59.65 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003779/1.509, allocations: 0.5852 MB / 0.747 GB, free: 59.23 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003104/1.512, allocations: 2.157 MB / 0.7491 GB, free: 58.51 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004914/1.517, allocations: 6.402 MB / 0.7553 GB, free: 52.07 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005115/1.522, allocations: 3.716 MB / 0.759 GB, free: 50.82 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001087/1.522, allocations: 41.38 kB / 0.759 GB, free: 50.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=870) (initialization): time 0.01563/1.538, allocations: 8.366 MB / 0.7672 GB, free: 48.05 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001923/1.538, allocations: 66.78 kB / 0.7672 GB, free: 48.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003532/1.538, allocations: 152.9 kB / 0.7674 GB, free: 48.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002837/1.539, allocations: 220 kB / 0.7676 GB, free: 48.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006223/1.545, allocations: 1.618 MB / 0.7692 GB, free: 47.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003328/1.545, allocations: 297.6 kB / 0.7695 GB, free: 47.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007573/1.553, allocations: 0.9256 MB / 0.7704 GB, free: 47.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001453/1.554, allocations: 439.3 kB / 0.7708 GB, free: 47.14 MB / 474.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 () * 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.001829/1.556, allocations: 0.6309 MB / 0.7714 GB, free: 46.61 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001328/1.557, allocations: 404 kB / 0.7718 GB, free: 46.39 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00529/1.563, allocations: 2.516 MB / 0.7742 GB, free: 45.44 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.084e-05/1.563, allocations: 17.75 kB / 0.7743 GB, free: 45.44 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/1.563, allocations: 3.375 kB / 0.7743 GB, free: 45.44 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-05/1.563, allocations: 14.27 kB / 0.7743 GB, free: 45.43 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01198/1.575, allocations: 4.273 MB / 0.7784 GB, free: 43.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-05/1.575, allocations: 0 / 0.7784 GB, free: 43.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002319/1.577, allocations: 351.6 kB / 0.7788 GB, free: 43.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.057e-05/1.577, allocations: 11.31 kB / 0.7788 GB, free: 43.85 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003419/1.578, allocations: 34.47 kB / 0.7788 GB, free: 43.83 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.797e-05/1.578, allocations: 3.75 kB / 0.7788 GB, free: 43.83 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.578, allocations: 3.75 kB / 0.7788 GB, free: 43.83 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006503/1.584, allocations: 4.864 MB / 0.7836 GB, free: 39.67 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/1.586, allocations: 0.4927 MB / 0.7841 GB, free: 39.18 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001322/1.587, allocations: 36 kB / 0.7841 GB, free: 39.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002682/1.59, allocations: 62.42 kB / 0.7842 GB, free: 39.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/1.59, allocations: 93.7 kB / 0.7842 GB, free: 39.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00016/1.59, allocations: 51.84 kB / 0.7843 GB, free: 38.99 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005663/1.596, allocations: 2.936 MB / 0.7872 GB, free: 36.38 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.91e-07/1.596, allocations: 0 / 0.7872 GB, free: 36.38 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008015/1.604, allocations: 1.336 MB / 0.7885 GB, free: 35.05 MB / 474.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 () * 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.0005752/1.605, allocations: 166 kB / 0.7886 GB, free: 34.89 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007661/1.612, allocations: 4.932 MB / 0.7934 GB, free: 30.46 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/1.613, allocations: 4 kB / 0.7934 GB, free: 30.46 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00142/1.614, allocations: 1.252 MB / 0.7947 GB, free: 29.34 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002905/1.617, allocations: 495.8 kB / 0.7951 GB, free: 28.93 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/1.633, allocations: 8.74 MB / 0.8037 GB, free: 21.17 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003491/1.637, allocations: 3.667 MB / 0.8073 GB, free: 18.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005461/1.642, allocations: 2.05 MB / 0.8093 GB, free: 17.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001307/1.644, allocations: 314.5 kB / 0.8096 GB, free: 16.82 MB / 474.7 MB Notification: Performance of SimCode: time 2.014e-06/1.644, allocations: 0 / 0.8096 GB, free: 16.82 MB / 474.7 MB Notification: Performance of Templates: time 0.08441/1.728, allocations: 40.07 MB / 0.8487 GB, free: 9.762 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1)