Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity.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.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Frames_AngularVelocity",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.01408/0.01408, 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.712/1.712, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.001706/0.001706, allocations: 106.8 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.4563/0.4563, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006551/0.0006552, allocations: 11.98 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1166, allocations: 48.72 MB / 411.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.3296/0.4463, allocations: 43.53 MB / 455.2 MB, free: 26.55 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02685/0.4732, allocations: 9.573 MB / 464.8 MB, free: 20.05 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01033/0.4836, allocations: 204 kB / 465 MB, free: 20.02 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007639/0.4913, allocations: 2.089 MB / 467.1 MB, free: 19.32 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02377/0.5151, allocations: 7.257 MB / 474.3 MB, free: 16.21 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004752/0.5199, allocations: 0.5932 MB / 474.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01052/0.5305, allocations: 4.428 MB / 479.4 MB, free: 14.48 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01373/0.5443, allocations: 4.626 MB / 484 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00341/0.5477, allocations: 1.207 MB / 485.2 MB, free: 11.87 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004632/0.5524, allocations: 1.885 MB / 487.1 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001351/0.5538, allocations: 143 kB / 487.2 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003781/0.5576, allocations: 0.9001 MB / 488.1 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003243/0.5609, allocations: 1.673 MB / 489.8 MB, free: 9.645 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001986/0.563, allocations: 0.8395 MB / 490.6 MB, free: 9.055 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008955/0.572, allocations: 5.574 MB / 496.2 MB, free: 5.281 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.572, allocations: 0 / 496.2 MB, free: 5.281 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.5721, allocations: 0.9688 kB / 496.2 MB, free: 5.281 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002945/0.5724, allocations: 0 / 496.2 MB, free: 5.281 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: 1555 * Number of variables: 1555 Notification: Performance of Generate backend data structure: time 0.01313/0.5855, allocations: 3.949 MB / 0.4884 GB, free: 2.508 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.5856, allocations: 14.03 kB / 0.4885 GB, free: 2.504 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002558/0.5881, allocations: 0.7471 MB / 0.4892 GB, free: 1.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01236/0.6005, allocations: 1.955 MB / 0.4911 GB, free: 0.9766 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0085/0.6091, allocations: 2.627 MB / 0.4937 GB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003208/0.6094, allocations: 246.3 kB / 0.4939 GB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002295/0.6117, allocations: 411.6 kB / 0.4943 GB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02869/0.6405, allocations: 10.16 MB / 0.5042 GB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001749/0.6407, allocations: 43.59 kB / 0.5042 GB, free: 2.941 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008875/0.6416, allocations: 159.8 kB / 0.5044 GB, free: 2.785 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005344/0.647, allocations: 1.9 MB / 0.5063 GB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02745/0.6745, allocations: 8.424 MB / 0.5145 GB, free: 8.438 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07912/0.7536, allocations: 39.67 MB / 0.5532 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01628/0.77, allocations: 3.547 MB / 0.5567 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004431/0.7745, allocations: 1.705 MB / 0.5583 GB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02044/0.7949, allocations: 7.436 MB / 0.5656 GB, free: 2.434 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.386e-05/0.7951, allocations: 59.42 kB / 0.5657 GB, free: 2.367 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 4.97e-06/0.7951, allocations: 0 / 0.5657 GB, free: 2.367 MB / 410.7 MB Notification: Performance of matching and sorting (n=146): time 0.05554/0.8506, allocations: 12.68 MB / 0.578 GB, free: 5.512 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001889/0.8526, allocations: 1.62 MB / 0.5796 GB, free: 3.715 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2843/1.137, allocations: 3.931 MB / 0.5835 GB, free: 127.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005297/1.138, allocations: 45.23 kB / 0.5835 GB, free: 127.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003215/1.141, allocations: 3.169 MB / 0.5866 GB, free: 126 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001166/1.142, allocations: 0.6025 MB / 0.5872 GB, free: 125.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006221/1.143, allocations: 115.2 kB / 0.5873 GB, free: 125.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004292/1.143, allocations: 0.5567 MB / 0.5878 GB, free: 125.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006089/1.149, allocations: 2.133 MB / 0.5899 GB, free: 125.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00815/1.157, allocations: 5.856 MB / 0.5957 GB, free: 120 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00777/1.165, allocations: 3.437 MB / 0.599 GB, free: 118.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001376/1.165, allocations: 37.03 kB / 0.599 GB, free: 118.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.02399/1.189, allocations: 8.537 MB / 0.6074 GB, free: 115.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/1.19, allocations: 63.16 kB / 0.6074 GB, free: 115.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008693/1.198, allocations: 2.871 MB / 0.6102 GB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005307/1.204, allocations: 1.136 MB / 0.6114 GB, free: 114.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007776/1.211, allocations: 1.367 MB / 0.6127 GB, free: 114.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007589/1.219, allocations: 4.742 MB / 0.6173 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007526/1.227, allocations: 414.9 kB / 0.6177 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001415/1.228, allocations: 370.7 kB / 0.6181 GB, free: 110.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 602 * Number of states: 0 () * Number of discrete variables: 36 (FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (733): * Single equations (assignments): 724 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.009468/1.238, allocations: 2.097 MB / 0.6201 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001303/1.239, allocations: 332.6 kB / 0.6204 GB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/1.251, allocations: 3.116 MB / 0.6235 GB, free: 108.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008615/1.259, allocations: 2.628 MB / 0.626 GB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-05/1.259, allocations: 2.375 kB / 0.626 GB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.43e-05/1.259, allocations: 9.547 kB / 0.6261 GB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/1.27, allocations: 3.856 MB / 0.6298 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.178e-05/1.27, allocations: 0.6562 kB / 0.6298 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002564/1.273, allocations: 253.4 kB / 0.6301 GB, free: 106.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00559/1.278, allocations: 1.037 MB / 0.6311 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004327/1.279, allocations: 35.66 kB / 0.6311 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008418/1.287, allocations: 5.021 MB / 0.636 GB, free: 102.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001202/1.289, allocations: 1.482 MB / 0.6375 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01372/1.302, allocations: 5.437 MB / 0.6428 GB, free: 99.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/1.304, allocations: 407.2 kB / 0.6432 GB, free: 98.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009335/1.305, allocations: 32.19 kB / 0.6432 GB, free: 98.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00305/1.308, allocations: 146.8 kB / 0.6433 GB, free: 98.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004526/1.308, allocations: 85.73 kB / 0.6434 GB, free: 98.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001786/1.308, allocations: 39.97 kB / 0.6434 GB, free: 98.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006466/1.315, allocations: 2.451 MB / 0.6458 GB, free: 97.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.372e-06/1.315, allocations: 0 / 0.6458 GB, free: 97.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009845/1.325, allocations: 1.05 MB / 0.6469 GB, free: 96.57 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * 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 (114): * Single equations (assignments): 107 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01934/1.344, allocations: 6.085 MB / 0.6528 GB, free: 90.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01973/1.364, allocations: 5.675 MB / 0.6584 GB, free: 84.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/1.364, allocations: 0 / 0.6584 GB, free: 84.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009221/1.373, allocations: 2.212 MB / 0.6605 GB, free: 82.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005733/1.379, allocations: 419.8 kB / 0.6609 GB, free: 82.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08377/1.463, allocations: 34.4 MB / 0.6945 GB, free: 44.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005203/1.468, allocations: 3.328 MB / 0.6978 GB, free: 40.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007631/1.476, allocations: 1.867 MB / 0.6996 GB, free: 39.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003948/1.48, allocations: 1.854 MB / 0.7014 GB, free: 37.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.323e-06/1.48, allocations: 0 / 0.7014 GB, free: 37.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4632/1.943, allocations: 75.02 MB / 0.7747 GB, free: 121.7 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00023/1.943, allocations: 218.8 kB / 0.7749 GB, free: 121.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.257/7.2, allocations: 0 / 0.7749 GB, free: 121.5 MB / 442.7 MB