Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Rotational.Examples.RollingWheel.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.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.03/2.03, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003737, allocations: 16 kB / 264.1 MB, free: 3.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3208, allocations: 44.5 MB / 308.6 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002961/0.3238, allocations: 1.649 MB / 310.2 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.3253, allocations: 0.5389 MB / 310.7 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001725/0.3255, allocations: 4 kB / 310.7 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.839e-05/0.3256, allocations: 23.78 kB / 310.8 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.3258, allocations: 67.78 kB / 310.8 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.3261, allocations: 43.95 kB / 310.9 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003116/0.3264, allocations: 143.6 kB / 311 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.3266, allocations: 53.83 kB / 311.1 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.3267, allocations: 59.78 kB / 311.1 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.3269, allocations: 71.69 kB / 311.2 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.351e-05/0.327, allocations: 8 kB / 311.2 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.581e-05/0.327, allocations: 8 kB / 311.2 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.3271, allocations: 35.84 kB / 311.3 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.042e-05/0.3272, allocations: 53.64 kB / 311.3 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.3274, allocations: 156.5 kB / 311.5 MB, free: 9.863 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.3274, allocations: 0 / 311.5 MB, free: 9.863 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3274, allocations: 0 / 311.5 MB, free: 9.863 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.3275, allocations: 0 / 311.5 MB, free: 9.863 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.00088/0.3283, allocations: 450.7 kB / 311.9 MB, free: 9.375 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.3284, allocations: 8.031 kB / 311.9 MB, free: 9.367 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.547e-05/0.3285, allocations: 58.55 kB / 312 MB, free: 9.301 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.331e-05/0.3286, allocations: 19.77 kB / 312 MB, free: 9.281 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.3289, allocations: 214.8 kB / 312.2 MB, free: 9.031 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.3289, allocations: 12 kB / 312.2 MB, free: 9.02 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.541e-05/0.329, allocations: 16 kB / 312.2 MB, free: 9.004 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004837/0.3295, allocations: 153.4 kB / 312.4 MB, free: 8.848 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.3295, allocations: 3.906 kB / 312.4 MB, free: 8.844 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.3296, allocations: 4 kB / 312.4 MB, free: 8.84 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.3296, allocations: 4 kB / 312.4 MB, free: 8.836 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003893/0.33, allocations: 119.8 kB / 312.5 MB, free: 8.719 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.3314, allocations: 0.5811 MB / 313.1 MB, free: 8.082 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.3318, allocations: 118.6 kB / 313.2 MB, free: 7.957 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.3318, allocations: 7.984 kB / 313.2 MB, free: 7.949 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.3319, allocations: 34.52 kB / 313.2 MB, free: 7.906 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 3.317e-06/0.3319, allocations: 4 kB / 313.2 MB, free: 7.902 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.002333/0.3342, allocations: 0.7998 MB / 314 MB, free: 7.008 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.3343, allocations: 59.36 kB / 314.1 MB, free: 6.938 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.3345, allocations: 158.2 kB / 314.3 MB, free: 6.773 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.3346, allocations: 37.64 kB / 314.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.3347, allocations: 124.3 kB / 314.4 MB, free: 6.602 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.082e-05/0.3348, allocations: 63.09 kB / 314.5 MB, free: 6.539 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/0.3348, allocations: 3.938 kB / 314.5 MB, free: 6.535 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3349, allocations: 330.8 kB / 314.8 MB, free: 6.203 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.3351, allocations: 40.36 kB / 314.8 MB, free: 6.164 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.3354, allocations: 83.28 kB / 314.9 MB, free: 6.074 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.3356, allocations: 59.92 kB / 315 MB, free: 6.016 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3356, allocations: 4 kB / 315 MB, free: 6.012 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007013/0.3363, allocations: 202.2 kB / 315.2 MB, free: 5.805 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.3364, allocations: 4 kB / 315.2 MB, free: 5.801 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.3364, allocations: 4 kB / 315.2 MB, free: 5.797 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002751/0.3367, allocations: 40.84 kB / 315.2 MB, free: 5.754 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/0.337, allocations: 35.97 kB / 315.3 MB, free: 5.719 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001776/0.3388, allocations: 1.441 MB / 316.7 MB, free: 4.145 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.339, allocations: 4.031 kB / 316.7 MB, free: 4.141 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.339, allocations: 8 kB / 316.7 MB, free: 4.133 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.3392, allocations: 129.8 kB / 316.8 MB, free: 3.996 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.732e-05/0.3393, allocations: 19.77 kB / 316.9 MB, free: 3.977 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.654e-05/0.3394, allocations: 25.17 kB / 316.9 MB, free: 3.949 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3394, allocations: 4.062 kB / 316.9 MB, free: 3.945 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3394, allocations: 4 kB / 316.9 MB, free: 3.941 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3394, allocations: 0 / 316.9 MB, free: 3.941 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.3407, allocations: 0.5964 MB / 317.5 MB, free: 3.281 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.3408, allocations: 384 / 317.5 MB, free: 3.281 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.3411, allocations: 27.98 kB / 317.5 MB, free: 3.254 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000219/0.3413, allocations: 36.83 kB / 317.6 MB, free: 3.215 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.3414, allocations: 4 kB / 317.6 MB, free: 3.211 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001675/0.343, allocations: 1.382 MB / 318.9 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3431, allocations: 0 / 318.9 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009078/0.344, allocations: 349.6 kB / 319.3 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.98e-05/0.3442, allocations: 88.95 kB / 319.4 MB, free: 1.23 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.3442, allocations: 4 kB / 319.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.3444, allocations: 7.938 kB / 319.4 MB, free: 1.219 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.533e-05/0.3445, allocations: 11.98 kB / 319.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.3445, allocations: 4 kB / 319.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001713/0.3447, allocations: 127.2 kB / 319.5 MB, free: 1.078 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3447, allocations: 0 / 319.5 MB, free: 1.078 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004376/0.3452, allocations: 44 kB / 319.6 MB, free: 1.035 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001321/0.3465, allocations: 0.8711 MB / 320.4 MB, free: 140 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008006/0.3473, allocations: 257.8 kB / 320.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3474, allocations: 0 / 320.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004306/0.3478, allocations: 194.8 kB / 320.9 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.3483, allocations: 32.25 kB / 320.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003059/0.3514, allocations: 1.229 MB / 322.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.3518, allocations: 0.7281 MB / 322.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001527/0.352, allocations: 17.55 kB / 322.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.3521, allocations: 51.41 kB / 322.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of SimCode: time 1.553e-06/0.3521, allocations: 0 / 322.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03213/0.3843, allocations: 3.402 MB / 326.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003194/0.3847, allocations: 210.4 kB / 326.5 MB, free: 9.906 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.604/2.989, allocations: 0 / 326.5 MB, free: 9.906 MB / 266.7 MB