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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001417, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00183/0.00183, allocations: 191.1 kB / 16.25 MB, free: 6.633 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.651/1.651, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3464/0.3464, allocations: 37.98 MB / 307.4 MB, free: 10.1 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.1. 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.001431/0.001431, allocations: 71.89 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1273, allocations: 56.47 MB / 431.2 MB, free: 6.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.3284/0.4558, allocations: 85.9 MB / 0.505 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04974/0.5056, allocations: 15.41 MB / 0.52 GB, free: 6.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02667/0.5324, allocations: 355.3 kB / 0.5204 GB, free: 6.215 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008475/0.5409, allocations: 2.961 MB / 0.5233 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008591/0.5496, allocations: 1.626 MB / 0.5248 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00198/0.5516, allocations: 424.8 kB / 0.5252 GB, free: 3.785 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00926/0.5609, allocations: 4.069 MB / 0.5292 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007487/0.5684, allocations: 3.824 MB / 0.533 GB, free: 424 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004887/0.5733, allocations: 1.925 MB / 0.5348 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006832/0.5802, allocations: 3.251 MB / 0.538 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003098/0.5833, allocations: 496.9 kB / 0.5385 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004218/0.5875, allocations: 0.9328 MB / 0.5394 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005364/0.5929, allocations: 2.28 MB / 0.5416 GB, free: 11.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007961/0.601, allocations: 2.821 MB / 0.5444 GB, free: 9.133 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01376/0.6147, allocations: 8.473 MB / 0.5526 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.103e-05/0.6148, allocations: 4 kB / 0.5527 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.6148, allocations: 0 / 0.5527 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003897/0.6152, allocations: 0 / 0.5527 GB, free: 0.6289 MB / 414.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.09419/0.7094, allocations: 11.11 MB / 0.5635 GB, free: 5.441 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.239e-05/0.7095, allocations: 11.89 kB / 0.5635 GB, free: 5.43 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008644/0.7182, allocations: 1.857 MB / 0.5653 GB, free: 3.562 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008313/0.7265, allocations: 3.255 MB / 0.5685 GB, free: 256 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003058/0.7269, allocations: 291.6 kB / 0.5688 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003206/0.7301, allocations: 411.5 kB / 0.5692 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0592/0.7893, allocations: 19.54 MB / 0.5883 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000277/0.7896, allocations: 55.48 kB / 0.5883 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002755/0.7924, allocations: 191.8 kB / 0.5885 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006055/0.7985, allocations: 2.338 MB / 0.5908 GB, free: 8.723 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05665/0.8552, allocations: 22.39 MB / 0.6126 GB, free: 2.293 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4541/1.309, allocations: 52.49 MB / 0.6639 GB, free: 51.24 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07353/1.383, allocations: 9.173 MB / 0.6729 GB, free: 50.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004649/1.388, allocations: 3.024 MB / 0.6758 GB, free: 50.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001794/1.389, allocations: 356 kB / 0.6762 GB, free: 50.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/1.39, allocations: 57.94 kB / 0.6762 GB, free: 50.46 MB / 494.1 MB Notification: Performance of pre-optimization done (n=212): time 4.959e-06/1.39, allocations: 0 / 0.6762 GB, free: 50.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=212): time 0.1364/1.526, allocations: 16.11 MB / 0.6919 GB, free: 47.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.617e-05/1.526, allocations: 152.7 kB / 0.6921 GB, free: 46.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005998/1.532, allocations: 4.69 MB / 0.6967 GB, free: 42.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005996/1.533, allocations: 59.39 kB / 0.6967 GB, free: 42.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001769/1.535, allocations: 3.489 MB / 0.7001 GB, free: 38.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001296/1.536, allocations: 0.8399 MB / 0.7009 GB, free: 37.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001879/1.538, allocations: 1.548 MB / 0.7025 GB, free: 36.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.139e-05/1.538, allocations: 305.1 kB / 0.7027 GB, free: 36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003243/1.541, allocations: 3.168 MB / 0.7058 GB, free: 32.83 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004995/1.546, allocations: 7.455 MB / 0.7131 GB, free: 23.31 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01299/1.559, allocations: 11.49 MB / 0.7243 GB, free: 10.33 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001439/1.559, allocations: 44 kB / 0.7244 GB, free: 10.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01902/1.578, allocations: 10.61 MB / 0.7347 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/1.578, allocations: 77.94 kB / 0.7348 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002035/1.579, allocations: 152 kB / 0.735 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001614/1.579, allocations: 203.9 kB / 0.7352 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00676/1.586, allocations: 1.8 MB / 0.7369 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002455/1.586, allocations: 299.8 kB / 0.7372 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007358/1.593, allocations: 0.9296 MB / 0.7381 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001544/1.595, allocations: 0.5104 MB / 0.7386 GB, free: 12.83 MB / 0.4981 GB 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.005864/1.601, allocations: 2.31 MB / 0.7409 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001572/1.602, allocations: 406.8 kB / 0.7412 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/1.613, allocations: 4.861 MB / 0.746 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.818e-05/1.613, allocations: 25.09 kB / 0.746 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/1.613, allocations: 0 / 0.746 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.726e-05/1.613, allocations: 11.97 kB / 0.746 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02969/1.643, allocations: 11.54 MB / 0.7573 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.942e-05/1.643, allocations: 8 kB / 0.7573 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004233/1.647, allocations: 0.6026 MB / 0.7579 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.31e-05/1.647, allocations: 16 kB / 0.7579 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004722/1.648, allocations: 143.8 kB / 0.7581 GB, free: 9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.854e-05/1.648, allocations: 20.55 kB / 0.7581 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.645e-05/1.648, allocations: 14.53 kB / 0.7581 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01671/1.665, allocations: 8.896 MB / 0.7668 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002696/1.667, allocations: 0.5108 MB / 0.7673 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002025/1.669, allocations: 47.98 kB / 0.7673 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003865/1.673, allocations: 83.98 kB / 0.7674 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008006/1.674, allocations: 238.9 kB / 0.7676 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006469/1.675, allocations: 163.8 kB / 0.7678 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.009243/1.684, allocations: 2.95 MB / 0.7707 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.81e-07/1.684, allocations: 4 kB / 0.7707 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01229/1.696, allocations: 1.376 MB / 0.772 GB, free: 10.6 MB / 0.5294 GB 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.001075/1.698, allocations: 187.8 kB / 0.7722 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01383/1.711, allocations: 8.836 MB / 0.7808 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.481e-05/1.711, allocations: 10.19 kB / 0.7808 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003093/1.715, allocations: 2.437 MB / 0.7832 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00342/1.718, allocations: 0.5568 MB / 0.7838 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0223/1.74, allocations: 14.35 MB / 0.7978 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004679/1.745, allocations: 3.604 MB / 0.8013 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006365/1.751, allocations: 2.298 MB / 0.8035 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002508/1.754, allocations: 0.5939 MB / 0.8041 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.393e-06/1.754, allocations: 0 / 0.8041 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.3591/2.113, allocations: 60.17 MB / 0.8629 GB, free: 234.8 MB / 0.5919 GB 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)