Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01439/0.0144, allocations: 164.6 kB / 15.12 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.774/1.774, allocations: 170.8 MB / 186.6 MB, free: 1.109 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001715/0.001714, allocations: 98.84 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4527/0.4527, allocations: 38.05 MB / 303.7 MB, free: 42.33 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000766/0.0007662, allocations: 11.98 kB / 363 MB, free: 5.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1497, allocations: 48.72 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.0188/0.1686, allocations: 7.85 MB / 419.6 MB, free: 12.81 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007126/0.1758, allocations: 1.851 MB / 421.4 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002268/0.1781, allocations: 27.94 kB / 421.4 MB, free: 10.92 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002859/0.1811, allocations: 342.5 kB / 421.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005638/0.1868, allocations: 1.163 MB / 422.9 MB, free: 9.418 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.1873, allocations: 23.91 kB / 423 MB, free: 9.395 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003965/0.1913, allocations: 1.589 MB / 424.5 MB, free: 7.801 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002771/0.1942, allocations: 0.8746 MB / 425.4 MB, free: 6.891 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.1955, allocations: 454.2 kB / 425.9 MB, free: 6.445 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002112/0.1977, allocations: 0.7007 MB / 426.6 MB, free: 5.742 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004977/0.1982, allocations: 56 kB / 426.6 MB, free: 5.688 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.1996, allocations: 263.6 kB / 426.9 MB, free: 5.43 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001419/0.2011, allocations: 0.6231 MB / 427.5 MB, free: 4.805 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007679/0.2019, allocations: 356.6 kB / 427.8 MB, free: 4.449 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004613/0.2065, allocations: 1.999 MB / 429.8 MB, free: 2.445 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.2066, allocations: 4 kB / 429.8 MB, free: 2.441 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.995e-06/0.2066, allocations: 0 / 429.8 MB, free: 2.441 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.353e-05/0.2068, allocations: 0 / 429.8 MB, free: 2.441 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 703 * Number of variables: 703 Notification: Performance of Generate backend data structure: time 0.005554/0.2123, allocations: 1.651 MB / 431.5 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.2124, allocations: 15.97 kB / 431.5 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001239/0.2137, allocations: 347.8 kB / 431.9 MB, free: 384 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3171/0.5308, allocations: 1.499 MB / 433.4 MB, free: 46.45 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003889/0.5348, allocations: 0.8296 MB / 434.2 MB, free: 46.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002198/0.5351, allocations: 80.17 kB / 434.3 MB, free: 46.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008838/0.536, allocations: 102.4 kB / 434.4 MB, free: 46.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01449/0.5505, allocations: 4.607 MB / 439 MB, free: 45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001122/0.5507, allocations: 22.58 kB / 439 MB, free: 44.99 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005541/0.5513, allocations: 56.06 kB / 439 MB, free: 44.99 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004558/0.5559, allocations: 1.097 MB / 440.1 MB, free: 44.97 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01547/0.5714, allocations: 3.98 MB / 444.1 MB, free: 43.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03431/0.6058, allocations: 18.38 MB / 462.5 MB, free: 29.78 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.6076, allocations: 1.183 MB / 463.7 MB, free: 28.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000651/0.6083, allocations: 343.8 kB / 464 MB, free: 28.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.6084, allocations: 3.125 kB / 464 MB, free: 28.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.6084, allocations: 34.19 kB / 464.1 MB, free: 28.76 MB / 330.7 MB Notification: Performance of pre-optimization done (n=60): time 5.801e-06/0.6084, allocations: 4 kB / 464.1 MB, free: 28.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=60): time 0.002306/0.6108, allocations: 1.023 MB / 465.1 MB, free: 28.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.6109, allocations: 112.4 kB / 465.2 MB, free: 28.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004201/0.6151, allocations: 2.162 MB / 467.4 MB, free: 27.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001142/0.6152, allocations: 33.7 kB / 467.4 MB, free: 27.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001201/0.6165, allocations: 1.611 MB / 469 MB, free: 26.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003441/0.6168, allocations: 276.1 kB / 469.3 MB, free: 25.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.617, allocations: 64.31 kB / 469.3 MB, free: 25.86 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002942/0.6174, allocations: 0.4922 MB / 469.8 MB, free: 25.47 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001968/0.6193, allocations: 0.8754 MB / 470.7 MB, free: 25.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00322/0.6226, allocations: 3.132 MB / 473.8 MB, free: 21.81 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003511/0.6262, allocations: 1.669 MB / 475.5 MB, free: 21.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-05/0.6263, allocations: 24.5 kB / 475.5 MB, free: 21.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01078/0.6371, allocations: 3.791 MB / 479.3 MB, free: 19.67 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.92e-05/0.6372, allocations: 38.47 kB / 479.3 MB, free: 19.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001667/0.6374, allocations: 80.59 kB / 479.4 MB, free: 19.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001879/0.6376, allocations: 116.6 kB / 479.5 MB, free: 19.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004339/0.642, allocations: 0.7474 MB / 480.3 MB, free: 19.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002981/0.6423, allocations: 158.4 kB / 480.4 MB, free: 19.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004204/0.6465, allocations: 495.2 kB / 480.9 MB, free: 19.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000752/0.6473, allocations: 211.5 kB / 481.1 MB, free: 19.2 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 368 * Number of states: 0 () * Number of discrete variables: 9 (world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (407): * Single equations (assignments): 404 * 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.002725/0.6501, allocations: 1.094 MB / 482.2 MB, free: 18.65 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004611/0.6506, allocations: 162.8 kB / 482.4 MB, free: 18.56 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005731/0.6512, allocations: 200.1 kB / 482.6 MB, free: 18.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-05/0.6512, allocations: 12.2 kB / 482.6 MB, free: 18.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.6513, allocations: 5.422 kB / 482.6 MB, free: 18.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.6513, allocations: 2.844 kB / 482.6 MB, free: 18.47 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005793/0.6571, allocations: 2.003 MB / 484.6 MB, free: 17.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/0.6571, allocations: 5.75 kB / 484.6 MB, free: 17.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005995/0.6578, allocations: 63.75 kB / 484.7 MB, free: 17.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.351e-05/0.6578, allocations: 6.516 kB / 484.7 MB, free: 17.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.102e-05/0.6578, allocations: 8.719 kB / 484.7 MB, free: 17.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.6579, allocations: 4.719 kB / 484.7 MB, free: 17.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6579, allocations: 0 / 484.7 MB, free: 17.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.6596, allocations: 1.024 MB / 485.7 MB, free: 17.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005913/0.6603, allocations: 241.2 kB / 486 MB, free: 16.83 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002797/0.6606, allocations: 12.06 kB / 486 MB, free: 16.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009118/0.6615, allocations: 25.88 kB / 486 MB, free: 16.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.6616, allocations: 19.22 kB / 486 MB, free: 16.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.716e-05/0.6617, allocations: 22.91 kB / 486 MB, free: 16.81 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003521/0.6652, allocations: 1.353 MB / 487.4 MB, free: 16.31 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.212e-06/0.6653, allocations: 0 / 487.4 MB, free: 16.31 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00386/0.6692, allocations: 0.49 MB / 487.9 MB, free: 16.19 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * 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 (36): * Single equations (assignments): 33 * 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.002306/0.6715, allocations: 1.628 MB / 489.5 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004411/0.676, allocations: 2.014 MB / 491.5 MB, free: 13.42 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.351e-06/0.676, allocations: 0 / 491.5 MB, free: 13.42 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006139/0.6766, allocations: 334 kB / 491.8 MB, free: 13.1 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.6783, allocations: 158.1 kB / 492 MB, free: 12.94 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03151/0.7099, allocations: 13.73 MB / 0.4939 GB, free: 13.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002892/0.7128, allocations: 1.814 MB / 0.4956 GB, free: 11.67 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.004948/0.7178, allocations: 1.105 MB / 0.4967 GB, free: 10.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001728/0.7196, allocations: 0.718 MB / 0.4974 GB, free: 9.844 MB / 346.7 MB Notification: Performance of SimCode: time 1.262e-06/0.7196, allocations: 4 kB / 0.4974 GB, free: 9.84 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1066/0.8263, allocations: 32.17 MB / 0.5289 GB, free: 9.758 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003125/0.8266, allocations: 184 kB / 0.529 GB, free: 9.523 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.979/4.806, allocations: 0 / 0.529 GB, free: 9.523 MB / 378.7 MB