Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.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="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.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="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 112.4 kB / 17.75 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 183 kB / 18.68 MB, free: 4.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009725/0.0009725, allocations: 51.92 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.218, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse): time 0.0071/0.2252, allocations: 6.073 MB / 407.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00301/0.2282, allocations: 1.827 MB / 409.3 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007653/0.229, allocations: 43.81 kB / 409.4 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008947/0.2299, allocations: 313.7 kB / 409.7 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.2309, allocations: 437.5 kB / 410.1 MB, free: 160 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006987/0.2316, allocations: 369.7 kB / 410.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002001/0.2337, allocations: 2.275 MB / 412.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001872/0.2355, allocations: 1.803 MB / 414.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009565/0.2365, allocations: 0.9852 MB / 415.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001128/0.2376, allocations: 1.101 MB / 416.6 MB, free: 9.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003152/0.238, allocations: 264 kB / 416.9 MB, free: 9.309 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003705/0.2384, allocations: 268 kB / 417.2 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005254/0.2389, allocations: 0.6545 MB / 417.8 MB, free: 8.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009874/0.2399, allocations: 1.124 MB / 418.9 MB, free: 7.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002699/0.2426, allocations: 3.309 MB / 422.2 MB, free: 3.941 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2426, allocations: 4 kB / 422.2 MB, free: 3.938 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2426, allocations: 0 / 422.2 MB, free: 3.938 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.551e-05/0.2426, allocations: 0 / 422.2 MB, free: 3.938 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.003843/0.2465, allocations: 2.452 MB / 424.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.2465, allocations: 8.031 kB / 424.7 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003079/0.2468, allocations: 227.5 kB / 424.9 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/0.2487, allocations: 1.322 MB / 426.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.659e-05/0.2488, allocations: 135.5 kB / 426.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002621/0.2491, allocations: 172.1 kB / 426.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003403/0.2525, allocations: 2.341 MB / 428.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.542e-05/0.2525, allocations: 4 kB / 428.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.2527, allocations: 68 kB / 429 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.888e-05/0.2528, allocations: 71.27 kB / 429 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003148/0.2559, allocations: 2.043 MB / 431.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009015/0.265, allocations: 6.613 MB / 437.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002284/0.2673, allocations: 1.618 MB / 439.3 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001976/0.2692, allocations: 1.205 MB / 440.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-05/0.2693, allocations: 17 kB / 440.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001305/0.2706, allocations: 0.9034 MB / 441.4 MB, free: 448 kB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 3.105e-06/0.2706, allocations: 0 / 441.4 MB, free: 448 kB / 350.1 MB Notification: Performance of matching and sorting (n=122): time 0.008122/0.2788, allocations: 3.547 MB / 445 MB, free: 12.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.847e-05/0.2789, allocations: 179.2 kB / 445.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.2803, allocations: 1.153 MB / 446.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.2804, allocations: 77.67 kB / 446.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005743/0.281, allocations: 0.7509 MB / 447.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002976/0.2813, allocations: 388.8 kB / 447.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003701/0.2817, allocations: 258.8 kB / 447.8 MB, free: 9.996 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.2818, allocations: 357.9 kB / 448.1 MB, free: 9.641 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.2829, allocations: 0.6618 MB / 448.8 MB, free: 8.977 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.2841, allocations: 0.9575 MB / 449.7 MB, free: 7.906 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002082/0.2862, allocations: 1.488 MB / 451.2 MB, free: 6.324 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.2862, allocations: 4 kB / 451.2 MB, free: 6.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.002923/0.2891, allocations: 1.973 MB / 453.2 MB, free: 4.336 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.2892, allocations: 12 kB / 453.2 MB, free: 4.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.2892, allocations: 12 kB / 453.2 MB, free: 4.312 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.2903, allocations: 496.4 kB / 453.7 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006324/0.2909, allocations: 183.7 kB / 453.9 MB, free: 3.645 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007003/0.2979, allocations: 5.7 MB / 459.6 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007896/0.2987, allocations: 171.1 kB / 459.8 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.205e-05/0.2988, allocations: 48 kB / 459.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0018/0.3007, allocations: 1.213 MB / 461 MB, free: 12.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001144/0.3018, allocations: 0.9305 MB / 461.9 MB, free: 11.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001894/0.3037, allocations: 1.468 MB / 463.4 MB, free: 9.762 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.252e-06/0.3037, allocations: 4 kB / 463.4 MB, free: 9.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.002786/0.3065, allocations: 1.961 MB / 465.4 MB, free: 7.785 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.3065, allocations: 12 kB / 465.4 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.3066, allocations: 4 kB / 465.4 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009809/0.3075, allocations: 497.2 kB / 465.9 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005995/0.3082, allocations: 175.7 kB / 466 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006743/0.3149, allocations: 5.694 MB / 471.7 MB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007971/0.3157, allocations: 163.3 kB / 471.9 MB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.298e-05/0.3158, allocations: 48 kB / 472 MB, free: 1.066 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 57 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,pulse2m.fire_n[3],pulse2m.fire_n[2],pulse2m.fire_n[1],pulse2m.fire_p[3],pulse2m.fire_p[2],pulse2m.fire_p[1],pulse2m.twomPulse.timerNegative[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[1].y,rectifier.pre[3].y,rectifier.pre[3].u,$PRE.rectifier.pre[3].u,rectifier.pre[2].y,rectifier.pre[2].u,$PRE.rectifier.pre[2].u,rectifier.pre[1].y,rectifier.pre[1].u,$PRE.rectifier.pre[1].u,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.thyristor_p.idealThyristor[3].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[1].off,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0003115/0.3161, allocations: 304 kB / 472.2 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.3163, allocations: 143.1 kB / 472.4 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003031/0.3166, allocations: 164.5 kB / 472.5 MB, free: 472 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.3167, allocations: 3.984 kB / 472.6 MB, free: 468 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3167, allocations: 3.984 kB / 472.6 MB, free: 464 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005251/0.3172, allocations: 375.9 kB / 472.9 MB, free: 68 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/0.3174, allocations: 35.98 kB / 473 MB, free: 32 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006108/0.318, allocations: 91.83 kB / 473 MB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002659/0.3183, allocations: 124.8 kB / 473.2 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003682/0.322, allocations: 2.032 MB / 475.2 MB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003369/0.3253, allocations: 2.476 MB / 477.7 MB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009848/0.3263, allocations: 0.7221 MB / 478.4 MB, free: 10.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001008/0.3274, allocations: 0.7915 MB / 479.2 MB, free: 9.762 MB / 398.1 MB Notification: Performance of Backend: time 4.81e-07/0.3274, allocations: 0 / 479.2 MB, free: 9.762 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0043/0.3317, allocations: 2.64 MB / 481.8 MB, free: 7.102 MB / 398.1 MB Notification: Performance of SimCode: time 0.005236/0.3369, allocations: 3.873 MB / 485.7 MB, free: 3.168 MB / 398.1 MB Notification: Performance of Templates: time 0.04833/0.3853, allocations: 32.45 MB / 0.506 GB, free: 2.992 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.pipe 2>&1)