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.RectifierBridge2Pulse.HalfControlledBridge2Pulse.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.RectifierBridge2Pulse.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadModel(Modelica): time 1.88/1.88, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003647, allocations: 8 kB / 263.9 MB, free: 13.59 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08219/0.08258, allocations: 44.52 MB / 308.4 MB, free: 1 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse): time 0.006429/0.08906, allocations: 3.995 MB / 312.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003257/0.09237, allocations: 1.345 MB / 313.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006754/0.09309, allocations: 15.94 kB / 313.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004926/0.0936, allocations: 103.2 kB / 313.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008356/0.09445, allocations: 255.2 kB / 314.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008389/0.09531, allocations: 215.6 kB / 314.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001055/0.09638, allocations: 0.5779 MB / 314.9 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006159/0.09702, allocations: 319 kB / 315.2 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004734/0.09751, allocations: 239 kB / 315.4 MB, free: 9.914 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004081/0.09793, allocations: 278.6 kB / 315.7 MB, free: 9.641 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.698e-05/0.09804, allocations: 32 kB / 315.7 MB, free: 9.609 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001129/0.09817, allocations: 28 kB / 315.8 MB, free: 9.582 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.09834, allocations: 119.5 kB / 315.9 MB, free: 9.465 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.09856, allocations: 161.3 kB / 316 MB, free: 9.301 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009832/0.09955, allocations: 0.7365 MB / 316.8 MB, free: 8.562 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.091e-06/0.09957, allocations: 0 / 316.8 MB, free: 8.562 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.09958, allocations: 0 / 316.8 MB, free: 8.562 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.714e-05/0.09961, allocations: 0 / 316.8 MB, free: 8.562 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002084/0.1017, allocations: 0.9313 MB / 317.7 MB, free: 7.582 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.1018, allocations: 8.031 kB / 317.7 MB, free: 7.574 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002228/0.102, allocations: 83.06 kB / 317.8 MB, free: 7.492 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.1031, allocations: 481.9 kB / 318.3 MB, free: 6.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-05/0.1033, allocations: 49.31 kB / 318.3 MB, free: 6.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.1034, allocations: 60 kB / 318.4 MB, free: 6.871 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.1051, allocations: 0.6825 MB / 319 MB, free: 6.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.1051, allocations: 4 kB / 319 MB, free: 6.156 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.988e-05/0.1052, allocations: 20 kB / 319.1 MB, free: 6.137 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.1053, allocations: 16 kB / 319.1 MB, free: 6.121 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.1067, allocations: 0.5126 MB / 319.6 MB, free: 5.609 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005165/0.1119, allocations: 2.538 MB / 322.1 MB, free: 2.957 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/0.1134, allocations: 0.536 MB / 322.7 MB, free: 2.414 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.032e-05/0.1134, allocations: 8.422 kB / 322.7 MB, free: 2.406 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008906/0.1143, allocations: 365.7 kB / 323 MB, free: 2.031 MB / 266.7 MB Notification: Performance of pre-optimization done (n=57): time 4.73e-06/0.1144, allocations: 0 / 323 MB, free: 2.031 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.003699/0.1181, allocations: 1.047 MB / 324.1 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.884e-05/0.1182, allocations: 111.4 kB / 324.2 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000776/0.119, allocations: 453.8 kB / 324.6 MB, free: 380 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.8e-05/0.1191, allocations: 49.64 kB / 324.7 MB, free: 324 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/0.1195, allocations: 343 kB / 325 MB, free: 15.97 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.1197, allocations: 173.6 kB / 325.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.1197, allocations: 12 kB / 325.2 MB, free: 15.79 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.1199, allocations: 342.8 kB / 325.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005624/0.1205, allocations: 185.2 kB / 325.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007222/0.1213, allocations: 349.5 kB / 326.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005963/0.1219, allocations: 218.1 kB / 326.3 MB, free: 14.65 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.294e-06/0.1219, allocations: 0 / 326.3 MB, free: 14.65 MB / 282.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001741/0.1236, allocations: 0.6437 MB / 326.9 MB, free: 14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001972/0.1239, allocations: 211.2 kB / 327.1 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.1239, allocations: 8 kB / 327.1 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006679/0.1246, allocations: 152.7 kB / 327.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004598/0.1251, allocations: 83.89 kB / 327.4 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004288/0.1294, allocations: 2.365 MB / 329.7 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005802/0.13, allocations: 79.41 kB / 329.8 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.543e-05/0.1301, allocations: 20 kB / 329.8 MB, free: 10.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.1301, allocations: 8 kB / 329.8 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001526/0.1316, allocations: 0.5921 MB / 330.4 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.1317, allocations: 4 kB / 330.4 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005495/0.1322, allocations: 142 kB / 330.6 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004066/0.1327, allocations: 87.83 kB / 330.6 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004218/0.1369, allocations: 2.354 MB / 333 MB, free: 7.578 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004538/0.1374, allocations: 55.72 kB / 333.1 MB, free: 7.523 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.403e-05/0.1375, allocations: 20 kB / 333.1 MB, free: 7.504 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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.0006013/0.1381, allocations: 317 kB / 333.4 MB, free: 7.188 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.1383, allocations: 63.23 kB / 333.4 MB, free: 7.125 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.1384, allocations: 69.44 kB / 333.5 MB, free: 7.055 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.1385, allocations: 8 kB / 333.5 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.235e-06/0.1385, allocations: 0 / 333.5 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.1385, allocations: 3.984 kB / 333.5 MB, free: 7.043 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003132/0.1416, allocations: 1.387 MB / 334.9 MB, free: 5.586 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.286e-06/0.1417, allocations: 4.062 kB / 334.9 MB, free: 5.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003262/0.142, allocations: 47.91 kB / 335 MB, free: 5.535 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005943/0.1426, allocations: 148.7 kB / 335.1 MB, free: 5.387 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.428e-05/0.1427, allocations: 8 kB / 335.1 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004143/0.1469, allocations: 2.365 MB / 337.5 MB, free: 2.887 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.05e-06/0.1469, allocations: 4 kB / 337.5 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/0.1493, allocations: 0.9588 MB / 338.4 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003782/0.1497, allocations: 184.3 kB / 338.6 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.1498, allocations: 12 kB / 338.6 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004187/0.1503, allocations: 35.98 kB / 338.7 MB, free: 1.652 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/0.1505, allocations: 68.41 kB / 338.7 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.904e-05/0.1506, allocations: 15.98 kB / 338.8 MB, free: 1.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005421/0.1511, allocations: 311.1 kB / 339.1 MB, free: 1.262 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.54e-07/0.1511, allocations: 0 / 339.1 MB, free: 1.262 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001405/0.1525, allocations: 331 kB / 339.4 MB, free: 0.9375 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 20 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002347/0.1528, allocations: 129.6 kB / 339.5 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002923/0.1557, allocations: 1.2 MB / 340.7 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.573e-06/0.1558, allocations: 3.938 kB / 340.7 MB, free: 15.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.1569, allocations: 483 kB / 341.2 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00074/0.1577, allocations: 89.88 kB / 341.3 MB, free: 15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003271/0.1609, allocations: 1.483 MB / 342.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008031/0.1618, allocations: 0.9425 MB / 343.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.162, allocations: 43.42 kB / 343.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of SimCode: time 1.776e-06/0.162, allocations: 0 / 343.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of Templates: time 0.01983/0.1819, allocations: 10.38 MB / 354.1 MB, free: 2.109 MB / 298.7 MB