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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001476, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 191.3 kB / 16.14 MB, free: 6.703 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.593/1.593, allocations: 205.1 MB / 222 MB, free: 5.008 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3268/0.3268, allocations: 39.94 MB / 309.3 MB, free: 9.539 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.2. 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.001331/0.001331, allocations: 63.91 kB / 376.9 MB, free: 13.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1563, allocations: 56.89 MB / 433.8 MB, free: 4.484 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.3746/0.5309, allocations: 85.89 MB / 0.5075 GB, free: 14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0519/0.5829, allocations: 15.44 MB / 0.5226 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02868/0.6116, allocations: 356.7 kB / 0.5229 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009002/0.6208, allocations: 3.068 MB / 0.5259 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008621/0.6294, allocations: 1.643 MB / 0.5275 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002392/0.6319, allocations: 415.2 kB / 0.5279 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01196/0.6439, allocations: 5.815 MB / 0.5336 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007021/0.651, allocations: 3.577 MB / 0.5371 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004021/0.655, allocations: 1.684 MB / 0.5387 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006733/0.6618, allocations: 3.114 MB / 0.5418 GB, free: 10.55 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00174/0.6636, allocations: 328 kB / 0.5421 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003475/0.6671, allocations: 0.792 MB / 0.5429 GB, free: 9.434 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003719/0.6708, allocations: 2.127 MB / 0.5449 GB, free: 7.301 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004954/0.6758, allocations: 2.653 MB / 0.5475 GB, free: 4.633 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.686, allocations: 8.298 MB / 0.5556 GB, free: 12.31 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.6861, allocations: 0 / 0.5556 GB, free: 12.31 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.6861, allocations: 0 / 0.5556 GB, free: 12.31 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003419/0.6864, allocations: 0 / 0.5556 GB, free: 12.31 MB / 430.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.09205/0.7785, allocations: 11.11 MB / 0.5665 GB, free: 1.121 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.447e-05/0.7786, allocations: 12.03 kB / 0.5665 GB, free: 1.109 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009822/0.7884, allocations: 1.861 MB / 0.5683 GB, free: 15.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008846/0.7973, allocations: 3.255 MB / 0.5715 GB, free: 11.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004624/0.7979, allocations: 291.5 kB / 0.5718 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003642/0.8015, allocations: 407.6 kB / 0.5722 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06167/0.8632, allocations: 19.55 MB / 0.5913 GB, free: 6.977 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003737/0.8637, allocations: 51.42 kB / 0.5913 GB, free: 6.926 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003521/0.8672, allocations: 187.8 kB / 0.5915 GB, free: 6.742 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005877/0.8731, allocations: 2.341 MB / 0.5938 GB, free: 4.398 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05575/0.9289, allocations: 22.39 MB / 0.6156 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3822/1.311, allocations: 52.49 MB / 0.6669 GB, free: 113.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06927/1.38, allocations: 9.161 MB / 0.6758 GB, free: 111.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006215/1.387, allocations: 3.019 MB / 0.6788 GB, free: 111 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002074/1.389, allocations: 358.5 kB / 0.6791 GB, free: 110.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.973e-05/1.389, allocations: 64.56 kB / 0.6792 GB, free: 110.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=212): time 8.075e-06/1.389, allocations: 0 / 0.6792 GB, free: 110.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=212): time 0.1344/1.523, allocations: 16.1 MB / 0.6949 GB, free: 108.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.814e-05/1.524, allocations: 151.6 kB / 0.6951 GB, free: 108.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008276/1.532, allocations: 4.698 MB / 0.6996 GB, free: 106.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001057/1.533, allocations: 58.84 kB / 0.6997 GB, free: 106.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003197/1.536, allocations: 3.497 MB / 0.7031 GB, free: 102.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002272/1.538, allocations: 0.8399 MB / 0.7039 GB, free: 101.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00274/1.541, allocations: 1.54 MB / 0.7054 GB, free: 100.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.974e-05/1.541, allocations: 301.1 kB / 0.7057 GB, free: 99.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003823/1.545, allocations: 3.168 MB / 0.7088 GB, free: 96.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005722/1.551, allocations: 7.46 MB / 0.7161 GB, free: 87.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/1.562, allocations: 11.49 MB / 0.7273 GB, free: 73.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001315/1.562, allocations: 44 kB / 0.7274 GB, free: 73.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01772/1.58, allocations: 10.61 MB / 0.7377 GB, free: 63.01 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.109e-05/1.58, allocations: 71.94 kB / 0.7378 GB, free: 62.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001371/1.58, allocations: 152 kB / 0.7379 GB, free: 62.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001412/1.58, allocations: 200.2 kB / 0.7381 GB, free: 62.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005792/1.586, allocations: 1.805 MB / 0.7399 GB, free: 60.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000201/1.586, allocations: 303.6 kB / 0.7402 GB, free: 60.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00648/1.592, allocations: 0.9283 MB / 0.7411 GB, free: 59.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009349/1.593, allocations: 0.5149 MB / 0.7416 GB, free: 59.04 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.004283/1.598, allocations: 2.311 MB / 0.7439 GB, free: 56.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/1.599, allocations: 406.7 kB / 0.7442 GB, free: 56.31 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005471/1.604, allocations: 4.861 MB / 0.749 GB, free: 51.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.394e-05/1.604, allocations: 24 kB / 0.749 GB, free: 51.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.647e-05/1.604, allocations: 0 / 0.749 GB, free: 51.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.859e-05/1.604, allocations: 11.97 kB / 0.749 GB, free: 51.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01629/1.621, allocations: 11.54 MB / 0.7603 GB, free: 39.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.32e-05/1.621, allocations: 12 kB / 0.7603 GB, free: 39.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002551/1.623, allocations: 0.5889 MB / 0.7609 GB, free: 39.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.837e-05/1.623, allocations: 16 kB / 0.7609 GB, free: 39.13 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002283/1.624, allocations: 151.7 kB / 0.761 GB, free: 38.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.871e-05/1.624, allocations: 24.48 kB / 0.7611 GB, free: 38.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/1.624, allocations: 11.94 kB / 0.7611 GB, free: 38.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009028/1.633, allocations: 8.906 MB / 0.7698 GB, free: 29.92 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002093/1.635, allocations: 0.4954 MB / 0.7703 GB, free: 29.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007973/1.636, allocations: 59.92 kB / 0.7703 GB, free: 29.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002059/1.638, allocations: 83.73 kB / 0.7704 GB, free: 29.27 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003938/1.638, allocations: 240.7 kB / 0.7706 GB, free: 29.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002637/1.638, allocations: 167.8 kB / 0.7708 GB, free: 28.87 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00513/1.643, allocations: 2.95 MB / 0.7737 GB, free: 25.92 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.41e-07/1.644, allocations: 0 / 0.7737 GB, free: 25.92 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008676/1.652, allocations: 1.376 MB / 0.775 GB, free: 24.54 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.0007411/1.653, allocations: 193.2 kB / 0.7752 GB, free: 24.35 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01029/1.663, allocations: 7.096 MB / 0.7821 GB, free: 17.29 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/1.663, allocations: 0 / 0.7821 GB, free: 17.29 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002887/1.666, allocations: 2.438 MB / 0.7845 GB, free: 14.85 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00581/1.672, allocations: 0.5313 MB / 0.785 GB, free: 14.33 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02108/1.693, allocations: 14.34 MB / 0.799 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00456/1.698, allocations: 3.606 MB / 0.8026 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007316/1.705, allocations: 2.298 MB / 0.8048 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002077/1.707, allocations: 0.5925 MB / 0.8054 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of SimCode: time 1.733e-06/1.707, allocations: 4 kB / 0.8054 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of Templates: time 0.49/2.197, allocations: 58.59 MB / 0.8626 GB, free: 156.5 MB / 0.5137 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)