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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00664/0.00664, allocations: 177.9 kB / 7.449 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.259/1.259, allocations: 170.6 MB / 178.4 MB, free: 15.4 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.001934/0.001934, allocations: 111.8 kB / 217.7 MB, free: 8.168 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.1675/0.1675, allocations: 37.97 MB / 294.8 MB, free: 9.629 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.294e-06/7.414e-06, allocations: 1.781 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1005, allocations: 48.71 MB / 398.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3429/0.4435, allocations: 80.44 MB / 478.7 MB, free: 13.47 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.4438, allocations: 74.86 kB / 478.7 MB, free: 13.47 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2399/0.6837, allocations: 87.24 MB / 0.5527 GB, free: 13.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0007656/0.6845, allocations: 95.83 kB / 0.5528 GB, free: 13.89 MB / 378.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.0703/0.7549, allocations: 9.123 MB / 0.5617 GB, free: 4.699 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.7549, allocations: 8.031 kB / 0.5617 GB, free: 4.691 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01084/0.7658, allocations: 1.76 MB / 0.5634 GB, free: 2.922 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01235/0.7782, allocations: 3.404 MB / 0.5667 GB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004143/0.7786, allocations: 148 kB / 0.5669 GB, free: 15.35 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004349/0.783, allocations: 287.7 kB / 0.5672 GB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0229/0.8059, allocations: 9.966 MB / 0.5769 GB, free: 5.086 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03977/0.8457, allocations: 13.44 MB / 0.59 GB, free: 6.648 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004961/0.8463, allocations: 71.39 kB / 0.5901 GB, free: 6.578 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00444/0.8507, allocations: 31.91 kB / 0.5901 GB, free: 6.547 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003162/0.8539, allocations: 1.147 MB / 0.5912 GB, free: 5.402 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3091/1.163, allocations: 53.81 MB / 0.6438 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008638/1.172, allocations: 6.859 MB / 0.6505 GB, free: 99.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003671/1.175, allocations: 2.923 MB / 0.6533 GB, free: 99.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009391/1.185, allocations: 6.453 MB / 0.6596 GB, free: 96.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/1.185, allocations: 53 kB / 0.6597 GB, free: 96.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=176): time 6.051e-06/1.185, allocations: 0 / 0.6597 GB, free: 96.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=176): time 0.004351/1.189, allocations: 2.676 MB / 0.6623 GB, free: 96.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/1.189, allocations: 151.5 kB / 0.6625 GB, free: 95.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006808/1.196, allocations: 3.783 MB / 0.6661 GB, free: 95.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003114/1.197, allocations: 25.7 kB / 0.6662 GB, free: 95.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002883/1.2, allocations: 3.336 MB / 0.6694 GB, free: 93.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001077/1.201, allocations: 0.7008 MB / 0.6701 GB, free: 93.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003158/1.201, allocations: 0 / 0.6701 GB, free: 93.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003726/1.201, allocations: 0.5952 MB / 0.6707 GB, free: 93.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002826/1.204, allocations: 2.153 MB / 0.6728 GB, free: 93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004612/1.209, allocations: 6.504 MB / 0.6791 GB, free: 87.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004888/1.214, allocations: 3.738 MB / 0.6828 GB, free: 87.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.67e-05/1.214, allocations: 48.89 kB / 0.6828 GB, free: 87.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.01157/1.225, allocations: 7.678 MB / 0.6903 GB, free: 85.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/1.225, allocations: 7.719 kB / 0.6904 GB, free: 85.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001401/1.226, allocations: 157.8 kB / 0.6905 GB, free: 85.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000186/1.226, allocations: 234.1 kB / 0.6907 GB, free: 85.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005022/1.231, allocations: 1.646 MB / 0.6923 GB, free: 85.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001653/1.231, allocations: 305.1 kB / 0.6926 GB, free: 85.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00588/1.237, allocations: 0.7484 MB / 0.6934 GB, free: 84.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008948/1.238, allocations: 453.6 kB / 0.6938 GB, free: 84.53 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 716 * 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 (870): * Single equations (assignments): 867 * 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.0009518/1.239, allocations: 498.6 kB / 0.6943 GB, free: 84.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008138/1.24, allocations: 368.3 kB / 0.6946 GB, free: 83.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003587/1.243, allocations: 2.476 MB / 0.697 GB, free: 83.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.212e-05/1.243, allocations: 15.5 kB / 0.697 GB, free: 83.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/1.243, allocations: 3.719 kB / 0.697 GB, free: 83.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/1.243, allocations: 7.359 kB / 0.6971 GB, free: 83.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008015/1.251, allocations: 3.212 MB / 0.7002 GB, free: 81.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/1.251, allocations: 1.25 kB / 0.7002 GB, free: 81.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002264/1.254, allocations: 332 kB / 0.7005 GB, free: 81.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.368e-05/1.254, allocations: 6.344 kB / 0.7005 GB, free: 81.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001665/1.254, allocations: 18.33 kB / 0.7005 GB, free: 81.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.487e-05/1.254, allocations: 10.44 kB / 0.7005 GB, free: 81.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.254, allocations: 1.375 kB / 0.7005 GB, free: 81.84 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006584/1.26, allocations: 4.882 MB / 0.7053 GB, free: 79.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001472/1.262, allocations: 457.6 kB / 0.7058 GB, free: 79.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006205/1.263, allocations: 3.656 kB / 0.7058 GB, free: 79.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/1.264, allocations: 23.88 kB / 0.7058 GB, free: 79.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002118/1.264, allocations: 86.3 kB / 0.7059 GB, free: 79.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/1.264, allocations: 53.56 kB / 0.7059 GB, free: 79.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.005266/1.27, allocations: 2.549 MB / 0.7084 GB, free: 78.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007384/1.277, allocations: 1.218 MB / 0.7096 GB, free: 78.15 MB / 426.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.000528/1.278, allocations: 151.7 kB / 0.7097 GB, free: 78.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007653/1.285, allocations: 4.827 MB / 0.7144 GB, free: 76.47 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.285, allocations: 0 / 0.7144 GB, free: 76.47 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001673/1.287, allocations: 1.276 MB / 0.7157 GB, free: 75.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/1.289, allocations: 386.8 kB / 0.7161 GB, free: 75.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/1.307, allocations: 8.664 MB / 0.7245 GB, free: 67.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005368/1.313, allocations: 4.016 MB / 0.7284 GB, free: 64.83 MB / 426.7 MB Notification: Performance of SimCode: time 1.412e-06/1.313, allocations: 4 kB / 0.7284 GB, free: 64.82 MB / 426.7 MB Notification: Performance of Templates: time 0.07608/1.389, allocations: 37.4 MB / 0.765 GB, free: 36.94 MB / 426.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)