Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadModel(Modelica): time 1.995/1.995, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004949/0.0004952, allocations: 8 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1152, allocations: 44.49 MB / 309 MB, free: 1.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5921/0.7073, allocations: 82.73 MB / 391.7 MB, free: 14.83 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/0.7077, allocations: 92.34 kB / 391.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04001/0.7477, allocations: 10.61 MB / 402.4 MB, free: 13.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.7478, allocations: 0 / 402.4 MB, free: 13.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.718e-05/0.7478, allocations: 19.62 kB / 402.4 MB, free: 13.1 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.002187/0.75, allocations: 0.9375 MB / 403.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.7501, allocations: 11.75 kB / 403.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.7503, allocations: 81.89 kB / 403.5 MB, free: 12.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009204/0.7512, allocations: 493.9 kB / 403.9 MB, free: 12.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.4e-05/0.7513, allocations: 49.28 kB / 404 MB, free: 12.03 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.7514, allocations: 63.25 kB / 404 MB, free: 12.03 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.7531, allocations: 0.6848 MB / 404.7 MB, free: 11.81 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/0.7531, allocations: 3.938 kB / 404.7 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-05/0.7532, allocations: 25.53 kB / 404.8 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.7532, allocations: 15.62 kB / 404.8 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.7547, allocations: 0.5218 MB / 405.3 MB, free: 11.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00483/0.7596, allocations: 2.546 MB / 407.8 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.761, allocations: 0.5574 MB / 408.4 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.608e-05/0.761, allocations: 4.375 kB / 408.4 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008565/0.7619, allocations: 368.2 kB / 408.8 MB, free: 10.01 MB / 314.7 MB Notification: Performance of pre-optimization done (n=57): time 3.536e-06/0.7619, allocations: 0 / 408.8 MB, free: 10.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.004122/0.7661, allocations: 1.05 MB / 409.8 MB, free: 9.652 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.7661, allocations: 115.1 kB / 409.9 MB, free: 9.527 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006641/0.7668, allocations: 458.2 kB / 410.4 MB, free: 9.348 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.717e-05/0.7669, allocations: 40.48 kB / 410.4 MB, free: 9.316 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.7671, allocations: 334.3 kB / 410.7 MB, free: 9.082 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.7673, allocations: 183.3 kB / 410.9 MB, free: 8.957 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.7674, allocations: 14.38 kB / 410.9 MB, free: 8.957 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.546e-05/0.7674, allocations: 332.9 kB / 411.3 MB, free: 8.637 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005805/0.768, allocations: 195.7 kB / 411.4 MB, free: 8.609 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006649/0.7687, allocations: 356.5 kB / 411.8 MB, free: 8.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005905/0.7693, allocations: 212.7 kB / 412 MB, free: 8.383 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.7693, allocations: 3.953 kB / 412 MB, free: 8.379 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001637/0.771, allocations: 0.6572 MB / 412.7 MB, free: 8.234 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.253e-05/0.7711, allocations: 208.3 kB / 412.9 MB, free: 7.992 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.7711, allocations: 3.875 kB / 412.9 MB, free: 7.992 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006956/0.7718, allocations: 153.6 kB / 413 MB, free: 7.953 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005412/0.7724, allocations: 89.52 kB / 413.1 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003691/0.7761, allocations: 2.36 MB / 415.5 MB, free: 6.398 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006707/0.7768, allocations: 75.58 kB / 415.5 MB, free: 6.363 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/0.7768, allocations: 26.8 kB / 415.6 MB, free: 6.359 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/0.7769, allocations: 3.875 kB / 415.6 MB, free: 6.359 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001403/0.7783, allocations: 0.5835 MB / 416.2 MB, free: 6.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.7783, allocations: 3.906 kB / 416.2 MB, free: 6.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005866/0.7789, allocations: 144.6 kB / 416.3 MB, free: 6.238 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/0.7794, allocations: 82.02 kB / 416.4 MB, free: 6.219 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003515/0.7829, allocations: 2.355 MB / 418.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000462/0.7834, allocations: 62.47 kB / 418.8 MB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.714e-05/0.7835, allocations: 26.2 kB / 418.8 MB, free: 4.66 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.0005442/0.784, allocations: 306.6 kB / 419.1 MB, free: 4.457 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.7842, allocations: 58.11 kB / 419.2 MB, free: 4.426 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.7844, allocations: 64.16 kB / 419.2 MB, free: 4.402 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.7844, allocations: 7.719 kB / 419.3 MB, free: 4.402 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.7844, allocations: 0 / 419.3 MB, free: 4.402 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.7844, allocations: 8.078 kB / 419.3 MB, free: 4.395 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003006/0.7874, allocations: 1.423 MB / 420.7 MB, free: 3.805 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.7874, allocations: 3.984 kB / 420.7 MB, free: 3.801 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004346/0.7879, allocations: 50.59 kB / 420.7 MB, free: 3.789 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000612/0.7885, allocations: 152.9 kB / 420.9 MB, free: 3.754 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.711e-05/0.7886, allocations: 10.84 kB / 420.9 MB, free: 3.754 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003587/0.7922, allocations: 2.356 MB / 423.3 MB, free: 2.219 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.7922, allocations: 3.938 kB / 423.3 MB, free: 2.215 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/0.7945, allocations: 0.9711 MB / 424.2 MB, free: 1.938 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002817/0.7948, allocations: 190.2 kB / 424.4 MB, free: 1.785 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.7949, allocations: 11.72 kB / 424.4 MB, free: 1.785 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005691/0.7955, allocations: 42.84 kB / 424.5 MB, free: 1.773 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/0.7957, allocations: 67.09 kB / 424.5 MB, free: 1.742 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/0.7958, allocations: 23.67 kB / 424.6 MB, free: 1.734 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000465/0.7963, allocations: 308.3 kB / 424.9 MB, free: 1.609 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.7963, allocations: 0 / 424.9 MB, free: 1.609 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001328/0.7976, allocations: 323 kB / 425.2 MB, free: 1.562 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.0002109/0.7978, allocations: 144.3 kB / 425.3 MB, free: 1.449 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002674/0.8005, allocations: 1.204 MB / 426.5 MB, free: 1.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.8005, allocations: 3.938 kB / 426.5 MB, free: 1.016 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.8016, allocations: 499.4 kB / 427 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007359/0.8023, allocations: 103.4 kB / 427.1 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003093/0.8054, allocations: 1.493 MB / 428.6 MB, free: 15.9 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005954/0.806, allocations: 0.9331 MB / 429.5 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.8062, allocations: 43.62 kB / 429.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of SimCode: time 8.71e-07/0.8063, allocations: 4 kB / 429.6 MB, free: 15.08 MB / 330.7 MB Notification: Performance of Templates: time 0.0194/0.8257, allocations: 10.4 MB / 440 MB, free: 9.898 MB / 330.7 MB