Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques.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.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameTorques",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.01027/0.01027, allocations: 162 kB / 15.11 MB, free: 5.969 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.814/1.814, allocations: 170.8 MB / 186.6 MB, free: 1.031 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.001733/0.001733, allocations: 110.8 kB / 226.2 MB, free: 10.08 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.4731/0.4731, allocations: 38.06 MB / 303.7 MB, free: 42.48 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004888/0.0004891, allocations: 12 kB / 363 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1559, allocations: 48.72 MB / 411.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.3636/0.5196, allocations: 64.01 MB / 475.7 MB, free: 11.94 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03563/0.5552, allocations: 13.34 MB / 489.1 MB, free: 2.848 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01347/0.5688, allocations: 304 kB / 489.4 MB, free: 2.801 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0108/0.5796, allocations: 3.123 MB / 492.5 MB, free: 1.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03779/0.6175, allocations: 10.79 MB / 0.4915 GB, free: 12.09 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005771/0.6233, allocations: 0.8074 MB / 0.4923 GB, free: 11.57 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.06306/0.6864, allocations: 28.63 MB / 0.5202 GB, free: 3.375 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01262/0.6991, allocations: 5.741 MB / 0.5258 GB, free: 13.6 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004211/0.7034, allocations: 1.677 MB / 0.5275 GB, free: 11.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006092/0.7095, allocations: 2.683 MB / 0.5301 GB, free: 9.223 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001304/0.7109, allocations: 196 kB / 0.5303 GB, free: 9.031 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004025/0.7149, allocations: 1.147 MB / 0.5314 GB, free: 7.883 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004321/0.7193, allocations: 2.361 MB / 0.5337 GB, free: 5.516 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002081/0.7214, allocations: 1.115 MB / 0.5348 GB, free: 4.391 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01239/0.7338, allocations: 7.56 MB / 0.5422 GB, free: 12.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.455e-05/0.7339, allocations: 8 kB / 0.5422 GB, free: 12.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.629e-06/0.7339, allocations: 4 kB / 0.5422 GB, free: 12.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003218/0.7342, allocations: 3.844 kB / 0.5422 GB, free: 12.79 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1954 * Number of variables: 1954 Notification: Performance of Generate backend data structure: time 0.02098/0.7552, allocations: 5.656 MB / 0.5477 GB, free: 7.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.7553, allocations: 12.03 kB / 0.5477 GB, free: 7.059 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003185/0.7585, allocations: 0.9142 MB / 0.5486 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07687/0.8354, allocations: 6.24 MB / 0.5547 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01519/0.8506, allocations: 4.7 MB / 0.5593 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004125/0.8511, allocations: 303.8 kB / 0.5596 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001815/0.8529, allocations: 411.7 kB / 0.56 GB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03508/0.888, allocations: 12.9 MB / 0.5726 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002326/0.8883, allocations: 55.44 kB / 0.5726 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001166/0.8895, allocations: 199.8 kB / 0.5728 GB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006315/0.8958, allocations: 2.386 MB / 0.5752 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3141/1.21, allocations: 10.53 MB / 0.5854 GB, free: 123.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1008/1.311, allocations: 49.55 MB / 0.6338 GB, free: 91.74 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02632/1.337, allocations: 4.425 MB / 0.6382 GB, free: 90.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007276/1.345, allocations: 2.323 MB / 0.6404 GB, free: 89.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01935/1.364, allocations: 6.507 MB / 0.6468 GB, free: 85.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.26e-05/1.364, allocations: 54.72 kB / 0.6468 GB, free: 85.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=183): time 5.2e-06/1.364, allocations: 0 / 0.6468 GB, free: 85.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=195): time 0.07227/1.436, allocations: 17.57 MB / 0.664 GB, free: 76.08 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.52e-05/1.437, allocations: 227.1 kB / 0.6642 GB, free: 75.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0112/1.448, allocations: 5.876 MB / 0.6699 GB, free: 71.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000457/1.448, allocations: 57.7 kB / 0.67 GB, free: 71.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003124/1.451, allocations: 4.095 MB / 0.674 GB, free: 67.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001083/1.452, allocations: 0.7751 MB / 0.6748 GB, free: 66.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006436/1.453, allocations: 140 kB / 0.6749 GB, free: 66.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003989/1.454, allocations: 0.6039 MB / 0.6755 GB, free: 65.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0054/1.459, allocations: 2.388 MB / 0.6778 GB, free: 63.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007843/1.467, allocations: 6.879 MB / 0.6845 GB, free: 54.17 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008515/1.475, allocations: 3.965 MB / 0.6884 GB, free: 50.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000109/1.476, allocations: 44 kB / 0.6884 GB, free: 50.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.02413/1.5, allocations: 9.496 MB / 0.6977 GB, free: 40.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/1.5, allocations: 72 kB / 0.6978 GB, free: 40.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002009/1.5, allocations: 160 kB / 0.6979 GB, free: 40.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002861/1.503, allocations: 0.7565 MB / 0.6987 GB, free: 39.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009629/1.513, allocations: 1.665 MB / 0.7003 GB, free: 38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/1.523, allocations: 6.464 MB / 0.7066 GB, free: 31.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007781/1.531, allocations: 398.5 kB / 0.707 GB, free: 30.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001103/1.532, allocations: 449.1 kB / 0.7074 GB, free: 30.45 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 723 * Number of states: 0 () * Number of discrete variables: 42 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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 (877): * Single equations (assignments): 870 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005628/1.537, allocations: 2.681 MB / 0.71 GB, free: 27.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/1.539, allocations: 497.6 kB / 0.7105 GB, free: 27.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008268/1.547, allocations: 3.277 MB / 0.7137 GB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-05/1.547, allocations: 30.66 kB / 0.7137 GB, free: 23.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/1.547, allocations: 7.953 kB / 0.7138 GB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.462e-05/1.547, allocations: 7.969 kB / 0.7138 GB, free: 23.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02248/1.57, allocations: 8.817 MB / 0.7224 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.987e-05/1.57, allocations: 4 kB / 0.7224 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003019/1.573, allocations: 323.5 kB / 0.7227 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002315/1.575, allocations: 0.5021 MB / 0.7232 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002693/1.575, allocations: 36 kB / 0.7232 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008729/1.584, allocations: 5.784 MB / 0.7289 GB, free: 8.152 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/1.584, allocations: 8 kB / 0.7289 GB, free: 8.145 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/1.597, allocations: 5.954 MB / 0.7347 GB, free: 2.121 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002987/1.6, allocations: 0.8273 MB / 0.7355 GB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001242/1.601, allocations: 39.31 kB / 0.7355 GB, free: 1.234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003515/1.604, allocations: 103.9 kB / 0.7356 GB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000577/1.605, allocations: 113 kB / 0.7357 GB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001894/1.605, allocations: 48 kB / 0.7358 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01006/1.615, allocations: 3.764 MB / 0.7395 GB, free: 13.24 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.615, allocations: 0 / 0.7395 GB, free: 13.24 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008833/1.624, allocations: 1.225 MB / 0.7406 GB, free: 12.02 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0168/1.641, allocations: 6.608 MB / 0.7471 GB, free: 5.348 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3154/1.957, allocations: 5.858 MB / 0.7528 GB, free: 132.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/1.957, allocations: 1.062 kB / 0.7528 GB, free: 132.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004674/1.961, allocations: 1.775 MB / 0.7546 GB, free: 132.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00665/1.968, allocations: 0.6261 MB / 0.7552 GB, free: 132.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1254/2.093, allocations: 48.39 MB / 0.8024 GB, free: 102.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00957/2.103, allocations: 4.23 MB / 0.8066 GB, free: 100.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01094/2.114, allocations: 2.318 MB / 0.8088 GB, free: 100.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005402/2.119, allocations: 2.561 MB / 0.8113 GB, free: 98.45 MB / 442.7 MB Notification: Performance of SimCode: time 1.172e-06/2.12, allocations: 3.938 kB / 0.8113 GB, free: 98.45 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2117/2.331, allocations: 100.5 MB / 0.9094 GB, free: 4.613 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/2.332, allocations: 195.1 kB / 0.9096 GB, free: 4.379 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.191/9.522, allocations: 4 kB / 0.9096 GB, free: 4.375 MB / 442.7 MB