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.247/2.247, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003532, allocations: 8 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1234, allocations: 44.5 MB / 309.1 MB, free: 348 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4836/0.607, allocations: 82.73 MB / 391.8 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/0.6074, allocations: 91.81 kB / 391.9 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04206/0.6495, allocations: 10.61 MB / 402.5 MB, free: 13.43 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.587e-06/0.6496, allocations: 0 / 402.5 MB, free: 13.43 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.378e-05/0.6497, allocations: 19.28 kB / 402.5 MB, free: 13.43 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003916/0.6536, allocations: 0.9327 MB / 403.4 MB, free: 12.74 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.124e-05/0.6537, allocations: 11.62 kB / 403.5 MB, free: 12.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000507/0.6542, allocations: 85.14 kB / 403.5 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/0.656, allocations: 499.3 kB / 404 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.431e-05/0.6561, allocations: 45.06 kB / 404.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.6563, allocations: 67.95 kB / 404.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002683/0.659, allocations: 0.6827 MB / 404.8 MB, free: 12.13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.932e-05/0.6591, allocations: 0 / 404.8 MB, free: 12.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.6592, allocations: 29.98 kB / 404.9 MB, free: 12.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.921e-05/0.6593, allocations: 11.66 kB / 404.9 MB, free: 12.13 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.6611, allocations: 0.5204 MB / 405.4 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005104/0.6662, allocations: 2.552 MB / 407.9 MB, free: 10.58 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.6677, allocations: 0.5508 MB / 408.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.844e-05/0.6678, allocations: 7.906 kB / 408.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000895/0.6687, allocations: 376.6 kB / 408.9 MB, free: 10.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=57): time 3.096e-06/0.6687, allocations: 0 / 408.9 MB, free: 10.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.004177/0.6729, allocations: 1.034 MB / 409.9 MB, free: 9.977 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/0.673, allocations: 118.5 kB / 410 MB, free: 9.848 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006898/0.6737, allocations: 454.2 kB / 410.5 MB, free: 9.672 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.684e-05/0.6738, allocations: 47.53 kB / 410.5 MB, free: 9.637 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.674, allocations: 293.3 kB / 410.8 MB, free: 9.465 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.6742, allocations: 178.5 kB / 411 MB, free: 9.344 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.6743, allocations: 17.94 kB / 411 MB, free: 9.336 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.6744, allocations: 366.2 kB / 411.3 MB, free: 9.008 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005833/0.675, allocations: 193.9 kB / 411.5 MB, free: 8.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006676/0.6757, allocations: 354.5 kB / 411.9 MB, free: 8.777 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006021/0.6763, allocations: 217.1 kB / 412.1 MB, free: 8.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.6763, allocations: 3.953 kB / 412.1 MB, free: 8.746 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001804/0.6781, allocations: 0.6768 MB / 412.8 MB, free: 8.594 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.6782, allocations: 215.2 kB / 413 MB, free: 8.344 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.6783, allocations: 3.875 kB / 413 MB, free: 8.344 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000703/0.679, allocations: 157.6 kB / 413.1 MB, free: 8.305 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005513/0.6795, allocations: 81.61 kB / 413.2 MB, free: 8.289 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003686/0.6832, allocations: 2.368 MB / 415.6 MB, free: 6.742 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007505/0.684, allocations: 80.33 kB / 415.7 MB, free: 6.707 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.6841, allocations: 22.59 kB / 415.7 MB, free: 6.707 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/0.6841, allocations: 3.906 kB / 415.7 MB, free: 6.707 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001434/0.6856, allocations: 0.5768 MB / 416.3 MB, free: 6.617 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.6856, allocations: 3.875 kB / 416.3 MB, free: 6.617 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006278/0.6862, allocations: 150.7 kB / 416.4 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004958/0.6867, allocations: 85.61 kB / 416.5 MB, free: 6.562 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003696/0.6904, allocations: 2.366 MB / 418.9 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007029/0.6912, allocations: 68.42 kB / 418.9 MB, free: 4.996 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.182e-05/0.6913, allocations: 26.64 kB / 419 MB, free: 4.992 MB / 314.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: 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 (59): * Single equations (assignments): 58 * 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.0005299/0.6918, allocations: 314.1 kB / 419.3 MB, free: 4.781 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.6919, allocations: 54.5 kB / 419.3 MB, free: 4.754 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/0.6921, allocations: 69.95 kB / 419.4 MB, free: 4.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.6921, allocations: 3.938 kB / 419.4 MB, free: 4.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/0.6921, allocations: 3.844 kB / 419.4 MB, free: 4.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/0.6921, allocations: 7.984 kB / 419.4 MB, free: 4.723 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002991/0.6951, allocations: 1.407 MB / 420.8 MB, free: 4.145 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.6952, allocations: 4 kB / 420.8 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004392/0.6956, allocations: 53.59 kB / 420.9 MB, free: 4.129 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006135/0.6963, allocations: 155.2 kB / 421 MB, free: 4.086 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.313e-05/0.6963, allocations: 15.08 kB / 421 MB, free: 4.082 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003689/0.7, allocations: 2.359 MB / 423.4 MB, free: 2.543 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.7001, allocations: 48 / 423.4 MB, free: 2.543 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/0.7027, allocations: 0.9798 MB / 424.4 MB, free: 2.254 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003883/0.7031, allocations: 180.3 kB / 424.5 MB, free: 2.109 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.7033, allocations: 14.78 kB / 424.6 MB, free: 2.109 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005821/0.7039, allocations: 45.92 kB / 424.6 MB, free: 2.094 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.7041, allocations: 61.03 kB / 424.7 MB, free: 2.066 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.755e-05/0.7041, allocations: 15.28 kB / 424.7 MB, free: 2.066 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005145/0.7047, allocations: 314.9 kB / 425 MB, free: 1.938 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7047, allocations: 3.938 kB / 425 MB, free: 1.934 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001495/0.7062, allocations: 325.3 kB / 425.3 MB, free: 1.887 MB / 314.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.0002594/0.7065, allocations: 134.4 kB / 425.4 MB, free: 1.785 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002905/0.7094, allocations: 1.212 MB / 426.6 MB, free: 1.348 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.7095, allocations: 0 / 426.6 MB, free: 1.348 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.7106, allocations: 493.9 kB / 427.1 MB, free: 1.152 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008316/0.7114, allocations: 102 kB / 427.2 MB, free: 1.129 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.7147, allocations: 1.461 MB / 428.7 MB, free: 280 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005992/0.7154, allocations: 0.9394 MB / 429.6 MB, free: 15.46 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005739/0.716, allocations: 90.53 kB / 429.7 MB, free: 15.42 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.7161, allocations: 41.72 kB / 429.8 MB, free: 15.42 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.7161, allocations: 0 / 429.8 MB, free: 15.42 MB / 330.7 MB Notification: Performance of Templates: time 0.02895/0.7451, allocations: 9.838 MB / 439.6 MB, free: 10.01 MB / 330.7 MB