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.ThyristorBridge2Pulse_RLV.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.ThyristorBridge2Pulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") Notification: Performance of loadModel(Modelica): time 1.835/1.835, allocations: 194.9 MB / 211.7 MB, free: 2.977 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003611, allocations: 8 kB / 264 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08142/0.08181, allocations: 44.51 MB / 308.5 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3462/0.428, allocations: 82.66 MB / 391.1 MB, free: 18.72 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.4283, allocations: 91.31 kB / 391.2 MB, free: 18.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04827/0.4766, allocations: 13.72 MB / 404.9 MB, free: 16.34 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.623e-06/0.4767, allocations: 0 / 404.9 MB, free: 16.34 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.559e-05/0.4768, allocations: 19.41 kB / 405 MB, free: 16.34 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.001905/0.4787, allocations: 0.9715 MB / 405.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.4787, allocations: 7.906 kB / 405.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002281/0.479, allocations: 88.78 kB / 406 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009188/0.4799, allocations: 0.5001 MB / 406.5 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.126e-05/0.48, allocations: 57.91 kB / 406.6 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.4801, allocations: 72.62 kB / 406.6 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.4818, allocations: 0.7307 MB / 407.4 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/0.4819, allocations: 7.812 kB / 407.4 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.152e-05/0.482, allocations: 33.31 kB / 407.4 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.482, allocations: 19.22 kB / 407.4 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.4833, allocations: 0.5439 MB / 408 MB, free: 14.9 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004706/0.4881, allocations: 2.69 MB / 410.7 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.4894, allocations: 0.5978 MB / 411.3 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.274e-05/0.4894, allocations: 12.28 kB / 411.3 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007168/0.4902, allocations: 348.4 kB / 411.6 MB, free: 13.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 4.557e-06/0.4902, allocations: 4 kB / 411.6 MB, free: 13.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=58): time 0.002671/0.4929, allocations: 0.9967 MB / 412.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.493, allocations: 111.1 kB / 412.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007783/0.4938, allocations: 453.2 kB / 413.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.933e-05/0.4939, allocations: 44.22 kB / 413.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.4941, allocations: 354.5 kB / 413.6 MB, free: 12.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.4943, allocations: 181.5 kB / 413.7 MB, free: 12.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-05/0.4944, allocations: 14.91 kB / 413.8 MB, free: 12.01 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.383e-05/0.4944, allocations: 336.8 kB / 414.1 MB, free: 11.69 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005529/0.495, allocations: 213 kB / 414.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006317/0.4957, allocations: 372.6 kB / 414.7 MB, free: 11.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005789/0.4962, allocations: 230.3 kB / 414.9 MB, free: 11.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.859e-06/0.4963, allocations: 0 / 414.9 MB, free: 11.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001613/0.4979, allocations: 0.6848 MB / 415.6 MB, free: 11.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003169/0.4982, allocations: 1.57 MB / 417.1 MB, free: 9.613 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.4983, allocations: 3.875 kB / 417.1 MB, free: 9.613 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006025/0.4989, allocations: 146.6 kB / 417.3 MB, free: 9.578 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/0.4993, allocations: 101.2 kB / 417.4 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003613/0.503, allocations: 3.478 MB / 420.9 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007906/0.5038, allocations: 92.92 kB / 420.9 MB, free: 6.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-05/0.5039, allocations: 23.03 kB / 421 MB, free: 6.664 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.5039, allocations: 3.875 kB / 421 MB, free: 6.664 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001421/0.5054, allocations: 0.6129 MB / 421.6 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.5054, allocations: 3.844 kB / 421.6 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005289/0.5059, allocations: 145.5 kB / 421.7 MB, free: 6.516 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004268/0.5064, allocations: 97.05 kB / 421.8 MB, free: 6.496 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004016/0.5104, allocations: 3.458 MB / 425.3 MB, free: 19.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004979/0.511, allocations: 77.66 kB / 425.4 MB, free: 19.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/0.511, allocations: 19.44 kB / 425.4 MB, free: 19.63 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($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,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_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 (68): * Single equations (assignments): 66 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006175/0.5117, allocations: 326.9 kB / 425.7 MB, free: 19.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.5118, allocations: 58.42 kB / 425.8 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.512, allocations: 64.25 kB / 425.8 MB, free: 19.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.858e-06/0.512, allocations: 7.781 kB / 425.8 MB, free: 19.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.069e-06/0.512, allocations: 0 / 425.8 MB, free: 19.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.842e-06/0.5121, allocations: 7.984 kB / 425.8 MB, free: 19.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002768/0.5148, allocations: 1.389 MB / 427.2 MB, free: 18.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.449e-06/0.5149, allocations: 0 / 427.2 MB, free: 18.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/0.5153, allocations: 54.66 kB / 427.3 MB, free: 18.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005425/0.5158, allocations: 139.9 kB / 427.4 MB, free: 18.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.981e-05/0.5159, allocations: 10.97 kB / 427.4 MB, free: 18.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004201/0.5201, allocations: 3.322 MB / 430.7 MB, free: 16.03 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.211e-06/0.5201, allocations: 0 / 430.7 MB, free: 16.03 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/0.5221, allocations: 0.9331 MB / 431.7 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004088/0.5226, allocations: 182.9 kB / 431.9 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.5227, allocations: 14.72 kB / 431.9 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000449/0.5232, allocations: 46.22 kB / 431.9 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.5234, allocations: 73.27 kB / 432 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.652e-05/0.5235, allocations: 19.05 kB / 432 MB, free: 15.56 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000611/0.5241, allocations: 346.4 kB / 432.3 MB, free: 15.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.28e-07/0.5241, allocations: 0 / 432.3 MB, free: 15.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00152/0.5256, allocations: 342.9 kB / 432.7 MB, free: 15.38 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * 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.thyristor_n1.off,rectifier.thyristor_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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002557/0.5259, allocations: 137.3 kB / 432.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002653/0.5286, allocations: 1.395 MB / 434.2 MB, free: 14.63 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/0.5286, allocations: 3.875 kB / 434.2 MB, free: 14.63 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000917/0.5295, allocations: 0.5289 MB / 434.7 MB, free: 14.35 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007599/0.5303, allocations: 105.5 kB / 434.8 MB, free: 14.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/0.5334, allocations: 1.616 MB / 436.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007025/0.5342, allocations: 0.9466 MB / 437.4 MB, free: 12.51 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.5344, allocations: 45.77 kB / 437.5 MB, free: 12.5 MB / 330.7 MB Notification: Performance of SimCode: time 2.043e-06/0.5344, allocations: 0 / 437.5 MB, free: 12.5 MB / 330.7 MB Notification: Performance of Templates: time 0.02142/0.5559, allocations: 13.66 MB / 451.1 MB, free: 3.156 MB / 330.7 MB