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.RectifierBridge2mPulse.HalfControlledBridge2mPulse.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.RectifierBridge2mPulse.HalfControlledBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2m.twomPulse.timerNegative.1..entryTime|pulse2m.twomPulse.timerNegative.2..entryTime|pulse2m.twomPulse.timerNegative.3..entryTime|pulse2m.twomPulse.timerPositive.1..entryTime|pulse2m.twomPulse.timerPositive.2..entryTime|pulse2m.twomPulse.timerPositive.3..entryTime|rectifier.pre.1..u|rectifier.pre.2..u|rectifier.pre.3..u|rectifier.thyristor_p.idealThyristor.1..off|rectifier.thyristor_p.idealThyristor.2..off|rectifier.thyristor_p.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse") Notification: Performance of loadModel(Modelica): time 1.934/1.934, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.000339, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08881/0.08917, allocations: 44.5 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse): time 0.008628/0.09785, allocations: 5.024 MB / 314.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004892/0.1028, allocations: 1.786 MB / 315.9 MB, free: 9.512 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.1039, allocations: 31.81 kB / 315.9 MB, free: 9.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.1052, allocations: 262.5 kB / 316.2 MB, free: 9.223 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5703:20-5703:43:writable] Warning: 'each' used when modifying non-array element thyristor_p. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5715:20-5715:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFTyping.typeBindings: time 0.001949/0.1072, allocations: 390.8 kB / 316.6 MB, free: 8.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.1086, allocations: 255.6 kB / 316.8 MB, free: 8.59 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5703:20-5703:43:writable] Warning: 'each' used when modifying non-array element thyristor_p. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5715:20-5715:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFFlatten.flatten: time 0.003164/0.1117, allocations: 1.28 MB / 318.1 MB, free: 7.309 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002524/0.1143, allocations: 1.269 MB / 319.4 MB, free: 6.004 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5703:20-5703:43:writable] Warning: 'each' used when modifying non-array element thyristor_p. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5715:20-5715:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.1159, allocations: 0.5954 MB / 320 MB, free: 5.406 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001803/0.1177, allocations: 0.6961 MB / 320.6 MB, free: 4.707 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004898/0.1183, allocations: 88 kB / 320.7 MB, free: 4.621 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005395/0.1188, allocations: 88 kB / 320.8 MB, free: 4.535 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007341/0.1196, allocations: 418.6 kB / 321.2 MB, free: 4.125 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007302/0.1203, allocations: 384.8 kB / 321.6 MB, free: 3.742 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004049/0.1244, allocations: 2.509 MB / 324.1 MB, free: 1.227 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1244, allocations: 0 / 324.1 MB, free: 1.227 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.062e-06/0.1245, allocations: 4 kB / 324.1 MB, free: 1.223 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.528e-05/0.1246, allocations: 0 / 324.1 MB, free: 1.223 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: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.008459/0.133, allocations: 2.007 MB / 326.1 MB, free: 15.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.582e-05/0.1331, allocations: 11.97 kB / 326.1 MB, free: 15.15 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.1343, allocations: 209.6 kB / 326.3 MB, free: 14.94 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005336/0.1396, allocations: 1.141 MB / 327.5 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/0.1399, allocations: 131.1 kB / 327.6 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005245/0.1405, allocations: 171.8 kB / 327.8 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00638/0.1469, allocations: 2.225 MB / 330 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-05/0.147, allocations: 0 / 330 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002465/0.1472, allocations: 68 kB / 330.1 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/0.1473, allocations: 63.14 kB / 330.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006252/0.1536, allocations: 1.952 MB / 332.1 MB, free: 9.098 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02715/0.1808, allocations: 6.5 MB / 338.6 MB, free: 2.469 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006469/0.1873, allocations: 1.502 MB / 340.1 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001775/0.1876, allocations: 9 kB / 340.1 MB, free: 0.957 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00386/0.1915, allocations: 0.8799 MB / 341 MB, free: 56 kB / 282.7 MB Notification: Performance of pre-optimization done (n=116): time 7.614e-06/0.1915, allocations: 0 / 341 MB, free: 56 kB / 282.7 MB Notification: Performance of matching and sorting (n=116): time 0.02425/0.2158, allocations: 3.37 MB / 344.3 MB, free: 12.65 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001859/0.216, allocations: 157.4 kB / 344.5 MB, free: 12.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003836/0.2199, allocations: 1.092 MB / 345.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004317/0.2204, allocations: 73.67 kB / 345.7 MB, free: 11.28 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001351/0.2218, allocations: 0.7217 MB / 346.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008705/0.2227, allocations: 347.2 kB / 346.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.2229, allocations: 24 kB / 346.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002757/0.2232, allocations: 355.5 kB / 347.1 MB, free: 9.828 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00305/0.2263, allocations: 0.6272 MB / 347.7 MB, free: 9.199 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003697/0.23, allocations: 0.9098 MB / 348.6 MB, free: 8.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00321/0.2333, allocations: 0.6744 MB / 349.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-05/0.2334, allocations: 0 / 349.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.008819/0.2422, allocations: 1.914 MB / 351.2 MB, free: 5.582 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004021/0.2427, allocations: 308.1 kB / 351.5 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/0.2427, allocations: 8 kB / 351.5 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003241/0.246, allocations: 496.6 kB / 352 MB, free: 4.684 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002031/0.2481, allocations: 163.7 kB / 352.2 MB, free: 4.523 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01902/0.2672, allocations: 5.432 MB / 357.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/0.2697, allocations: 174.9 kB / 357.8 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003014/0.2701, allocations: 47.94 kB / 357.8 MB, free: 14.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.2701, allocations: 8 kB / 357.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007303/0.2774, allocations: 1.762 MB / 359.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-05/0.2776, allocations: 12.12 kB / 359.6 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003027/0.2806, allocations: 493.2 kB / 360.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/0.2825, allocations: 167.7 kB / 360.2 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01885/0.3014, allocations: 5.407 MB / 365.7 MB, free: 6.746 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002396/0.3039, allocations: 166.9 kB / 365.8 MB, free: 6.582 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003585/0.3043, allocations: 48 kB / 365.9 MB, free: 6.535 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,$PRE.rectifier.pre[1].u,rectifier.pre[1].u,rectifier.pre[1].y,$PRE.rectifier.pre[2].u,rectifier.pre[2].u,rectifier.pre[2].y,$PRE.rectifier.pre[3].u,rectifier.pre[3].u,rectifier.pre[3].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.002672/0.307, allocations: 0.7583 MB / 366.6 MB, free: 5.766 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005599/0.3076, allocations: 122.5 kB / 366.7 MB, free: 5.645 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007364/0.3083, allocations: 164.1 kB / 366.9 MB, free: 5.484 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.44e-05/0.3084, allocations: 3.984 kB / 366.9 MB, free: 5.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.3084, allocations: 0 / 366.9 MB, free: 5.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/0.31, allocations: 363.2 kB / 367.3 MB, free: 5.105 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006154/0.3106, allocations: 31.98 kB / 367.3 MB, free: 5.074 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002011/0.3127, allocations: 99.91 kB / 367.4 MB, free: 4.977 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007461/0.3135, allocations: 116.8 kB / 367.5 MB, free: 4.863 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01019/0.3237, allocations: 1.989 MB / 369.5 MB, free: 2.863 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009159/0.3329, allocations: 2.342 MB / 371.8 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.3223/0.6552, allocations: 0.6868 MB / 372.5 MB, free: 61.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002093/0.6574, allocations: 0.7538 MB / 373.3 MB, free: 60.98 MB / 314.7 MB Notification: Performance of Backend: time 1.503e-06/0.6574, allocations: 0 / 373.3 MB, free: 60.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.007141/0.6646, allocations: 2.52 MB / 375.8 MB, free: 60.6 MB / 314.7 MB Notification: Performance of SimCode: time 0.008561/0.6732, allocations: 4.227 MB / 380 MB, free: 58.15 MB / 314.7 MB Notification: Performance of Templates: time 0.06406/0.7373, allocations: 27.84 MB / 407.9 MB, free: 37.63 MB / 314.7 MB