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.005945/0.005945, allocations: 105.1 kB / 15.73 MB, free: 6.043 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.001399/0.001399, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.571/1.571, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.322/0.322, allocations: 37.99 MB / 307.9 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.001508/0.001508, allocations: 75.83 kB / 433 MB, free: 5.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3607, allocations: 56.46 MB / 489.4 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.01518/0.376, allocations: 15.96 MB / 0.4936 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.3883, allocations: 3.862 MB / 0.4973 GB, free: 5.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005235/0.3936, allocations: 85.97 kB / 0.4974 GB, free: 5.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007073/0.4007, allocations: 3.096 MB / 0.5004 GB, free: 4.359 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008015/0.4088, allocations: 1.824 MB / 0.5022 GB, free: 3.348 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.4107, allocations: 465.3 kB / 0.5027 GB, free: 2.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008049/0.4188, allocations: 4.037 MB / 0.5066 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006439/0.4253, allocations: 3.595 MB / 0.5101 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004234/0.4295, allocations: 1.912 MB / 0.512 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006857/0.4364, allocations: 2.996 MB / 0.5149 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003184/0.4396, allocations: 496.7 kB / 0.5154 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004867/0.4445, allocations: 0.9338 MB / 0.5163 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005332/0.4499, allocations: 2.25 MB / 0.5185 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008121/0.458, allocations: 2.801 MB / 0.5212 GB, free: 7.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01639/0.4744, allocations: 8.699 MB / 0.5297 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.4745, allocations: 0 / 0.5297 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4745, allocations: 0 / 0.5297 GB, free: 14.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003974/0.4749, allocations: 0 / 0.5297 GB, free: 14.38 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.08639/0.5613, allocations: 11.11 MB / 0.5406 GB, free: 3.195 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.007e-05/0.5614, allocations: 15.89 kB / 0.5406 GB, free: 3.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008956/0.5704, allocations: 1.861 MB / 0.5424 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008699/0.5791, allocations: 3.275 MB / 0.5456 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000333/0.5795, allocations: 291.5 kB / 0.5459 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002936/0.5824, allocations: 411.4 kB / 0.5463 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05968/0.6421, allocations: 19.54 MB / 0.5653 GB, free: 9.027 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000386/0.6425, allocations: 55.42 kB / 0.5654 GB, free: 8.973 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003349/0.6459, allocations: 187.8 kB / 0.5656 GB, free: 8.789 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006073/0.652, allocations: 2.342 MB / 0.5679 GB, free: 6.441 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05752/0.7096, allocations: 22.4 MB / 0.5897 GB, free: 4 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4268/1.136, allocations: 52.35 MB / 0.6409 GB, free: 96.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06917/1.206, allocations: 9.162 MB / 0.6498 GB, free: 95.45 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006249/1.212, allocations: 3.024 MB / 0.6528 GB, free: 95.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001939/1.214, allocations: 368 kB / 0.6531 GB, free: 95.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.273e-05/1.214, allocations: 60.73 kB / 0.6532 GB, free: 95.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=212): time 7.915e-06/1.214, allocations: 0 / 0.6532 GB, free: 95.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=212): time 0.1288/1.343, allocations: 16.1 MB / 0.6689 GB, free: 93.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.885e-05/1.343, allocations: 153 kB / 0.669 GB, free: 93.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008775/1.352, allocations: 4.703 MB / 0.6736 GB, free: 92.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005793/1.352, allocations: 56.83 kB / 0.6737 GB, free: 92.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002599/1.355, allocations: 3.496 MB / 0.6771 GB, free: 89.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00135/1.356, allocations: 0.8358 MB / 0.6779 GB, free: 88.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004366/1.361, allocations: 1.541 MB / 0.6794 GB, free: 87.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.296e-05/1.361, allocations: 305.1 kB / 0.6797 GB, free: 87.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004492/1.365, allocations: 3.171 MB / 0.6828 GB, free: 86.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008923/1.374, allocations: 7.461 MB / 0.6901 GB, free: 78.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01265/1.387, allocations: 11.48 MB / 0.7013 GB, free: 66.08 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002543/1.387, allocations: 44 kB / 0.7013 GB, free: 66.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01783/1.405, allocations: 10.6 MB / 0.7117 GB, free: 55.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000184/1.405, allocations: 72 kB / 0.7118 GB, free: 55.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002618/1.406, allocations: 152 kB / 0.7119 GB, free: 55.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002047/1.406, allocations: 200 kB / 0.7121 GB, free: 55.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006223/1.412, allocations: 1.801 MB / 0.7139 GB, free: 53.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000244/1.412, allocations: 294.9 kB / 0.7141 GB, free: 52.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007406/1.42, allocations: 0.9315 MB / 0.7151 GB, free: 51.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001583/1.421, allocations: 0.5192 MB / 0.7156 GB, free: 51.46 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.005724/1.427, allocations: 2.311 MB / 0.7178 GB, free: 49.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001552/1.429, allocations: 402.8 kB / 0.7182 GB, free: 48.74 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007222/1.436, allocations: 4.865 MB / 0.7229 GB, free: 43.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.483e-05/1.436, allocations: 28 kB / 0.723 GB, free: 43.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-05/1.436, allocations: 7.938 kB / 0.723 GB, free: 43.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.951e-05/1.436, allocations: 7.969 kB / 0.723 GB, free: 43.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02171/1.458, allocations: 11.53 MB / 0.7343 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.951e-05/1.458, allocations: 12.19 kB / 0.7343 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002805/1.461, allocations: 0.6002 MB / 0.7348 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.785e-05/1.461, allocations: 16 kB / 0.7349 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005011/1.461, allocations: 145.7 kB / 0.735 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.365e-05/1.461, allocations: 23.92 kB / 0.735 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.497e-06/1.461, allocations: 8 kB / 0.735 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01045/1.472, allocations: 8.902 MB / 0.7437 GB, free: 22.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00227/1.474, allocations: 0.507 MB / 0.7442 GB, free: 21.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001641/1.476, allocations: 47.98 kB / 0.7443 GB, free: 21.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002794/1.479, allocations: 79.98 kB / 0.7443 GB, free: 21.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004046/1.479, allocations: 240.7 kB / 0.7446 GB, free: 21.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003784/1.479, allocations: 167.2 kB / 0.7447 GB, free: 21.31 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005968/1.485, allocations: 2.95 MB / 0.7476 GB, free: 18.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/1.485, allocations: 0 / 0.7476 GB, free: 18.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.009479/1.495, allocations: 1.367 MB / 0.749 GB, free: 16.99 MB / 0.4981 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.001058/1.496, allocations: 190.4 kB / 0.7491 GB, free: 16.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01173/1.508, allocations: 7.137 MB / 0.7561 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.625e-05/1.508, allocations: 0 / 0.7561 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00332/1.511, allocations: 2.446 MB / 0.7585 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006013/1.517, allocations: 0.5537 MB / 0.759 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02487/1.542, allocations: 11.96 MB / 0.7707 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007514/1.55, allocations: 3.6 MB / 0.7742 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.008565/1.558, allocations: 2.298 MB / 0.7765 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002754/1.561, allocations: 0.5886 MB / 0.777 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of SimCode: time 1.864e-06/1.561, allocations: 0 / 0.777 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of Templates: time 0.1212/1.682, allocations: 56.33 MB / 0.8321 GB, free: 11.86 MB / 0.5762 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)