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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulsem.twomPulse.timerNegative.1..entryTime|pulsem.twomPulse.timerNegative.2..entryTime|pulsem.twomPulse.timerNegative.3..entryTime|pulsem.twomPulse.timerPositive.1..entryTime|pulsem.twomPulse.timerPositive.2..entryTime|pulsem.twomPulse.timerPositive.3..entryTime|rectifier.thyristor.idealThyristor.1..off|rectifier.thyristor.idealThyristor.2..off|rectifier.thyristor.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL") Notification: Performance of loadModel(Modelica): time 2.138/2.138, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003601, allocations: 11.98 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09182/0.0922, allocations: 44.5 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL): time 0.007458/0.09972, allocations: 4.174 MB / 313.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003783/0.1035, allocations: 1.505 MB / 314.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004304/0.104, allocations: 31.75 kB / 314.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006276/0.1046, allocations: 167 kB / 315 MB, free: 10.45 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5325:20-5325:43:writable] Warning: 'each' used when modifying non-array element thyristor. Notification: Performance of NFTyping.typeBindings: time 0.001055/0.1057, allocations: 303 kB / 315.3 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000774/0.1065, allocations: 211.6 kB / 315.5 MB, free: 9.941 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5325:20-5325:43:writable] Warning: 'each' used when modifying non-array element thyristor. Notification: Performance of NFFlatten.flatten: time 0.001685/0.1082, allocations: 0.9361 MB / 316.4 MB, free: 9.004 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001681/0.1099, allocations: 0.966 MB / 317.4 MB, free: 8.016 MB / 266.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5325:20-5325:43:writable] Warning: 'each' used when modifying non-array element thyristor. Notification: Performance of NFEvalConstants.evaluate: time 0.0007838/0.1107, allocations: 454.2 kB / 317.8 MB, free: 7.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009003/0.1116, allocations: 0.5211 MB / 318.3 MB, free: 7.047 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001872/0.1118, allocations: 64 kB / 318.4 MB, free: 6.984 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002478/0.1121, allocations: 64 kB / 318.5 MB, free: 6.922 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000403/0.1125, allocations: 311 kB / 318.8 MB, free: 6.617 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003554/0.1129, allocations: 296.9 kB / 319 MB, free: 6.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002512/0.1154, allocations: 1.851 MB / 320.9 MB, free: 4.465 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1154, allocations: 4 kB / 320.9 MB, free: 4.461 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1154, allocations: 0 / 320.9 MB, free: 4.461 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.296e-05/0.1155, allocations: 0 / 320.9 MB, free: 4.461 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.00454/0.12, allocations: 1.611 MB / 322.5 MB, free: 2.797 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.1201, allocations: 8.031 kB / 322.5 MB, free: 2.789 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003762/0.1205, allocations: 158.1 kB / 322.7 MB, free: 2.633 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002161/0.1226, allocations: 0.8837 MB / 323.6 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.1228, allocations: 106.5 kB / 323.7 MB, free: 1.598 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003132/0.1231, allocations: 127.9 kB / 323.8 MB, free: 1.473 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004333/0.1274, allocations: 1.7 MB / 325.5 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/0.1275, allocations: 4 kB / 325.5 MB, free: 15.72 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001917/0.1277, allocations: 51.98 kB / 325.5 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.495e-05/0.1278, allocations: 66.44 kB / 325.6 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00416/0.132, allocations: 1.439 MB / 327 MB, free: 14.16 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0119/0.1439, allocations: 4.924 MB / 332 MB, free: 9.098 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002942/0.1469, allocations: 0.9853 MB / 333 MB, free: 8.098 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001036/0.1471, allocations: 16.64 kB / 333 MB, free: 8.082 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002624/0.1497, allocations: 0.6251 MB / 333.6 MB, free: 7.438 MB / 282.7 MB Notification: Performance of pre-optimization done (n=83): time 8.907e-06/0.1498, allocations: 0 / 333.6 MB, free: 7.438 MB / 282.7 MB Notification: Performance of matching and sorting (n=83): time 0.009216/0.159, allocations: 1.724 MB / 335.3 MB, free: 5.684 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.1592, allocations: 127.8 kB / 335.4 MB, free: 5.535 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002506/0.1617, allocations: 0.844 MB / 336.3 MB, free: 4.684 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002374/0.162, allocations: 57.69 kB / 336.3 MB, free: 4.621 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009928/0.163, allocations: 0.5811 MB / 336.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000515/0.1635, allocations: 244.6 kB / 337.2 MB, free: 3.789 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.1637, allocations: 23.94 kB / 337.2 MB, free: 3.766 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002413/0.1639, allocations: 337.9 kB / 337.5 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002072/0.166, allocations: 461.6 kB / 338 MB, free: 2.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002395/0.1685, allocations: 0.692 MB / 338.7 MB, free: 2.184 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002086/0.1706, allocations: 490.7 kB / 339.1 MB, free: 1.707 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.1706, allocations: 0 / 339.1 MB, free: 1.707 MB / 282.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.005671/0.1763, allocations: 1.321 MB / 340.5 MB, free: 388 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003597/0.1767, allocations: 295.7 kB / 340.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.1767, allocations: 8 kB / 340.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.1781, allocations: 220.7 kB / 341 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/0.1798, allocations: 159.6 kB / 341.1 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008078/0.1879, allocations: 2.819 MB / 344 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/0.1898, allocations: 147.1 kB / 344.1 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.19, allocations: 40 kB / 344.1 MB, free: 12.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.19, allocations: 4 kB / 344.1 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00493/0.195, allocations: 1.196 MB / 345.3 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.878e-05/0.195, allocations: 12 kB / 345.3 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.1963, allocations: 216.7 kB / 345.6 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.198, allocations: 151.7 kB / 345.7 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00794/0.2059, allocations: 2.834 MB / 348.5 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/0.2078, allocations: 123.2 kB / 348.7 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.208, allocations: 44 kB / 348.7 MB, free: 7.75 MB / 298.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: 48 ($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,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 109 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.001831/0.2098, allocations: 0.6107 MB / 349.3 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003723/0.2102, allocations: 86.97 kB / 349.4 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004631/0.2107, allocations: 116.9 kB / 349.5 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.846e-05/0.2107, allocations: 7.984 kB / 349.5 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.2108, allocations: 0 / 349.5 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009142/0.2117, allocations: 267.7 kB / 349.8 MB, free: 6.637 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003162/0.212, allocations: 28 kB / 349.8 MB, free: 6.609 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/0.2134, allocations: 79.92 kB / 349.9 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005356/0.214, allocations: 100.8 kB / 350 MB, free: 6.434 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006851/0.2209, allocations: 1.279 MB / 351.3 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006695/0.2276, allocations: 1.73 MB / 353 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002022/0.2297, allocations: 495.7 kB / 353.5 MB, free: 2.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001812/0.2315, allocations: 0.5771 MB / 354.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of Backend: time 1.222e-06/0.2315, allocations: 3.938 kB / 354.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.006995/0.2385, allocations: 1.713 MB / 355.8 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of SimCode: time 0.009863/0.2484, allocations: 3.249 MB / 359 MB, free: 13.29 MB / 314.7 MB Notification: Performance of Templates: time 0.3459/0.5944, allocations: 17.46 MB / 376.5 MB, free: 61.29 MB / 314.7 MB