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.0008525/0.0008588, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008804/0.008804, allocations: 170 kB / 16.26 MB, free: 6.613 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.432/1.432, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.3189/0.3189, allocations: 38.03 MB / 308.8 MB, free: 10.12 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.0005303/0.0005303, allocations: 20 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1229, allocations: 57.52 MB / 434.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.3063/0.4293, allocations: 83.88 MB / 0.5063 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04055/0.4699, allocations: 15.4 MB / 0.5213 GB, free: 6.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02096/0.4909, allocations: 354.9 kB / 0.5217 GB, free: 6.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00224/0.4932, allocations: 0.5207 MB / 0.5222 GB, free: 6.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005522/0.4987, allocations: 1.644 MB / 0.5238 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.5002, allocations: 417.7 kB / 0.5242 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01163/0.5118, allocations: 5.815 MB / 0.5299 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009521/0.5214, allocations: 5.287 MB / 0.535 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003478/0.5249, allocations: 1.348 MB / 0.5363 GB, free: 344 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005877/0.5308, allocations: 2.693 MB / 0.539 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001658/0.5325, allocations: 188.9 kB / 0.5392 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002743/0.5353, allocations: 0.658 MB / 0.5398 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003287/0.5386, allocations: 1.913 MB / 0.5417 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005118/0.5437, allocations: 2.424 MB / 0.544 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01165/0.5554, allocations: 8.038 MB / 0.5519 GB, free: 3.832 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.5555, allocations: 0 / 0.5519 GB, free: 3.832 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5555, allocations: 4 kB / 0.5519 GB, free: 3.828 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003902/0.5559, allocations: 0 / 0.5519 GB, free: 3.828 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.08587/0.6418, allocations: 9.345 MB / 0.561 GB, free: 10.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.6418, allocations: 8.031 kB / 0.561 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008225/0.6501, allocations: 1.904 MB / 0.5629 GB, free: 8.484 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009829/0.6599, allocations: 3.243 MB / 0.566 GB, free: 5.184 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003786/0.6603, allocations: 295.5 kB / 0.5663 GB, free: 4.895 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003098/0.6635, allocations: 407.6 kB / 0.5667 GB, free: 4.496 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05651/0.72, allocations: 19.58 MB / 0.5858 GB, free: 208 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002802/0.7203, allocations: 51.5 kB / 0.5859 GB, free: 156 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002781/0.7231, allocations: 183.8 kB / 0.5861 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006263/0.7294, allocations: 2.345 MB / 0.5884 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05788/0.7873, allocations: 22.41 MB / 0.6102 GB, free: 7.172 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.322/1.109, allocations: 52.54 MB / 0.6615 GB, free: 115.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06763/1.177, allocations: 9.24 MB / 0.6706 GB, free: 113.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005853/1.183, allocations: 3.019 MB / 0.6735 GB, free: 112.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001854/1.185, allocations: 362.2 kB / 0.6739 GB, free: 112.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/1.185, allocations: 54.03 kB / 0.6739 GB, free: 112.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=212): time 7.154e-06/1.185, allocations: 0 / 0.6739 GB, free: 112.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=212): time 0.1383/1.323, allocations: 16.27 MB / 0.6898 GB, free: 110.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/1.323, allocations: 153.4 kB / 0.69 GB, free: 110.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01145/1.335, allocations: 4.696 MB / 0.6945 GB, free: 108.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006914/1.336, allocations: 49.45 kB / 0.6946 GB, free: 108.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002624/1.338, allocations: 3.495 MB / 0.698 GB, free: 105.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001369/1.34, allocations: 0.8387 MB / 0.6988 GB, free: 105.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001519/1.341, allocations: 0.5716 MB / 0.6994 GB, free: 104.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.784e-05/1.341, allocations: 312.7 kB / 0.6997 GB, free: 104.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004799/1.346, allocations: 3.169 MB / 0.7028 GB, free: 103.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008049/1.354, allocations: 7.463 MB / 0.7101 GB, free: 95.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01261/1.367, allocations: 11.48 MB / 0.7213 GB, free: 82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001861/1.367, allocations: 44 kB / 0.7213 GB, free: 81.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=879) (initialization): time 0.0195/1.387, allocations: 10.61 MB / 0.7317 GB, free: 71.35 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002163/1.387, allocations: 75.98 kB / 0.7317 GB, free: 71.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003558/1.387, allocations: 152 kB / 0.7319 GB, free: 71.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003695/1.388, allocations: 204 kB / 0.7321 GB, free: 70.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006888/1.394, allocations: 1.805 MB / 0.7338 GB, free: 69.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003638/1.395, allocations: 295.8 kB / 0.7341 GB, free: 68.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007851/1.403, allocations: 0.9317 MB / 0.735 GB, free: 67.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002078/1.405, allocations: 0.5115 MB / 0.7355 GB, free: 67.38 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.006927/1.412, allocations: 2.31 MB / 0.7378 GB, free: 65.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00144/1.413, allocations: 402.8 kB / 0.7382 GB, free: 64.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007518/1.421, allocations: 4.873 MB / 0.7429 GB, free: 59.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-05/1.421, allocations: 24 kB / 0.743 GB, free: 59.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.035e-05/1.421, allocations: 0 / 0.743 GB, free: 59.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-05/1.421, allocations: 15.89 kB / 0.743 GB, free: 59.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01868/1.44, allocations: 11.52 MB / 0.7542 GB, free: 48.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-05/1.44, allocations: 8 kB / 0.7542 GB, free: 48.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002769/1.443, allocations: 0.6085 MB / 0.7548 GB, free: 47.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.836e-05/1.443, allocations: 14.53 kB / 0.7548 GB, free: 47.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000369/1.443, allocations: 146.8 kB / 0.755 GB, free: 47.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-05/1.443, allocations: 19.94 kB / 0.755 GB, free: 47.31 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/1.443, allocations: 11.94 kB / 0.755 GB, free: 47.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01003/1.453, allocations: 8.906 MB / 0.7637 GB, free: 38.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001554/1.455, allocations: 0.5148 MB / 0.7642 GB, free: 37.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00117/1.456, allocations: 47.98 kB / 0.7642 GB, free: 37.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002582/1.459, allocations: 83.97 kB / 0.7643 GB, free: 37.61 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004245/1.459, allocations: 236.7 kB / 0.7646 GB, free: 37.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000294/1.459, allocations: 163.8 kB / 0.7647 GB, free: 37.21 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004564/1.464, allocations: 2.958 MB / 0.7676 GB, free: 34.26 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.11e-07/1.464, allocations: 0 / 0.7676 GB, free: 34.26 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007335/1.471, allocations: 1.376 MB / 0.7689 GB, free: 32.88 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.0005621/1.472, allocations: 191.9 kB / 0.7691 GB, free: 32.69 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009596/1.481, allocations: 7.087 MB / 0.776 GB, free: 25.63 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/1.481, allocations: 4.812 kB / 0.7761 GB, free: 25.63 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002732/1.484, allocations: 2.444 MB / 0.7784 GB, free: 23.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01033/1.495, allocations: 0.5367 MB / 0.779 GB, free: 22.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02233/1.517, allocations: 14.65 MB / 0.7933 GB, free: 7.887 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004354/1.521, allocations: 3.597 MB / 0.7968 GB, free: 4.254 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005572/1.527, allocations: 2.298 MB / 0.799 GB, free: 1.949 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001612/1.529, allocations: 0.5964 MB / 0.7996 GB, free: 1.355 MB / 494.1 MB Notification: Performance of SimCode: time 1.333e-06/1.529, allocations: 0 / 0.7996 GB, free: 1.355 MB / 494.1 MB Notification: Performance of Templates: time 0.3852/1.914, allocations: 57.54 MB / 0.8558 GB, free: 149.6 MB / 0.5137 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: