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.009146/0.009146, allocations: 174.9 kB / 15.12 MB, free: 5.973 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.576/1.576, allocations: 194.5 MB / 210.3 MB, free: 7.527 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.001626/0.001626, allocations: 116.6 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.176/0.176, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004672, allocations: 17.02 kB / 406.2 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.112, allocations: 54.87 MB / 461 MB, free: 3.301 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3608/0.4729, allocations: 87.77 MB / 0.5359 GB, free: 28.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.4732, allocations: 82.19 kB / 0.536 GB, free: 28.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2087/0.6819, allocations: 89.68 MB / 0.6236 GB, free: 6.328 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.682, allocations: 0 / 0.6236 GB, free: 6.328 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002818/0.6823, allocations: 99.98 kB / 0.6237 GB, free: 6.23 MB / 394.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.06452/0.7468, allocations: 9.961 MB / 0.6334 GB, free: 12.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.7469, allocations: 8.031 kB / 0.6334 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/0.7571, allocations: 2.072 MB / 0.6354 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01124/0.7683, allocations: 3.394 MB / 0.6388 GB, free: 6.645 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004319/0.7688, allocations: 353 kB / 0.6391 GB, free: 6.297 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0037/0.7725, allocations: 487.5 kB / 0.6396 GB, free: 5.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04584/0.8184, allocations: 15.41 MB / 0.6546 GB, free: 5.398 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002277/0.8187, allocations: 63.38 kB / 0.6547 GB, free: 5.336 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001336/0.82, allocations: 219.9 kB / 0.6549 GB, free: 5.121 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002523/0.8225, allocations: 1.117 MB / 0.656 GB, free: 4 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03999/0.8625, allocations: 15.34 MB / 0.671 GB, free: 4.625 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.339/1.202, allocations: 55.52 MB / 0.7252 GB, free: 68.88 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04398/1.246, allocations: 7.24 MB / 0.7323 GB, free: 68.21 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01029/1.256, allocations: 6.564 MB / 0.7387 GB, free: 64.64 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/1.256, allocations: 50 kB / 0.7387 GB, free: 64.61 MB / 474.7 MB Notification: Performance of pre-optimization done (n=176): time 5.48e-06/1.256, allocations: 0 / 0.7387 GB, free: 64.61 MB / 474.7 MB Notification: Performance of matching and sorting (n=176): time 0.00548/1.262, allocations: 4.007 MB / 0.7426 GB, free: 64.04 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/1.262, allocations: 151 kB / 0.7428 GB, free: 63.88 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007022/1.269, allocations: 4.259 MB / 0.7469 GB, free: 63.49 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003561/1.269, allocations: 48.56 kB / 0.747 GB, free: 63.46 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002373/1.271, allocations: 3.579 MB / 0.7505 GB, free: 61.85 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001022/1.272, allocations: 0.7201 MB / 0.7512 GB, free: 61.46 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003545/1.273, allocations: 139.4 kB / 0.7513 GB, free: 61.46 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003336/1.273, allocations: 0.5855 MB / 0.7519 GB, free: 61.14 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002948/1.276, allocations: 2.206 MB / 0.754 GB, free: 61.12 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005481/1.282, allocations: 6.434 MB / 0.7603 GB, free: 55.61 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005529/1.287, allocations: 3.71 MB / 0.7639 GB, free: 55.59 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001082/1.287, allocations: 41.28 kB / 0.764 GB, free: 55.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=870) (initialization): time 0.01489/1.302, allocations: 8.447 MB / 0.7722 GB, free: 55.07 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.38e-05/1.302, allocations: 68.94 kB / 0.7723 GB, free: 55.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002103/1.303, allocations: 155.8 kB / 0.7724 GB, free: 55.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002788/1.303, allocations: 222 kB / 0.7727 GB, free: 55.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005079/1.308, allocations: 1.612 MB / 0.7742 GB, free: 54.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002039/1.308, allocations: 296.3 kB / 0.7745 GB, free: 54.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006168/1.314, allocations: 0.9312 MB / 0.7754 GB, free: 54.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009668/1.315, allocations: 438.2 kB / 0.7758 GB, free: 54.38 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 () * 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.004763/1.32, allocations: 2.301 MB / 0.7781 GB, free: 54.01 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001048/1.321, allocations: 397.9 kB / 0.7785 GB, free: 53.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004594/1.326, allocations: 2.547 MB / 0.7809 GB, free: 53.67 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.89e-05/1.326, allocations: 19.31 kB / 0.781 GB, free: 53.67 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/1.326, allocations: 1.062 kB / 0.781 GB, free: 53.67 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.167e-05/1.326, allocations: 10.81 kB / 0.781 GB, free: 53.67 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01287/1.339, allocations: 4.28 MB / 0.7852 GB, free: 52.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.27e-05/1.339, allocations: 3.062 kB / 0.7852 GB, free: 52.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002123/1.341, allocations: 349.1 kB / 0.7855 GB, free: 52.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.917e-05/1.341, allocations: 3.656 kB / 0.7855 GB, free: 52.36 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003289/1.341, allocations: 37.23 kB / 0.7855 GB, free: 52.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.751e-05/1.341, allocations: 14.78 kB / 0.7855 GB, free: 52.33 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.341, allocations: 3.75 kB / 0.7856 GB, free: 52.33 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006035/1.347, allocations: 4.882 MB / 0.7903 GB, free: 50.12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001477/1.349, allocations: 0.4919 MB / 0.7908 GB, free: 49.74 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001023/1.35, allocations: 31.34 kB / 0.7908 GB, free: 49.72 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0022/1.352, allocations: 66.28 kB / 0.7909 GB, free: 49.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/1.352, allocations: 95.52 kB / 0.791 GB, free: 49.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/1.353, allocations: 56.38 kB / 0.791 GB, free: 49.67 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007522/1.36, allocations: 2.977 MB / 0.7939 GB, free: 48.63 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.22e-07/1.36, allocations: 0 / 0.7939 GB, free: 48.63 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008784/1.369, allocations: 1.342 MB / 0.7953 GB, free: 48.3 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 () * 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.000997/1.37, allocations: 163.4 kB / 0.7954 GB, free: 48.17 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009344/1.379, allocations: 4.992 MB / 0.8003 GB, free: 46.49 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.379, allocations: 1.688 kB / 0.8003 GB, free: 46.49 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001981/1.381, allocations: 1.264 MB / 0.8015 GB, free: 45.85 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004171/1.386, allocations: 489.5 kB / 0.802 GB, free: 45.45 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02685/1.412, allocations: 12.43 MB / 0.8141 GB, free: 34.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006645/1.419, allocations: 3.678 MB / 0.8177 GB, free: 31.33 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006789/1.426, allocations: 2.049 MB / 0.8197 GB, free: 30.02 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001607/1.428, allocations: 312.4 kB / 0.82 GB, free: 29.75 MB / 474.7 MB Notification: Performance of SimCode: time 1.102e-06/1.428, allocations: 4 kB / 0.82 GB, free: 29.74 MB / 474.7 MB Notification: Performance of Templates: time 0.07701/1.505, allocations: 40.04 MB / 0.8591 GB, free: 12.62 MB / 490.7 MB 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)