Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.985/1.985, allocations: 194.9 MB / 211.1 MB, free: 7.508 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005232/0.0005233, allocations: 19.98 kB / 264.1 MB, free: 2.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3229, allocations: 44.5 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.005109/0.328, allocations: 3.029 MB / 311.6 MB, free: 9.598 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002249/0.3303, allocations: 0.9256 MB / 312.5 MB, free: 8.668 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000268/0.3306, allocations: 11.94 kB / 312.5 MB, free: 8.656 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.3309, allocations: 55.58 kB / 312.6 MB, free: 8.602 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005276/0.3314, allocations: 175.4 kB / 312.8 MB, free: 8.43 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.3318, allocations: 111.9 kB / 312.9 MB, free: 8.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006802/0.3325, allocations: 391.1 kB / 313.3 MB, free: 7.938 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004065/0.3329, allocations: 157 kB / 313.4 MB, free: 7.77 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003283/0.3333, allocations: 183.3 kB / 313.6 MB, free: 7.59 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003797/0.3337, allocations: 199.1 kB / 313.8 MB, free: 7.395 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.651e-05/0.3338, allocations: 27.98 kB / 313.8 MB, free: 7.367 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.3339, allocations: 27.94 kB / 313.8 MB, free: 7.34 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.334, allocations: 79.66 kB / 313.9 MB, free: 7.262 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.3342, allocations: 117.5 kB / 314 MB, free: 7.141 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000646/0.3348, allocations: 454.7 kB / 314.5 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.3349, allocations: 0 / 314.5 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.298e-06/0.3349, allocations: 3.984 kB / 314.5 MB, free: 6.691 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.3349, allocations: 0 / 314.5 MB, free: 6.691 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001724/0.3366, allocations: 0.6948 MB / 315.2 MB, free: 5.949 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.3367, allocations: 12.03 kB / 315.2 MB, free: 5.938 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001423/0.3368, allocations: 82.52 kB / 315.3 MB, free: 5.848 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.337, allocations: 55.34 kB / 315.3 MB, free: 5.793 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006471/0.3377, allocations: 347.1 kB / 315.7 MB, free: 5.414 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.125e-05/0.3377, allocations: 33 kB / 315.7 MB, free: 5.383 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.3379, allocations: 47.91 kB / 315.7 MB, free: 5.336 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.3392, allocations: 445.5 kB / 316.2 MB, free: 4.875 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/0.3392, allocations: 4 kB / 316.2 MB, free: 4.871 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.599e-05/0.3393, allocations: 16 kB / 316.2 MB, free: 4.855 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.3393, allocations: 8 kB / 316.2 MB, free: 4.848 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.3403, allocations: 323.8 kB / 316.5 MB, free: 4.531 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00386/0.3442, allocations: 1.852 MB / 318.4 MB, free: 2.574 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.3456, allocations: 0.6086 MB / 319 MB, free: 1.902 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.876e-05/0.3456, allocations: 12.33 kB / 319 MB, free: 1.891 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006996/0.3463, allocations: 257.2 kB / 319.2 MB, free: 1.621 MB / 250.7 MB Notification: Performance of pre-optimization done (n=43): time 3.196e-06/0.3464, allocations: 0 / 319.2 MB, free: 1.621 MB / 250.7 MB Notification: Performance of matching and sorting (n=43): time 0.004127/0.3505, allocations: 0.8499 MB / 320.1 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.514e-05/0.3506, allocations: 81.11 kB / 320.2 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005486/0.3512, allocations: 320.4 kB / 320.5 MB, free: 332 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.719e-05/0.3513, allocations: 37.7 kB / 320.5 MB, free: 288 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.3515, allocations: 212.4 kB / 320.7 MB, free: 72 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.3517, allocations: 134.3 kB / 320.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.3518, allocations: 12 kB / 320.9 MB, free: 15.92 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3519, allocations: 346.5 kB / 321.2 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/0.3524, allocations: 125.1 kB / 321.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005471/0.3529, allocations: 248.9 kB / 321.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004742/0.3534, allocations: 148 kB / 321.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3534, allocations: 0 / 321.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001541/0.355, allocations: 0.5168 MB / 322.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.355, allocations: 10.75 kB / 322.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.3551, allocations: 4 kB / 322.3 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000759/0.3558, allocations: 148.8 kB / 322.4 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/0.3563, allocations: 67.84 kB / 322.5 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004486/0.3608, allocations: 2.332 MB / 324.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005269/0.3614, allocations: 43.72 kB / 324.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/0.3614, allocations: 16 kB / 324.9 MB, free: 11.73 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003683/0.3618, allocations: 185.6 kB / 325 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.3619, allocations: 35.53 kB / 325.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.3621, allocations: 44.3 kB / 325.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.3621, allocations: 4 kB / 325.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.3621, allocations: 7.984 kB / 325.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.3621, allocations: 4 kB / 325.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002339/0.3645, allocations: 1 MB / 326.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.3645, allocations: 0 / 326.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003773/0.3649, allocations: 47.84 kB / 326.2 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006937/0.3656, allocations: 146.9 kB / 326.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.188e-05/0.3657, allocations: 7.953 kB / 326.3 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00443/0.3701, allocations: 2.332 MB / 328.7 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.3702, allocations: 0 / 328.7 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001978/0.3722, allocations: 0.7153 MB / 329.4 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002635/0.3725, allocations: 152.6 kB / 329.5 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.521e-05/0.3726, allocations: 15.98 kB / 329.5 MB, free: 6.797 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004013/0.373, allocations: 12 kB / 329.6 MB, free: 6.785 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.3731, allocations: 31.94 kB / 329.6 MB, free: 6.754 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.511e-05/0.3732, allocations: 16.28 kB / 329.6 MB, free: 6.738 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003591/0.3736, allocations: 215.1 kB / 329.8 MB, free: 6.527 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.3736, allocations: 0 / 329.8 MB, free: 6.527 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008348/0.3744, allocations: 143.7 kB / 330 MB, free: 6.387 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.002252/0.3767, allocations: 1.277 MB / 331.2 MB, free: 5.082 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001552/0.3783, allocations: 0.5418 MB / 331.8 MB, free: 4.527 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.3783, allocations: 4 kB / 331.8 MB, free: 4.523 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008893/0.3792, allocations: 366.6 kB / 332.1 MB, free: 4.152 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006106/0.3798, allocations: 77.06 kB / 332.2 MB, free: 4.078 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003427/0.3833, allocations: 1.402 MB / 333.6 MB, free: 2.582 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.3839, allocations: 0.836 MB / 334.4 MB, free: 1.719 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002639/0.3841, allocations: 43.47 kB / 334.5 MB, free: 1.676 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/0.3844, allocations: 139.4 kB / 334.6 MB, free: 1.539 MB / 266.7 MB Notification: Performance of SimCode: time 1.213e-06/0.3844, allocations: 0 / 334.6 MB, free: 1.539 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04408/0.4285, allocations: 9.37 MB / 344 MB, free: 8.195 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003729/0.429, allocations: 254 kB / 344.2 MB, free: 7.859 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.819/3.248, allocations: 0 / 344.2 MB, free: 7.859 MB / 282.7 MB