Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 106.2 kB / 18.4 MB, free: 4.648 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.001095/0.001095, allocations: 181.5 kB / 19.34 MB, free: 3.727 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.253/1.253, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001191/0.001191, allocations: 59.86 kB / 329.3 MB, free: 3.234 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07371/0.07491, allocations: 46.62 MB / 375.9 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV): time 0.1494/0.2243, allocations: 4.966 MB / 380.9 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.2268, allocations: 1.471 MB / 382.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005461/0.2274, allocations: 17.69 kB / 382.3 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000367/0.2278, allocations: 145.7 kB / 382.5 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006119/0.2284, allocations: 215.5 kB / 382.7 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006713/0.2291, allocations: 315.4 kB / 383 MB, free: 9.992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.2301, allocations: 0.9877 MB / 384 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006868/0.2308, allocations: 478.6 kB / 384.5 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004791/0.2313, allocations: 373 kB / 384.8 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004672/0.2318, allocations: 396.2 kB / 385.2 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.2319, allocations: 93.22 kB / 385.3 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.2321, allocations: 93.28 kB / 385.4 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.2322, allocations: 204.9 kB / 385.6 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003413/0.2326, allocations: 432.7 kB / 386 MB, free: 8.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009891/0.2336, allocations: 1.075 MB / 387.1 MB, free: 8.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2336, allocations: 0 / 387.1 MB, free: 8.059 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2336, allocations: 0 / 387.1 MB, free: 8.059 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.2336, allocations: 1.25 kB / 387.1 MB, free: 8.059 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001677/0.2353, allocations: 1.114 MB / 388.2 MB, free: 7.285 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.2354, allocations: 10.03 kB / 388.2 MB, free: 7.285 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.2355, allocations: 92.44 kB / 388.3 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006497/0.2362, allocations: 0.5227 MB / 388.8 MB, free: 6.855 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.796e-05/0.2362, allocations: 56.44 kB / 388.9 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-05/0.2363, allocations: 71.81 kB / 389 MB, free: 6.809 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.2375, allocations: 0.7423 MB / 389.7 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.2375, allocations: 5.047 kB / 389.7 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.98e-05/0.2376, allocations: 27.81 kB / 389.7 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.2376, allocations: 15.88 kB / 389.7 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009617/0.2386, allocations: 0.5305 MB / 390.3 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003158/0.2417, allocations: 2.594 MB / 392.9 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008489/0.2426, allocations: 0.5627 MB / 393.4 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.2436, allocations: 0.5016 MB / 393.9 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.202e-05/0.2437, allocations: 7.047 kB / 393.9 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000594/0.2443, allocations: 381.6 kB / 394.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of pre-optimization done (n=60): time 2.024e-06/0.2443, allocations: 0 / 394.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=60): time 0.002486/0.2468, allocations: 1.131 MB / 395.4 MB, free: 3.414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.2468, allocations: 114.2 kB / 395.6 MB, free: 3.289 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004924/0.2473, allocations: 483.8 kB / 396 MB, free: 3.055 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/0.2474, allocations: 45.03 kB / 396.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.2476, allocations: 327.4 kB / 396.4 MB, free: 2.758 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.2477, allocations: 198 kB / 396.6 MB, free: 2.609 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.2479, allocations: 126.9 kB / 396.7 MB, free: 2.543 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.34e-05/0.2479, allocations: 375 kB / 397.1 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003882/0.2483, allocations: 221 kB / 397.3 MB, free: 2.105 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004507/0.2488, allocations: 370.5 kB / 397.7 MB, free: 1.836 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007207/0.2495, allocations: 0.5222 MB / 398.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.2495, allocations: 1.125 kB / 398.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001178/0.2507, allocations: 0.7388 MB / 398.9 MB, free: 1.148 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2508, allocations: 11.22 kB / 398.9 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2508, allocations: 9.375 kB / 398.9 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004734/0.2512, allocations: 163.6 kB / 399.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003473/0.2516, allocations: 93.56 kB / 399.2 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003625/0.2552, allocations: 3.999 MB / 403.2 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003759/0.2556, allocations: 64.17 kB / 403.3 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.631e-05/0.2557, allocations: 29.41 kB / 403.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005491/0.2562, allocations: 367.2 kB / 403.6 MB, free: 13.22 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004667/0.2567, allocations: 363.4 kB / 404 MB, free: 12.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000777/0.2575, allocations: 0.5194 MB / 404.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.246e-06/0.2575, allocations: 1.5 kB / 404.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001224/0.2587, allocations: 0.7207 MB / 405.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.2588, allocations: 6.875 kB / 405.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.2588, allocations: 3.594 kB / 405.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004206/0.2592, allocations: 169.6 kB / 405.4 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/0.2595, allocations: 91.2 kB / 405.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003782/0.2633, allocations: 4.001 MB / 409.5 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00038/0.2637, allocations: 63.66 kB / 409.6 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.2638, allocations: 23.17 kB / 409.6 MB, free: 8.543 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 29 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,pulse2.fire_n,pulse2.fire_p,pulse2.twoPulse.timerNegative[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,rectifier.thyristor_n2.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p1.off,rectifier.andCondition_n.y,rectifier.andCondition_p.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,8), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002079/0.264, allocations: 241.4 kB / 409.8 MB, free: 8.324 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.242e-05/0.2641, allocations: 65.22 kB / 409.9 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.2643, allocations: 73.69 kB / 410 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.2643, allocations: 2.812 kB / 410 MB, free: 8.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2643, allocations: 4 kB / 410 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/0.2645, allocations: 195.3 kB / 410.2 MB, free: 8.066 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.315e-05/0.2646, allocations: 16.83 kB / 410.2 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002989/0.2649, allocations: 29.12 kB / 410.2 MB, free: 8.047 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.2651, allocations: 44.67 kB / 410.2 MB, free: 8.039 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001724/0.2668, allocations: 0.7629 MB / 411 MB, free: 7.656 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001435/0.2682, allocations: 0.9615 MB / 412 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004054/0.2687, allocations: 234.2 kB / 412.2 MB, free: 6.938 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000362/0.269, allocations: 335.1 kB / 412.5 MB, free: 6.734 MB / 334.1 MB Notification: Performance of Backend: time 5.41e-07/0.269, allocations: 0 / 412.5 MB, free: 6.734 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002134/0.2712, allocations: 1.349 MB / 413.9 MB, free: 5.766 MB / 334.1 MB Notification: Performance of SimCode: time 0.002233/0.2734, allocations: 1.804 MB / 415.7 MB, free: 4.43 MB / 334.1 MB Notification: Performance of Templates: time 0.01961/0.2931, allocations: 12.61 MB / 428.3 MB, free: 9.516 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe 2>&1)