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.HalfControlledBridge2Pulse.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: 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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadModel(Modelica): time 2/2, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003597, allocations: 11.94 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09272/0.09311, allocations: 44.51 MB / 309.1 MB, free: 344 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse): time 0.007135/0.1003, allocations: 3.991 MB / 313.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003681/0.104, allocations: 1.353 MB / 314.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006017/0.1047, allocations: 19.88 kB / 314.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005199/0.1052, allocations: 99.27 kB / 314.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009652/0.1062, allocations: 263.1 kB / 314.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009529/0.1072, allocations: 207.7 kB / 315 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001412/0.1086, allocations: 0.5779 MB / 315.6 MB, free: 9.805 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007163/0.1094, allocations: 318.9 kB / 315.9 MB, free: 9.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005245/0.1099, allocations: 250.9 kB / 316.1 MB, free: 9.234 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004679/0.1104, allocations: 270.6 kB / 316.4 MB, free: 8.969 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.1105, allocations: 32 kB / 316.4 MB, free: 8.938 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.1107, allocations: 28 kB / 316.5 MB, free: 8.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.1109, allocations: 119.5 kB / 316.6 MB, free: 8.793 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.1111, allocations: 157.3 kB / 316.7 MB, free: 8.633 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.1122, allocations: 0.7363 MB / 317.5 MB, free: 7.895 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1122, allocations: 0 / 317.5 MB, free: 7.895 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1122, allocations: 0 / 317.5 MB, free: 7.895 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.1123, allocations: 0 / 317.5 MB, free: 7.895 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.002608/0.1149, allocations: 0.9352 MB / 318.4 MB, free: 6.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/0.115, allocations: 8.031 kB / 318.4 MB, free: 6.902 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.1152, allocations: 83.06 kB / 318.5 MB, free: 6.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.1163, allocations: 481.9 kB / 319 MB, free: 6.309 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.154e-05/0.1164, allocations: 53.31 kB / 319 MB, free: 6.254 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.1166, allocations: 60 kB / 319.1 MB, free: 6.195 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001877/0.1185, allocations: 0.6747 MB / 319.8 MB, free: 5.492 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/0.1186, allocations: 0 / 319.8 MB, free: 5.492 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.1187, allocations: 28 kB / 319.8 MB, free: 5.465 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.1187, allocations: 16 kB / 319.8 MB, free: 5.449 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.1204, allocations: 0.5009 MB / 320.3 MB, free: 4.949 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005816/0.1262, allocations: 2.53 MB / 322.8 MB, free: 2.305 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.1278, allocations: 0.5438 MB / 323.4 MB, free: 1.754 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.135e-05/0.1279, allocations: 8.375 kB / 323.4 MB, free: 1.746 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009978/0.129, allocations: 365.7 kB / 323.7 MB, free: 1.371 MB / 266.7 MB Notification: Performance of pre-optimization done (n=57): time 3.877e-06/0.129, allocations: 0 / 323.7 MB, free: 1.371 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.004782/0.1338, allocations: 1.043 MB / 324.8 MB, free: 304 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.445e-05/0.1339, allocations: 115.4 kB / 324.9 MB, free: 164 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008596/0.1348, allocations: 457.8 kB / 325.3 MB, free: 15.71 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.1349, allocations: 49.62 kB / 325.4 MB, free: 15.65 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/0.1352, allocations: 304.5 kB / 325.7 MB, free: 15.35 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.1355, allocations: 165.6 kB / 325.8 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.707e-05/0.1355, allocations: 12 kB / 325.9 MB, free: 15.17 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002283/0.1358, allocations: 370.7 kB / 326.2 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006457/0.1364, allocations: 193.2 kB / 326.4 MB, free: 14.61 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000775/0.1372, allocations: 349.5 kB / 326.7 MB, free: 14.21 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006734/0.1379, allocations: 210.1 kB / 327 MB, free: 14 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-06/0.1379, allocations: 3.984 kB / 327 MB, free: 14 MB / 282.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002004/0.1399, allocations: 0.675 MB / 327.6 MB, free: 13.32 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001842/0.1402, allocations: 218.7 kB / 327.8 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.1402, allocations: 4 kB / 327.9 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007779/0.141, allocations: 148.8 kB / 328 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005967/0.1416, allocations: 79.84 kB / 328.1 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00458/0.1462, allocations: 2.381 MB / 330.5 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007045/0.1469, allocations: 71.42 kB / 330.5 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.48e-05/0.147, allocations: 24 kB / 330.5 MB, free: 10.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.147, allocations: 4 kB / 330.6 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00169/0.1487, allocations: 0.5876 MB / 331.1 MB, free: 9.609 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.1488, allocations: 4 kB / 331.1 MB, free: 9.605 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006804/0.1494, allocations: 153.4 kB / 331.3 MB, free: 9.453 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005439/0.15, allocations: 87.83 kB / 331.4 MB, free: 9.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004413/0.1544, allocations: 2.36 MB / 333.7 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006635/0.1551, allocations: 63.56 kB / 333.8 MB, free: 6.812 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-05/0.1552, allocations: 28 kB / 333.8 MB, free: 6.785 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.000598/0.1558, allocations: 308.9 kB / 334.1 MB, free: 6.477 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.156, allocations: 59.3 kB / 334.2 MB, free: 6.418 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.1562, allocations: 69.53 kB / 334.3 MB, free: 6.352 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.1562, allocations: 3.984 kB / 334.3 MB, free: 6.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1562, allocations: 0 / 334.3 MB, free: 6.348 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003384/0.1565, allocations: 188.2 kB / 334.4 MB, free: 6.145 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.1567, allocations: 16 kB / 334.5 MB, free: 6.129 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004934/0.1572, allocations: 27.97 kB / 334.5 MB, free: 6.102 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.1574, allocations: 52.44 kB / 334.5 MB, free: 6.051 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002748/0.1602, allocations: 0.7258 MB / 335.3 MB, free: 5.312 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002329/0.1625, allocations: 0.9276 MB / 336.2 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006678/0.1632, allocations: 232.3 kB / 336.4 MB, free: 4.141 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006583/0.1639, allocations: 307.1 kB / 336.7 MB, free: 3.836 MB / 282.7 MB Notification: Performance of Backend: time 8.82e-07/0.1639, allocations: 0 / 336.7 MB, free: 3.836 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003146/0.167, allocations: 1.1 MB / 337.8 MB, free: 2.703 MB / 282.7 MB Notification: Performance of SimCode: time 0.003314/0.1704, allocations: 1.865 MB / 339.7 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of Templates: time 0.03079/0.2012, allocations: 10.28 MB / 350 MB, free: 6.562 MB / 298.7 MB