Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Visualizers.VoluminousWheel.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.VoluminousWheel,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Visualizers_VoluminousWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.86/1.86, allocations: 209.2 MB / 224.8 MB, free: 0.7656 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004408/0.0004411, allocations: 8 kB / 282.6 MB, free: 9.617 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1167, allocations: 48.71 MB / 331.3 MB, free: 8.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.VoluminousWheel): time 0.01756/0.1344, allocations: 7.478 MB / 338.8 MB, free: 1.316 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.352/0.4865, allocations: 1.901 MB / 340.7 MB, free: 9.031 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.4877, allocations: 29.06 kB / 340.7 MB, free: 9.031 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.4889, allocations: 341 kB / 341 MB, free: 9.031 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004223/0.4931, allocations: 0.9755 MB / 342 MB, free: 9.016 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.4936, allocations: 19.98 kB / 342 MB, free: 9.016 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002345/0.4959, allocations: 0.8353 MB / 342.9 MB, free: 9.012 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/0.498, allocations: 0.8767 MB / 343.7 MB, free: 8.859 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008573/0.4989, allocations: 384.1 kB / 344.1 MB, free: 8.859 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/0.5001, allocations: 0.5065 MB / 344.6 MB, free: 8.812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003313/0.5005, allocations: 53.75 kB / 344.7 MB, free: 8.812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009406/0.5014, allocations: 263.4 kB / 344.9 MB, free: 8.809 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009297/0.5024, allocations: 0.5809 MB / 345.5 MB, free: 8.734 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004954/0.5029, allocations: 364.8 kB / 345.9 MB, free: 8.629 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004018/0.5069, allocations: 1.999 MB / 347.9 MB, free: 8.473 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.507, allocations: 0 / 347.9 MB, free: 8.473 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.507, allocations: 1.188 kB / 347.9 MB, free: 8.473 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001035/0.5071, allocations: 0 / 347.9 MB, free: 8.473 MB / 282.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.004792/0.5119, allocations: 1.651 MB / 349.5 MB, free: 7.496 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.512, allocations: 10.8 kB / 349.5 MB, free: 7.496 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001012/0.513, allocations: 344.8 kB / 349.9 MB, free: 7.445 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/0.5237, allocations: 1.782 MB / 351.6 MB, free: 7.023 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002932/0.5267, allocations: 0.8403 MB / 352.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.5268, allocations: 76.05 kB / 352.6 MB, free: 6.559 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005584/0.5274, allocations: 101.1 kB / 352.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009718/0.5371, allocations: 4.601 MB / 357.3 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-05/0.5372, allocations: 20.5 kB / 357.3 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002823/0.5375, allocations: 53.86 kB / 357.3 MB, free: 4.719 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003041/0.5406, allocations: 1.102 MB / 358.4 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01063/0.5513, allocations: 3.979 MB / 362.4 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02973/0.581, allocations: 18.38 MB / 380.8 MB, free: 1.488 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/0.5833, allocations: 1.175 MB / 382 MB, free: 180 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.264e-05/0.5834, allocations: 7.953 kB / 382 MB, free: 172 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.5834, allocations: 38.56 kB / 382 MB, free: 124 kB / 298.7 MB Notification: Performance of pre-optimization done (n=60): time 4.518e-06/0.5835, allocations: 0 / 382 MB, free: 124 kB / 298.7 MB Notification: Performance of matching and sorting (n=60): time 0.003076/0.5865, allocations: 1.294 MB / 383.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.848e-05/0.5867, allocations: 106.8 kB / 383.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005251/0.5919, allocations: 2.161 MB / 385.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001353/0.5921, allocations: 33.7 kB / 385.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001553/0.5937, allocations: 1.63 MB / 387.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004336/0.5942, allocations: 267 kB / 387.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.5944, allocations: 64 kB / 387.5 MB, free: 10.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003229/0.5947, allocations: 461.9 kB / 388 MB, free: 9.992 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002266/0.597, allocations: 0.8825 MB / 388.9 MB, free: 9.109 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004498/0.6015, allocations: 3.129 MB / 392 MB, free: 4.844 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004186/0.6058, allocations: 1.669 MB / 393.7 MB, free: 3.176 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.527e-05/0.6059, allocations: 24 kB / 393.7 MB, free: 3.152 MB / 314.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01019/0.6161, allocations: 3.741 MB / 397.4 MB, free: 15.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.632e-05/0.6162, allocations: 51.11 kB / 397.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001215/0.6164, allocations: 80 kB / 397.6 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001649/0.6165, allocations: 120 kB / 397.7 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004041/0.6206, allocations: 0.7486 MB / 398.4 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001909/0.6208, allocations: 155.4 kB / 398.6 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003469/0.6243, allocations: 488.3 kB / 399.1 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006706/0.625, allocations: 220 kB / 399.3 MB, free: 13.57 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.00292/0.6279, allocations: 1.095 MB / 400.4 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004247/0.6284, allocations: 161.8 kB / 400.5 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005788/0.629, allocations: 207.8 kB / 400.7 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.7e-05/0.629, allocations: 10.58 kB / 400.7 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.629, allocations: 0 / 400.7 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.6291, allocations: 0 / 400.7 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005262/0.6343, allocations: 2.008 MB / 402.8 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.964e-06/0.6344, allocations: 4 kB / 402.8 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005577/0.6349, allocations: 59.91 kB / 402.8 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.635, allocations: 0 / 402.8 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.758e-05/0.635, allocations: 11.98 kB / 402.8 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/0.635, allocations: 4 kB / 402.8 MB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6351, allocations: 0 / 402.8 MB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.6368, allocations: 1.026 MB / 403.9 MB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005513/0.6374, allocations: 241 kB / 404.1 MB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002928/0.6377, allocations: 6.969 kB / 404.1 MB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009104/0.6386, allocations: 27.97 kB / 404.1 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.903e-05/0.6388, allocations: 23.91 kB / 404.2 MB, free: 8.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.72e-05/0.6388, allocations: 16 kB / 404.2 MB, free: 8.574 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003879/0.6427, allocations: 1.355 MB / 405.5 MB, free: 7.195 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.022e-06/0.6428, allocations: 0 / 405.5 MB, free: 7.195 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00357/0.6464, allocations: 0.4925 MB / 406 MB, free: 6.703 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.002311/0.6487, allocations: 1.624 MB / 407.6 MB, free: 5.051 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005125/0.6538, allocations: 2.015 MB / 409.7 MB, free: 3.055 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.6539, allocations: 0 / 409.7 MB, free: 3.055 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000723/0.6546, allocations: 331.6 kB / 410 MB, free: 2.73 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.6559, allocations: 166.3 kB / 410.1 MB, free: 2.566 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04162/0.6975, allocations: 14.52 MB / 424.7 MB, free: 2.348 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002697/0.7003, allocations: 1.826 MB / 426.5 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00179/0.7021, allocations: 0.7498 MB / 427.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.7021, allocations: 7.938 kB / 427.2 MB, free: 15.74 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.174/3.877, allocations: 36.26 MB / 463.5 MB, free: 11.48 MB / 394.7 MB