Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.Electrical.Analog.Examples.ShowVariableResistor,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_ShowVariableResistor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.957/1.957, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005033/0.0005035, allocations: 11.98 kB / 264 MB, free: 3.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3079, allocations: 44.51 MB / 308.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004024/0.312, allocations: 2.404 MB / 311 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.3137, allocations: 0.7141 MB / 311.7 MB, free: 9.645 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.3139, allocations: 4 kB / 311.7 MB, free: 9.641 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.359e-05/0.314, allocations: 43.61 kB / 311.7 MB, free: 9.598 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.3144, allocations: 131.6 kB / 311.8 MB, free: 9.469 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.3147, allocations: 63.92 kB / 311.9 MB, free: 9.406 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004992/0.3152, allocations: 279.3 kB / 312.2 MB, free: 9.133 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002309/0.3154, allocations: 81.69 kB / 312.3 MB, free: 9.055 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002582/0.3157, allocations: 131.5 kB / 312.4 MB, free: 8.926 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.316, allocations: 143.4 kB / 312.5 MB, free: 8.785 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.564e-05/0.316, allocations: 16 kB / 312.5 MB, free: 8.77 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.795e-05/0.3161, allocations: 16 kB / 312.6 MB, free: 8.754 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.321e-05/0.3162, allocations: 55.77 kB / 312.6 MB, free: 8.699 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.3163, allocations: 85.52 kB / 312.7 MB, free: 8.609 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003972/0.3167, allocations: 280.1 kB / 313 MB, free: 8.336 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.3167, allocations: 0 / 313 MB, free: 8.336 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3168, allocations: 0 / 313 MB, free: 8.336 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.3168, allocations: 0 / 313 MB, free: 8.336 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001345/0.3181, allocations: 0.5962 MB / 313.6 MB, free: 7.691 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.3182, allocations: 8.031 kB / 313.6 MB, free: 7.684 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001044/0.3183, allocations: 62.55 kB / 313.6 MB, free: 7.613 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.15e-05/0.3184, allocations: 35.62 kB / 313.7 MB, free: 7.578 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.3189, allocations: 274.4 kB / 313.9 MB, free: 7.27 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.3189, allocations: 24.5 kB / 314 MB, free: 7.246 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.186e-05/0.319, allocations: 24 kB / 314 MB, free: 7.223 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008356/0.3198, allocations: 268.8 kB / 314.2 MB, free: 6.953 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.3199, allocations: 0 / 314.2 MB, free: 6.953 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.155e-05/0.3199, allocations: 8 kB / 314.3 MB, free: 6.945 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.3199, allocations: 8 kB / 314.3 MB, free: 6.938 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008672/0.3208, allocations: 230.1 kB / 314.5 MB, free: 6.711 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002622/0.3234, allocations: 0.9836 MB / 315.5 MB, free: 5.66 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008174/0.3243, allocations: 304.3 kB / 315.8 MB, free: 5.336 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.3243, allocations: 4.188 kB / 315.8 MB, free: 5.332 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.3244, allocations: 34.75 kB / 315.8 MB, free: 5.289 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 2.715e-06/0.3244, allocations: 4 kB / 315.8 MB, free: 5.285 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.002069/0.3265, allocations: 0.5767 MB / 316.4 MB, free: 4.664 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.3265, allocations: 55.41 kB / 316.4 MB, free: 4.598 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003927/0.3269, allocations: 270.4 kB / 316.7 MB, free: 4.32 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.327, allocations: 29.7 kB / 316.7 MB, free: 4.285 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.3272, allocations: 183.9 kB / 316.9 MB, free: 4.098 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.916e-05/0.3272, allocations: 67 kB / 317 MB, free: 4.031 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/0.3273, allocations: 4 kB / 317 MB, free: 4.027 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3274, allocations: 346.8 kB / 317.3 MB, free: 3.68 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003376/0.3278, allocations: 84.36 kB / 317.4 MB, free: 3.598 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000375/0.3282, allocations: 119.5 kB / 317.5 MB, free: 3.473 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.3286, allocations: 91.91 kB / 317.6 MB, free: 3.383 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.3286, allocations: 0 / 317.6 MB, free: 3.383 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001152/0.3297, allocations: 334.8 kB / 317.9 MB, free: 3.043 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.3298, allocations: 12 kB / 317.9 MB, free: 3.031 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3298, allocations: 0 / 317.9 MB, free: 3.031 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003986/0.3302, allocations: 73.66 kB / 318 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/0.3306, allocations: 39.92 kB / 318.1 MB, free: 2.914 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003332/0.3339, allocations: 2.859 MB / 320.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003574/0.3343, allocations: 35.72 kB / 321 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.3344, allocations: 12.06 kB / 321 MB, free: 15.75 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002257/0.3346, allocations: 137.8 kB / 321.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.583e-05/0.3347, allocations: 27.72 kB / 321.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.831e-05/0.3348, allocations: 30.17 kB / 321.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.3348, allocations: 8 kB / 321.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.3348, allocations: 0 / 321.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.3348, allocations: 0 / 321.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.3364, allocations: 0.6988 MB / 321.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3365, allocations: 0 / 321.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.3367, allocations: 31.92 kB / 321.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003474/0.3371, allocations: 69.67 kB / 322 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.3371, allocations: 15.98 kB / 322 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003181/0.3403, allocations: 2.847 MB / 324.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3404, allocations: 0 / 324.8 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.3415, allocations: 392.8 kB / 325.2 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.3416, allocations: 104.8 kB / 325.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.918e-05/0.3417, allocations: 4 kB / 325.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004493/0.3421, allocations: 43.92 kB / 325.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.59e-05/0.3422, allocations: 23.91 kB / 325.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.3423, allocations: 4 kB / 325.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002682/0.3425, allocations: 186 kB / 325.6 MB, free: 10.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3425, allocations: 0 / 325.6 MB, free: 10.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005326/0.3431, allocations: 95.75 kB / 325.7 MB, free: 10.66 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 11 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001341/0.3444, allocations: 0.9306 MB / 326.6 MB, free: 9.699 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.3456, allocations: 457.2 kB / 327 MB, free: 9.227 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.3457, allocations: 4 kB / 327 MB, free: 9.223 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000691/0.3464, allocations: 364.7 kB / 327.4 MB, free: 8.844 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004623/0.3468, allocations: 52.44 kB / 327.4 MB, free: 8.793 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003697/0.3505, allocations: 1.559 MB / 329 MB, free: 7.168 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.351, allocations: 0.7717 MB / 329.8 MB, free: 6.371 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001917/0.3512, allocations: 26.28 kB / 329.8 MB, free: 6.348 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.3514, allocations: 83.41 kB / 329.9 MB, free: 6.266 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.3514, allocations: 4 kB / 329.9 MB, free: 6.262 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03022/0.3816, allocations: 5.68 MB / 335.6 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/0.382, allocations: 204.7 kB / 335.8 MB, free: 384 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.668/3.05, allocations: 4.062 kB / 335.8 MB, free: 380 kB / 266.7 MB