Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.PowerConverters.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="ModelicaTest_3.2.2_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002764/0.002771, allocations: 363.1 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.031/4.031, allocations: 388.9 MB / 405.6 MB, free: 47.9 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003546/0.003545, allocations: 232.8 kB / 451 MB, free: 2.379 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.9303/0.9303, allocations: 80.01 MB / 0.5627 GB, free: 5.969 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005001/0.0005003, allocations: 12 kB / 0.6265 GB, free: 4.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1452, allocations: 54.88 MB / 0.6801 GB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6099/0.7552, allocations: 96.43 MB / 0.7743 GB, free: 23.78 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.7556, allocations: 83.66 kB / 0.7744 GB, free: 23.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1196/0.8752, allocations: 31.49 MB / 0.8051 GB, free: 8.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.8753, allocations: 4 kB / 0.8051 GB, free: 8.566 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002165/0.8755, allocations: 51.92 kB / 0.8052 GB, free: 8.516 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 454 * Number of variables: 454 Notification: Performance of Generate backend data structure: time 0.01198/0.8875, allocations: 2.285 MB / 0.8074 GB, free: 6.172 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/0.8876, allocations: 12.03 kB / 0.8074 GB, free: 6.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/0.8892, allocations: 229.3 kB / 0.8076 GB, free: 5.934 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007069/0.8963, allocations: 1.497 MB / 0.8091 GB, free: 4.379 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00033/0.8967, allocations: 139.5 kB / 0.8092 GB, free: 4.242 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001016/0.8978, allocations: 184 kB / 0.8094 GB, free: 4.062 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01069/0.9085, allocations: 2.504 MB / 0.8118 GB, free: 1.473 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.765e-05/0.9086, allocations: 0 / 0.8118 GB, free: 1.473 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004928/0.9091, allocations: 79.95 kB / 0.8119 GB, free: 1.395 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000193/0.9094, allocations: 71.5 kB / 0.812 GB, free: 1.324 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009068/0.9184, allocations: 2.106 MB / 0.814 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0211/0.9396, allocations: 7.195 MB / 0.8211 GB, free: 7.895 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004649/0.9443, allocations: 1.712 MB / 0.8227 GB, free: 6.188 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004206/0.9486, allocations: 1.322 MB / 0.824 GB, free: 4.871 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.9488, allocations: 16.94 kB / 0.824 GB, free: 4.855 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002761/0.9515, allocations: 0.9769 MB / 0.825 GB, free: 3.848 MB / 426.7 MB Notification: Performance of pre-optimization done (n=128): time 6.572e-06/0.9516, allocations: 0 / 0.825 GB, free: 3.848 MB / 426.7 MB Notification: Performance of matching and sorting (n=128): time 0.01892/0.9705, allocations: 3.979 MB / 0.8289 GB, free: 15.83 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001716/0.9707, allocations: 230.9 kB / 0.8291 GB, free: 15.56 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003139/0.9739, allocations: 1.282 MB / 0.8304 GB, free: 14.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003952/0.9743, allocations: 73.67 kB / 0.8304 GB, free: 14.19 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.9754, allocations: 0.7849 MB / 0.8312 GB, free: 13.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007206/0.9762, allocations: 390.6 kB / 0.8316 GB, free: 13 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.9763, allocations: 24 kB / 0.8316 GB, free: 12.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.9765, allocations: 361.9 kB / 0.8319 GB, free: 12.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002025/0.9786, allocations: 0.7027 MB / 0.8326 GB, free: 11.92 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002347/0.9809, allocations: 1.001 MB / 0.8336 GB, free: 10.81 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002799/0.9838, allocations: 0.7636 MB / 0.8343 GB, free: 10.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.225e-05/0.9839, allocations: 4 kB / 0.8343 GB, free: 10.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.007282/0.9912, allocations: 2.105 MB / 0.8364 GB, free: 7.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002661/0.9915, allocations: 276.4 kB / 0.8367 GB, free: 7.574 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/0.9915, allocations: 8 kB / 0.8367 GB, free: 7.566 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002389/0.9939, allocations: 0.5511 MB / 0.8372 GB, free: 7.012 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.9954, allocations: 179.7 kB / 0.8374 GB, free: 6.836 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01598/1.011, allocations: 6.051 MB / 0.8433 GB, free: 0.6484 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003161/1.015, allocations: 199 kB / 0.8435 GB, free: 464 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004542/1.015, allocations: 51.98 kB / 0.8435 GB, free: 412 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/1.015, allocations: 4 kB / 0.8435 GB, free: 408 kB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009058/1.024, allocations: 1.921 MB / 0.8454 GB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.006e-05/1.024, allocations: 13.27 kB / 0.8454 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002185/1.027, allocations: 0.5512 MB / 0.846 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/1.028, allocations: 175.7 kB / 0.8461 GB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01394/1.042, allocations: 6.029 MB / 0.852 GB, free: 7.566 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/1.044, allocations: 179.1 kB / 0.8522 GB, free: 7.391 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/1.044, allocations: 48 kB / 0.8522 GB, free: 7.344 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (126): * Single equations (assignments): 125 * 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 38} Notification: Performance of prepare postOptimizeDAE: time 0.002011/1.046, allocations: 0.8109 MB / 0.853 GB, free: 6.527 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004895/1.047, allocations: 142.3 kB / 0.8532 GB, free: 6.387 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005613/1.047, allocations: 186.2 kB / 0.8533 GB, free: 6.199 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/1.047, allocations: 12 kB / 0.8534 GB, free: 6.188 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/1.047, allocations: 4 kB / 0.8534 GB, free: 6.184 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/1.047, allocations: 5.016 kB / 0.8534 GB, free: 6.18 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01175/1.059, allocations: 4.032 MB / 0.8573 GB, free: 2.078 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/1.059, allocations: 4.062 kB / 0.8573 GB, free: 2.074 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008709/1.06, allocations: 99.83 kB / 0.8574 GB, free: 1.977 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002211/1.062, allocations: 0.5277 MB / 0.8579 GB, free: 1.445 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/1.062, allocations: 28 kB / 0.8579 GB, free: 1.418 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01363/1.076, allocations: 5.959 MB / 0.8638 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/1.076, allocations: 4 kB / 0.8638 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007621/1.084, allocations: 2.855 MB / 0.8666 GB, free: 8.441 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/1.085, allocations: 387.1 kB / 0.8669 GB, free: 8.043 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004722/1.086, allocations: 35.98 kB / 0.867 GB, free: 8.008 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/1.087, allocations: 130.2 kB / 0.8671 GB, free: 7.883 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007743/1.088, allocations: 192.6 kB / 0.8673 GB, free: 7.695 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/1.088, allocations: 35.98 kB / 0.8673 GB, free: 7.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002123/1.091, allocations: 0.8761 MB / 0.8682 GB, free: 6.777 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.091, allocations: 4 kB / 0.8682 GB, free: 6.773 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004057/1.095, allocations: 0.9306 MB / 0.8691 GB, free: 5.84 MB / 474.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: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].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,rectifier.pre[1].u,rectifier.pre[1].y,rectifier.pre[2].u,rectifier.pre[2].y,rectifier.pre[3].u,rectifier.pre[3].y,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[2].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: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre[3].u,rectifier.pre[2].u,rectifier.pre[1].u,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004626/1.095, allocations: 176.5 kB / 0.8692 GB, free: 5.656 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009621/1.105, allocations: 3.294 MB / 0.8724 GB, free: 2.34 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.399e-05/1.105, allocations: 5.438 kB / 0.8725 GB, free: 2.336 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003788/1.109, allocations: 1.233 MB / 0.8737 GB, free: 1.09 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003114/1.112, allocations: 377.5 kB / 0.874 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3363/1.448, allocations: 4.367 MB / 0.8783 GB, free: 121.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002337/1.451, allocations: 1.796 MB / 0.88 GB, free: 121 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002241/1.453, allocations: 432.3 kB / 0.8804 GB, free: 121 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004802/1.453, allocations: 85.22 kB / 0.8805 GB, free: 121 MB / 474.7 MB Notification: Performance of SimCode: time 1.412e-06/1.453, allocations: 7.656 kB / 0.8805 GB, free: 121 MB / 474.7 MB Notification: Performance of Templates: time 0.09711/1.55, allocations: 31.11 MB / 0.9109 GB, free: 119.7 MB / 474.7 MB