Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001381/0.001381, allocations: 110.6 kB / 18.41 MB, free: 4.566 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.001521/0.001521, allocations: 186.1 kB / 19.33 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.251/1.251, allocations: 205.1 MB / 225.2 MB, free: 12.28 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 47.94 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07489/0.07604, allocations: 46.62 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse): time 0.1564/0.2324, allocations: 5.927 MB / 381.8 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003521/0.236, allocations: 1.872 MB / 383.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008/0.2368, allocations: 37.75 kB / 383.7 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008461/0.2377, allocations: 299.7 kB / 384 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.239, allocations: 407.1 kB / 384.4 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007702/0.2398, allocations: 368.2 kB / 384.7 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002116/0.2419, allocations: 2.166 MB / 386.9 MB, free: 8.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001634/0.2435, allocations: 1.714 MB / 388.6 MB, free: 7.418 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009669/0.2445, allocations: 0.9441 MB / 389.6 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.2456, allocations: 1.069 MB / 390.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000324/0.2459, allocations: 260.6 kB / 390.9 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003867/0.2463, allocations: 255.7 kB / 391.1 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004815/0.2468, allocations: 0.6421 MB / 391.8 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008525/0.2477, allocations: 1.086 MB / 392.9 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00262/0.2503, allocations: 3.184 MB / 396 MB, free: 4.125 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.2503, allocations: 1.172 kB / 396 MB, free: 4.125 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2503, allocations: 1.125 kB / 396 MB, free: 4.125 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.811e-05/0.2504, allocations: 0 / 396 MB, free: 4.125 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.003664/0.2541, allocations: 2.323 MB / 398.4 MB, free: 2.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.2541, allocations: 9.812 kB / 398.4 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003041/0.2544, allocations: 205.3 kB / 398.6 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.256, allocations: 1.2 MB / 399.8 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.494e-05/0.2561, allocations: 135.1 kB / 399.9 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002267/0.2563, allocations: 163.8 kB / 400.1 MB, free: 1.852 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003097/0.2594, allocations: 2.26 MB / 402.3 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/0.2595, allocations: 6.281 kB / 402.3 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/0.2596, allocations: 61.75 kB / 402.4 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.39e-05/0.2597, allocations: 65.81 kB / 402.5 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002913/0.2626, allocations: 1.945 MB / 404.4 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008734/0.2714, allocations: 6.379 MB / 410.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/0.2734, allocations: 1.503 MB / 412.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00186/0.2753, allocations: 1.169 MB / 413.5 MB, free: 9.551 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.285e-05/0.2753, allocations: 11.44 kB / 413.5 MB, free: 9.551 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001241/0.2766, allocations: 0.8587 MB / 414.3 MB, free: 8.844 MB / 334.1 MB Notification: Performance of pre-optimization done (n=116): time 3.096e-06/0.2766, allocations: 0 / 414.3 MB, free: 8.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=116): time 0.007826/0.2844, allocations: 3.361 MB / 417.7 MB, free: 5.453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.469e-05/0.2845, allocations: 153.5 kB / 417.8 MB, free: 5.273 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.286, allocations: 1.112 MB / 419 MB, free: 4.141 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.2861, allocations: 69.62 kB / 419 MB, free: 4.066 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005787/0.2867, allocations: 0.714 MB / 419.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002877/0.287, allocations: 355.2 kB / 420.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003634/0.2874, allocations: 250.8 kB / 420.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2875, allocations: 357.9 kB / 420.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009723/0.2885, allocations: 0.6266 MB / 421.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.2896, allocations: 0.9097 MB / 422.2 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001878/0.2915, allocations: 1.409 MB / 423.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.2915, allocations: 0 / 423.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002739/0.2942, allocations: 1.894 MB / 425.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2943, allocations: 8 kB / 425.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.2943, allocations: 8 kB / 425.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.2953, allocations: 492.7 kB / 426 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006119/0.296, allocations: 171.7 kB / 426.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006774/0.3027, allocations: 5.687 MB / 431.9 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007822/0.3035, allocations: 158.8 kB / 432 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.512e-05/0.3036, allocations: 48 kB / 432.1 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001595/0.3052, allocations: 1.166 MB / 433.2 MB, free: 5.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001069/0.3063, allocations: 0.8981 MB / 434.1 MB, free: 4.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001797/0.3081, allocations: 1.393 MB / 435.5 MB, free: 2.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.221e-06/0.3081, allocations: 7.984 kB / 435.5 MB, free: 2.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=158) (initialization_lambda0): time 0.002644/0.3108, allocations: 1.879 MB / 437.4 MB, free: 1.051 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.3108, allocations: 13.09 kB / 437.4 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.3108, allocations: 8 kB / 437.4 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009542/0.3118, allocations: 488.6 kB / 437.9 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005698/0.3124, allocations: 167.7 kB / 438.1 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006685/0.3191, allocations: 5.689 MB / 443.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007778/0.3199, allocations: 147 kB / 443.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.753e-05/0.32, allocations: 44 kB / 443.9 MB, free: 10.36 MB / 366.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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 (123): * Single equations (assignments): 122 * 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.0003057/0.3203, allocations: 308 kB / 444.2 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.3204, allocations: 130.5 kB / 444.4 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003341/0.3208, allocations: 156.1 kB / 444.5 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.3208, allocations: 7.922 kB / 444.5 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3208, allocations: 0 / 444.5 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004839/0.3213, allocations: 359.3 kB / 444.9 MB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.3215, allocations: 31.98 kB / 444.9 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005801/0.3221, allocations: 83.84 kB / 445 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000253/0.3223, allocations: 116.8 kB / 445.1 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003537/0.3259, allocations: 1.958 MB / 447.1 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00308/0.329, allocations: 2.331 MB / 449.4 MB, free: 4.852 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009193/0.3299, allocations: 0.6831 MB / 450.1 MB, free: 4.168 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009508/0.3309, allocations: 0.7635 MB / 450.9 MB, free: 3.395 MB / 366.1 MB Notification: Performance of Backend: time 3.7e-07/0.3309, allocations: 0 / 450.9 MB, free: 3.395 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004082/0.335, allocations: 2.554 MB / 453.4 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of SimCode: time 0.005473/0.3404, allocations: 3.724 MB / 457.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of Templates: time 0.04643/0.3869, allocations: 32.17 MB / 489.3 MB, free: 12.8 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.pipe 2>&1)