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.001025/0.001025, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009907/0.0009908, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.3682/0.3682, allocations: 38.03 MB / 308.4 MB, free: 10.38 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.0005456/0.0005456, allocations: 12 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1417, allocations: 57.52 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.3025/0.4442, allocations: 73.53 MB / 0.4956 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04089/0.4852, allocations: 15.68 MB / 0.5109 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02017/0.5054, allocations: 354.8 kB / 0.5112 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01483/0.5203, allocations: 3.658 MB / 0.5148 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0436/0.5639, allocations: 10.27 MB / 0.5248 GB, free: 8.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005224/0.5692, allocations: 484.1 kB / 0.5253 GB, free: 7.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007016/0.5762, allocations: 2.412 MB / 0.5276 GB, free: 6.602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007133/0.5833, allocations: 4.49 MB / 0.532 GB, free: 4.742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003443/0.5868, allocations: 1.188 MB / 0.5332 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002741/0.5896, allocations: 2.003 MB / 0.5351 GB, free: 3.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005483/0.5901, allocations: 191.9 kB / 0.5353 GB, free: 3.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.5915, allocations: 0.5524 MB / 0.5359 GB, free: 2.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001676/0.5932, allocations: 1.733 MB / 0.5375 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001249/0.5945, allocations: 0.9946 MB / 0.5385 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00769/0.6022, allocations: 6.731 MB / 0.5451 GB, free: 10.15 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6022, allocations: 0 / 0.5451 GB, free: 10.15 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.6022, allocations: 0 / 0.5451 GB, free: 10.15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000368/0.6026, allocations: 0 / 0.5451 GB, free: 10.15 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.0806/0.6832, allocations: 9.669 MB / 0.5545 GB, free: 412 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.6833, allocations: 8.031 kB / 0.5545 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009367/0.6926, allocations: 2.18 MB / 0.5567 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01149/0.7042, allocations: 3.124 MB / 0.5597 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003402/0.7046, allocations: 291.6 kB / 0.56 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003488/0.7081, allocations: 411.5 kB / 0.5604 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05585/0.7639, allocations: 19.52 MB / 0.5795 GB, free: 6.102 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001932/0.7642, allocations: 51.53 kB / 0.5795 GB, free: 6.051 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001176/0.7654, allocations: 187.8 kB / 0.5797 GB, free: 5.867 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005642/0.771, allocations: 2.342 MB / 0.582 GB, free: 3.523 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05584/0.8269, allocations: 22.4 MB / 0.6038 GB, free: 13.1 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3795/1.207, allocations: 52.44 MB / 0.6551 GB, free: 114.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06278/1.269, allocations: 9.191 MB / 0.664 GB, free: 113.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001578/1.271, allocations: 347.7 kB / 0.6644 GB, free: 113.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/1.271, allocations: 62.42 kB / 0.6644 GB, free: 113.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=212): time 4.368e-06/1.271, allocations: 0 / 0.6644 GB, free: 113.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=212): time 0.1321/1.403, allocations: 16.36 MB / 0.6804 GB, free: 111.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.469e-05/1.403, allocations: 153 kB / 0.6805 GB, free: 111 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008162/1.411, allocations: 4.671 MB / 0.6851 GB, free: 109.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007093/1.412, allocations: 57.39 kB / 0.6852 GB, free: 109.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002125/1.414, allocations: 3.491 MB / 0.6886 GB, free: 106.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001287/1.416, allocations: 0.8387 MB / 0.6894 GB, free: 105.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003361/1.416, allocations: 138.1 kB / 0.6895 GB, free: 105.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003164/1.416, allocations: 0.5844 MB / 0.6901 GB, free: 105.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004034/1.42, allocations: 3.147 MB / 0.6932 GB, free: 104.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005981/1.426, allocations: 7.409 MB / 0.7004 GB, free: 97.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005865/1.432, allocations: 4.691 MB / 0.705 GB, free: 96.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.785e-05/1.432, allocations: 44.59 kB / 0.705 GB, free: 96.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01624/1.449, allocations: 10.54 MB / 0.7153 GB, free: 90.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-05/1.449, allocations: 68 kB / 0.7154 GB, free: 90.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001942/1.449, allocations: 158.6 kB / 0.7155 GB, free: 90.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002299/1.449, allocations: 224 kB / 0.7158 GB, free: 89.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006036/1.455, allocations: 1.8 MB / 0.7175 GB, free: 88.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001952/1.455, allocations: 298.8 kB / 0.7178 GB, free: 87.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006829/1.462, allocations: 0.9221 MB / 0.7187 GB, free: 87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001497/1.464, allocations: 0.5193 MB / 0.7192 GB, free: 86.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007757/1.472, allocations: 2.312 MB / 0.7215 GB, free: 84.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00194/1.474, allocations: 402.8 kB / 0.7218 GB, free: 83.76 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007202/1.481, allocations: 4.865 MB / 0.7266 GB, free: 78.88 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.415e-05/1.481, allocations: 30.86 kB / 0.7266 GB, free: 78.85 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.332e-05/1.481, allocations: 4 kB / 0.7266 GB, free: 78.85 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.727e-05/1.481, allocations: 11.91 kB / 0.7266 GB, free: 78.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02116/1.502, allocations: 11.53 MB / 0.7379 GB, free: 67.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.949e-05/1.502, allocations: 4 kB / 0.7379 GB, free: 67.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002832/1.505, allocations: 0.6006 MB / 0.7385 GB, free: 66.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-05/1.505, allocations: 16 kB / 0.7385 GB, free: 66.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004776/1.506, allocations: 143.8 kB / 0.7386 GB, free: 66.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.435e-05/1.506, allocations: 20.53 kB / 0.7387 GB, free: 66.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.034e-06/1.506, allocations: 8 kB / 0.7387 GB, free: 66.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/1.516, allocations: 9.846 MB / 0.7483 GB, free: 56.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001916/1.518, allocations: 0.5109 MB / 0.7488 GB, free: 55.63 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00154/1.52, allocations: 51.98 kB / 0.7488 GB, free: 55.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00285/1.522, allocations: 79.98 kB / 0.7489 GB, free: 55.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004459/1.523, allocations: 232.8 kB / 0.7491 GB, free: 55.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000401/1.523, allocations: 173.4 kB / 0.7493 GB, free: 55.11 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006109/1.529, allocations: 2.927 MB / 0.7522 GB, free: 52.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.21e-07/1.529, allocations: 0 / 0.7522 GB, free: 52.18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009131/1.539, allocations: 1.366 MB / 0.7535 GB, free: 50.82 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 (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.00114/1.54, allocations: 198.4 kB / 0.7537 GB, free: 50.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01157/1.551, allocations: 7.056 MB / 0.7606 GB, free: 43.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.612e-05/1.551, allocations: 0 / 0.7606 GB, free: 43.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004324/1.556, allocations: 2.443 MB / 0.763 GB, free: 41.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004441/1.56, allocations: 486.4 kB / 0.7634 GB, free: 40.69 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02454/1.585, allocations: 14.1 MB / 0.7772 GB, free: 26.47 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005227/1.59, allocations: 3.694 MB / 0.7808 GB, free: 22.74 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.006045/1.596, allocations: 2.298 MB / 0.783 GB, free: 20.43 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001646/1.598, allocations: 0.5886 MB / 0.7836 GB, free: 19.84 MB / 494.1 MB Notification: Performance of SimCode: time 1.884e-06/1.598, allocations: 0 / 0.7836 GB, free: 19.84 MB / 494.1 MB Notification: Performance of Templates: time 0.3856/1.984, allocations: 56.37 MB / 0.8387 GB, free: 140 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: