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.001092/0.001092, allocations: 110.6 kB / 18.4 MB, free: 4.637 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.001124/0.001124, allocations: 190.1 kB / 19.34 MB, free: 3.711 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.287/1.287, allocations: 205.1 MB / 225.2 MB, free: 12.19 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.001273/0.001273, allocations: 52.39 kB / 329.3 MB, free: 3.23 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07437/0.07566, allocations: 46.62 MB / 375.9 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV): time 0.1627/0.2384, allocations: 4.974 MB / 380.9 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002574/0.241, allocations: 1.468 MB / 382.3 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006322/0.2416, allocations: 21.03 kB / 382.3 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003992/0.2421, allocations: 136.3 kB / 382.5 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006895/0.2428, allocations: 210.9 kB / 382.7 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007089/0.2435, allocations: 315.8 kB / 383 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00127/0.2448, allocations: 0.9853 MB / 384 MB, free: 9.238 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007587/0.2455, allocations: 478.9 kB / 384.4 MB, free: 9.035 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005221/0.2461, allocations: 372.9 kB / 384.8 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005191/0.2466, allocations: 396.5 kB / 385.2 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001737/0.2468, allocations: 92.97 kB / 385.3 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001918/0.247, allocations: 94.78 kB / 385.4 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.2472, allocations: 202 kB / 385.6 MB, free: 8.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004456/0.2476, allocations: 432.1 kB / 386 MB, free: 8.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.2487, allocations: 1.077 MB / 387.1 MB, free: 7.805 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2487, allocations: 0 / 387.1 MB, free: 7.805 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2487, allocations: 0 / 387.1 MB, free: 7.805 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.052e-05/0.2487, allocations: 1.5 kB / 387.1 MB, free: 7.805 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.002051/0.2508, allocations: 1.092 MB / 388.2 MB, free: 7.055 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.2508, allocations: 8.688 kB / 388.2 MB, free: 7.055 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.251, allocations: 89.75 kB / 388.3 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007241/0.2517, allocations: 0.513 MB / 388.8 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.835e-05/0.2518, allocations: 51.75 kB / 388.8 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.923e-05/0.2519, allocations: 71.56 kB / 388.9 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.2531, allocations: 0.7426 MB / 389.6 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.2532, allocations: 1.609 kB / 389.6 MB, free: 6.234 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.219e-05/0.2533, allocations: 28.05 kB / 389.7 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.2533, allocations: 16.81 kB / 389.7 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009678/0.2542, allocations: 0.5287 MB / 390.2 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003205/0.2575, allocations: 2.598 MB / 392.8 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008586/0.2583, allocations: 0.5583 MB / 393.4 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.2594, allocations: 0.5019 MB / 393.9 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.375e-05/0.2595, allocations: 7.25 kB / 393.9 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000614/0.2601, allocations: 385.8 kB / 394.3 MB, free: 3.758 MB / 318.1 MB Notification: Performance of pre-optimization done (n=60): time 2.364e-06/0.2601, allocations: 0 / 394.3 MB, free: 3.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=60): time 0.002539/0.2626, allocations: 1.124 MB / 395.4 MB, free: 3.207 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.2627, allocations: 116.8 kB / 395.5 MB, free: 3.078 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005001/0.2632, allocations: 483.7 kB / 396 MB, free: 2.844 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.87e-05/0.2633, allocations: 46.06 kB / 396 MB, free: 2.801 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.2634, allocations: 331.5 kB / 396.3 MB, free: 2.543 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.2636, allocations: 178.6 kB / 396.5 MB, free: 2.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000176/0.2637, allocations: 122.7 kB / 396.6 MB, free: 2.348 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.313e-05/0.2638, allocations: 374.5 kB / 397 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003927/0.2642, allocations: 212.4 kB / 397.2 MB, free: 1.918 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004513/0.2647, allocations: 378.9 kB / 397.6 MB, free: 1.641 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007487/0.2654, allocations: 0.5218 MB / 398.1 MB, free: 1.289 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2655, allocations: 1.375 kB / 398.1 MB, free: 1.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001165/0.2666, allocations: 0.7381 MB / 398.8 MB, free: 0.957 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2667, allocations: 11.25 kB / 398.8 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.2667, allocations: 7.625 kB / 398.9 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004884/0.2672, allocations: 157.5 kB / 399 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003561/0.2675, allocations: 92.94 kB / 399.1 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003603/0.2711, allocations: 3.995 MB / 403.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004152/0.2716, allocations: 68.8 kB / 403.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-05/0.2716, allocations: 27.81 kB / 403.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005501/0.2722, allocations: 367.2 kB / 403.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000472/0.2727, allocations: 367.1 kB / 403.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000772/0.2735, allocations: 0.519 MB / 404.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.079e-06/0.2735, allocations: 1.625 kB / 404.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001214/0.2747, allocations: 0.7232 MB / 405.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.2747, allocations: 7.5 kB / 405.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.2747, allocations: 8.031 kB / 405.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004297/0.2752, allocations: 162.9 kB / 405.3 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/0.2755, allocations: 90.03 kB / 405.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003702/0.2792, allocations: 3.988 MB / 409.4 MB, free: 8.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004251/0.2797, allocations: 70 kB / 409.5 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.241e-05/0.2797, allocations: 23.28 kB / 409.5 MB, free: 8.367 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.0002322/0.2799, allocations: 235.7 kB / 409.7 MB, free: 8.152 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.645e-05/0.2801, allocations: 63.97 kB / 409.8 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.2802, allocations: 67.58 kB / 409.8 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.2802, allocations: 12.36 kB / 409.9 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2802, allocations: 4 kB / 409.9 MB, free: 8.059 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.2805, allocations: 191.6 kB / 410.1 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.285e-05/0.2806, allocations: 14.02 kB / 410.1 MB, free: 7.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/0.2809, allocations: 27.98 kB / 410.1 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.281, allocations: 45.64 kB / 410.1 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001768/0.2828, allocations: 0.759 MB / 410.9 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001442/0.2843, allocations: 0.9598 MB / 411.9 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004099/0.2847, allocations: 234.1 kB / 412.1 MB, free: 6.809 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003938/0.2851, allocations: 335.8 kB / 412.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of Backend: time 3.3e-07/0.2851, allocations: 0 / 412.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002318/0.2874, allocations: 1.348 MB / 413.8 MB, free: 5.637 MB / 334.1 MB Notification: Performance of SimCode: time 0.002558/0.29, allocations: 1.78 MB / 415.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of Templates: time 0.02238/0.3124, allocations: 13.04 MB / 428.6 MB, free: 9.039 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)