Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.148/2.148, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003654, allocations: 8 kB / 264.1 MB, free: 3.488 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3151, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects): time 0.1303/0.4455, allocations: 77.49 MB / 386.1 MB, free: 15.08 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05703/0.5026, allocations: 17.83 MB / 403.9 MB, free: 13.19 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01886/0.5215, allocations: 406.9 kB / 404.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01589/0.5374, allocations: 3.982 MB / 408.3 MB, free: 8.793 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3636/0.9011, allocations: 11.28 MB / 419.5 MB, free: 4.312 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007715/0.9089, allocations: 1.27 MB / 420.8 MB, free: 4.301 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.09556/1.005, allocations: 34.75 MB / 455.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0186/1.023, allocations: 7.786 MB / 463.4 MB, free: 6.426 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006213/1.029, allocations: 2.086 MB / 465.4 MB, free: 5.066 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00694/1.036, allocations: 2.689 MB / 468.1 MB, free: 3.168 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002125/1.039, allocations: 240 kB / 468.4 MB, free: 2.934 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005827/1.045, allocations: 1.384 MB / 469.7 MB, free: 1.793 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006462/1.051, allocations: 3.094 MB / 472.8 MB, free: 15.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003807/1.055, allocations: 1.465 MB / 474.3 MB, free: 15.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01817/1.073, allocations: 9.814 MB / 484.1 MB, free: 6.473 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.073, allocations: 4 kB / 484.1 MB, free: 6.469 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.857e-06/1.073, allocations: 0 / 484.1 MB, free: 6.469 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004706/1.074, allocations: 2.078 kB / 484.1 MB, free: 6.469 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2273 * Number of variables: 2273 Notification: Performance of Generate backend data structure: time 0.04737/1.121, allocations: 9.014 MB / 493.1 MB, free: 14.1 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/1.121, allocations: 8.031 kB / 493.1 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00477/1.126, allocations: 1.071 MB / 494.2 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2011/1.327, allocations: 19.4 MB / 0.5016 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02929/1.356, allocations: 7.996 MB / 0.5094 GB, free: 5.516 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005815/1.357, allocations: 381.1 kB / 0.5098 GB, free: 5.309 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004497/1.362, allocations: 0.692 MB / 0.5104 GB, free: 4.844 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05794/1.42, allocations: 16.68 MB / 0.5267 GB, free: 7.559 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005823/1.42, allocations: 83.78 kB / 0.5268 GB, free: 7.512 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002734/1.423, allocations: 253.4 kB / 0.527 GB, free: 7.434 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007486/1.431, allocations: 2.656 MB / 0.5296 GB, free: 5.273 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05435/1.485, allocations: 13.95 MB / 0.5433 GB, free: 11.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6903/2.175, allocations: 66.4 MB / 0.6081 GB, free: 145.4 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04716/2.223, allocations: 8.716 MB / 0.6166 GB, free: 144.1 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002407/2.225, allocations: 1.049 MB / 0.6176 GB, free: 143.2 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/2.225, allocations: 63.91 kB / 0.6177 GB, free: 143.1 MB / 458.8 MB Notification: Performance of pre-optimization done (n=268): time 7.073e-06/2.225, allocations: 0 / 0.6177 GB, free: 143.1 MB / 458.8 MB Notification: Performance of matching and sorting (n=348): time 0.3383/2.564, allocations: 52.78 MB / 0.6692 GB, free: 96.07 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002755/2.566, allocations: 3.26 MB / 0.6724 GB, free: 92.49 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01903/2.585, allocations: 8.202 MB / 0.6804 GB, free: 84.34 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001332/2.587, allocations: 79.19 kB / 0.6805 GB, free: 84.25 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00531/2.592, allocations: 5.145 MB / 0.6855 GB, free: 79.14 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002554/2.595, allocations: 1.317 MB / 0.6868 GB, free: 77.83 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001964/2.597, allocations: 188 kB / 0.687 GB, free: 77.65 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0009429/2.598, allocations: 0.707 MB / 0.6877 GB, free: 76.93 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01163/2.61, allocations: 4.672 MB / 0.6922 GB, free: 72.25 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01481/2.624, allocations: 9.884 MB / 0.7019 GB, free: 59.89 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0151/2.64, allocations: 6.651 MB / 0.7084 GB, free: 53.39 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002074/2.64, allocations: 52 kB / 0.7084 GB, free: 53.34 MB / 458.8 MB Notification: Performance of matching and sorting (n=1239) (initialization): time 0.1254/2.765, allocations: 31.9 MB / 0.7396 GB, free: 21.49 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001354/2.765, allocations: 80 kB / 0.7397 GB, free: 21.41 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08946/2.855, allocations: 20.93 MB / 0.7601 GB, free: 448 kB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3797/3.235, allocations: 16.87 MB / 0.7766 GB, free: 163.7 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01477/3.249, allocations: 2.185 MB / 0.7787 GB, free: 163.7 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08789/3.337, allocations: 37.02 MB / 0.8149 GB, free: 138.2 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01387/3.351, allocations: 0.773 MB / 0.8156 GB, free: 137.4 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002622/3.354, allocations: 0.5573 MB / 0.8162 GB, free: 136.9 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 830 * Number of states: 0 () * Number of discrete variables: 60 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],bodyCylinder4.color[3],bodyCylinder4.color[2],bodyCylinder4.color[1],bodyCylinder4.body.sphereColor[3],bodyCylinder4.body.sphereColor[2],bodyCylinder4.body.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],spherical2.sphereColor[3],spherical2.sphereColor[2],spherical2.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[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 (1073): * Single equations (assignments): 1056 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 41,(3,100.0%) 38} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.01051/3.365, allocations: 3.414 MB / 0.8195 GB, free: 133.5 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003292/3.368, allocations: 0.6634 MB / 0.8201 GB, free: 133.2 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03746/3.405, allocations: 10.48 MB / 0.8304 GB, free: 122.7 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0318/3.437, allocations: 9.169 MB / 0.8393 GB, free: 113.6 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.348e-05/3.437, allocations: 19.95 kB / 0.8394 GB, free: 113.5 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001069/3.438, allocations: 15.02 kB / 0.8394 GB, free: 113.5 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07791/3.515, allocations: 24.23 MB / 0.863 GB, free: 89.38 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.387e-05/3.516, allocations: 4 kB / 0.863 GB, free: 89.38 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007183/3.523, allocations: 0.6775 MB / 0.8637 GB, free: 88.71 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02436/3.547, allocations: 4.12 MB / 0.8677 GB, free: 84.64 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001278/3.549, allocations: 91.94 kB / 0.8678 GB, free: 84.55 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04948/3.598, allocations: 24.39 MB / 0.8916 GB, free: 59.7 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00253/3.601, allocations: 2.995 MB / 0.8946 GB, free: 56.45 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04606/3.647, allocations: 15.74 MB / 0.9099 GB, free: 40.81 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00573/3.653, allocations: 1.437 MB / 0.9113 GB, free: 39.34 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002957/3.656, allocations: 79.98 kB / 0.9114 GB, free: 39.27 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007994/3.664, allocations: 320.8 kB / 0.9117 GB, free: 38.95 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001833/3.665, allocations: 258 kB / 0.912 GB, free: 38.71 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001175/3.667, allocations: 97.44 kB / 0.912 GB, free: 38.61 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.0126/3.679, allocations: 5.329 MB / 0.9173 GB, free: 33.32 MB / 458.8 MB Notification: Performance of sort global known variables: time 9.32e-07/3.679, allocations: 3.938 kB / 0.9173 GB, free: 33.32 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01379/3.693, allocations: 2.167 MB / 0.9194 GB, free: 31.16 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],bodyCylinder1.body.w_a[1],bodyCylinder1.body.w_a[2],bodyCylinder1.body.w_a[3],revolute.phi,revolute.w,$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.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 (244): * Single equations (assignments): 234 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 34,(3,100.0%) 33,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.342/4.035, allocations: 16.48 MB / 0.9355 GB, free: 162 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02977/4.065, allocations: 12.13 MB / 0.9473 GB, free: 159.9 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/4.065, allocations: 3.781 kB / 0.9473 GB, free: 159.9 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01413/4.079, allocations: 5.181 MB / 0.9524 GB, free: 157.4 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008808/4.088, allocations: 0.9509 MB / 0.9533 GB, free: 157 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07471/4.163, allocations: 40.26 MB / 0.9926 GB, free: 123.3 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01229/4.175, allocations: 5.498 MB / 0.998 GB, free: 119.3 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.01525/4.191, allocations: 3.151 MB / 1.001 GB, free: 117.2 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009217/4.2, allocations: 3.705 MB / 1.005 GB, free: 113.5 MB / 458.8 MB Notification: Performance of SimCode: time 1.683e-06/4.2, allocations: 0 / 1.005 GB, free: 113.5 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6415/4.841, allocations: 177.5 MB / 1.178 GB, free: 101.2 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/4.842, allocations: 238.2 kB / 1.178 GB, free: 101 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.734/14.58, allocations: 0 / 1.178 GB, free: 101 MB / 458.8 MB