Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadModel(Modelica): time 1.976/1.976, allocations: 194.8 MB / 211.6 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003699, allocations: 8 kB / 263.9 MB, free: 13.59 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0798/0.08019, allocations: 44.5 MB / 308.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004296/0.08453, allocations: 2.821 MB / 311.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.08647, allocations: 0.8582 MB / 312.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002419/0.08674, allocations: 7.938 kB / 312.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.08693, allocations: 51.59 kB / 312.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003928/0.08734, allocations: 143.6 kB / 312.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.08768, allocations: 87.83 kB / 312.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005185/0.08822, allocations: 343.1 kB / 312.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003192/0.08855, allocations: 132.4 kB / 312.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.08884, allocations: 147.4 kB / 312.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002983/0.08915, allocations: 175.2 kB / 313.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.762e-05/0.08923, allocations: 23.98 kB / 313.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.413e-05/0.08932, allocations: 20 kB / 313.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.08943, allocations: 75.67 kB / 313.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.08958, allocations: 97.52 kB / 313.3 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005035/0.09009, allocations: 383.2 kB / 313.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.685e-06/0.09011, allocations: 0 / 313.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.028e-06/0.09012, allocations: 0 / 313.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.09015, allocations: 0 / 313.7 MB, free: 11.64 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001358/0.09151, allocations: 0.6519 MB / 314.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.09157, allocations: 8.031 kB / 314.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.0917, allocations: 51.39 kB / 314.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005511/0.09226, allocations: 331.2 kB / 314.7 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.761e-05/0.09233, allocations: 25 kB / 314.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.182e-05/0.09243, allocations: 39.98 kB / 314.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000909/0.09335, allocations: 379.2 kB / 315.2 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.0934, allocations: 7.906 kB / 315.2 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.91e-05/0.09346, allocations: 12 kB / 315.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.09349, allocations: 12 kB / 315.2 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007537/0.09425, allocations: 262.4 kB / 315.5 MB, free: 9.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002919/0.09719, allocations: 1.486 MB / 316.9 MB, free: 8.188 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006038/0.09783, allocations: 239.4 kB / 317.2 MB, free: 7.945 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.09788, allocations: 8.234 kB / 317.2 MB, free: 7.938 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005651/0.09846, allocations: 221.2 kB / 317.4 MB, free: 7.703 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 5.799e-06/0.09849, allocations: 4 kB / 317.4 MB, free: 7.699 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.00197/0.1005, allocations: 0.5894 MB / 318 MB, free: 7.082 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/0.1006, allocations: 85.11 kB / 318.1 MB, free: 6.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000453/0.101, allocations: 296.5 kB / 318.4 MB, free: 6.688 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.846e-05/0.1011, allocations: 33.7 kB / 318.4 MB, free: 6.648 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.1013, allocations: 266.8 kB / 318.7 MB, free: 6.387 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.1015, allocations: 94.72 kB / 318.8 MB, free: 6.293 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/0.1015, allocations: 4 kB / 318.8 MB, free: 6.289 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.1017, allocations: 330.8 kB / 319.1 MB, free: 5.957 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/0.102, allocations: 100.7 kB / 319.2 MB, free: 5.859 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000402/0.1024, allocations: 220.6 kB / 319.4 MB, free: 5.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/0.1028, allocations: 112 kB / 319.5 MB, free: 5.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.835e-06/0.1028, allocations: 4 kB / 319.5 MB, free: 5.477 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001082/0.1039, allocations: 414.1 kB / 319.9 MB, free: 5.062 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.1039, allocations: 8 kB / 319.9 MB, free: 5.055 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.104, allocations: 7.938 kB / 319.9 MB, free: 5.047 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004072/0.1044, allocations: 76.81 kB / 320 MB, free: 4.969 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/0.1047, allocations: 59.91 kB / 320.1 MB, free: 4.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002756/0.1075, allocations: 1.835 MB / 321.9 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.1079, allocations: 39.67 kB / 321.9 MB, free: 2.895 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.1079, allocations: 16 kB / 321.9 MB, free: 2.879 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: 11 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0003004/0.1082, allocations: 173.7 kB / 322.1 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.965e-05/0.1083, allocations: 31.62 kB / 322.2 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.1084, allocations: 43.16 kB / 322.2 MB, free: 2.629 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.964e-06/0.1084, allocations: 4 kB / 322.2 MB, free: 2.625 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.515e-06/0.1085, allocations: 0 / 322.2 MB, free: 2.625 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.1085, allocations: 3.984 kB / 322.2 MB, free: 2.621 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000599/0.1091, allocations: 409.2 kB / 322.6 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.19e-06/0.1091, allocations: 3.938 kB / 322.6 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.1094, allocations: 31.98 kB / 322.6 MB, free: 2.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003363/0.1097, allocations: 84.92 kB / 322.7 MB, free: 2.051 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.1098, allocations: 8 kB / 322.7 MB, free: 2.043 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002639/0.1124, allocations: 1.807 MB / 324.5 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.262e-06/0.1125, allocations: 3.953 kB / 324.5 MB, free: 100 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.1139, allocations: 0.5096 MB / 325 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002085/0.1141, allocations: 128.8 kB / 325.2 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.549e-05/0.1142, allocations: 11.98 kB / 325.2 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.1144, allocations: 19.98 kB / 325.2 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.774e-05/0.1145, allocations: 27.95 kB / 325.2 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/0.1146, allocations: 8 kB / 325.2 MB, free: 15.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003049/0.1149, allocations: 211.1 kB / 325.4 MB, free: 15.15 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.39e-07/0.1149, allocations: 0 / 325.4 MB, free: 15.15 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000676/0.1156, allocations: 111.7 kB / 325.6 MB, free: 15.04 MB / 282.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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001819/0.1158, allocations: 111.2 kB / 325.7 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.1169, allocations: 431.7 kB / 326.1 MB, free: 14.49 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.055e-06/0.1169, allocations: 4.062 kB / 326.1 MB, free: 14.49 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006025/0.1175, allocations: 290.5 kB / 326.4 MB, free: 14.19 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.1179, allocations: 56.7 kB / 326.4 MB, free: 14.13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.1196, allocations: 0.8784 MB / 327.3 MB, free: 13.23 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/0.1202, allocations: 0.8067 MB / 328.1 MB, free: 12.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.1203, allocations: 27.44 kB / 328.1 MB, free: 12.37 MB / 282.7 MB Notification: Performance of SimCode: time 3.706e-06/0.1204, allocations: 0 / 328.1 MB, free: 12.37 MB / 282.7 MB Notification: Performance of Templates: time 0.01061/0.131, allocations: 5.665 MB / 333.8 MB, free: 6.707 MB / 282.7 MB