Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001032/0.001032, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.571/1.571, allocations: 194.3 MB / 208.4 MB, free: 6.719 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001571/0.001571, allocations: 120.7 kB / 253.5 MB, free: 9.59 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.737e-05/2.739e-05, allocations: 4 kB / 305 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07515/0.0752, allocations: 44.5 MB / 349.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2929/0.3682, allocations: 82.58 MB / 432 MB, free: 9.219 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001908/0.3684, allocations: 87.44 kB / 432.1 MB, free: 9.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03094/0.3993, allocations: 13.72 MB / 445.8 MB, free: 1.207 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3994, allocations: 0 / 445.8 MB, free: 1.207 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.193e-05/0.3994, allocations: 16 kB / 445.9 MB, free: 1.191 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.001283/0.4007, allocations: 0.9001 MB / 446.8 MB, free: 292 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.4008, allocations: 8.031 kB / 446.8 MB, free: 284 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.4009, allocations: 86.97 kB / 446.9 MB, free: 196 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007807/0.4017, allocations: 0.5008 MB / 447.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.226e-05/0.4018, allocations: 54.69 kB / 447.4 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.4019, allocations: 69.19 kB / 447.5 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.4031, allocations: 0.7028 MB / 448.2 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.4031, allocations: 0 / 448.2 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.484e-05/0.4032, allocations: 37.62 kB / 448.2 MB, free: 15.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.4032, allocations: 16 kB / 448.2 MB, free: 15.13 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008288/0.4041, allocations: 0.4983 MB / 448.7 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003883/0.408, allocations: 2.691 MB / 451.4 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009874/0.409, allocations: 0.5889 MB / 452 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007704/0.4098, allocations: 420 kB / 452.4 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.113e-05/0.4098, allocations: 4.438 kB / 452.4 MB, free: 11.9 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005431/0.4104, allocations: 357.2 kB / 452.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 2.384e-06/0.4104, allocations: 0 / 452.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=58): time 0.0009863/0.4114, allocations: 0.5422 MB / 453.3 MB, free: 11.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.156e-05/0.4115, allocations: 115.3 kB / 453.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005074/0.412, allocations: 425.2 kB / 453.8 MB, free: 10.76 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.512e-05/0.4121, allocations: 45.08 kB / 453.9 MB, free: 10.72 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.4123, allocations: 330.8 kB / 454.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.4125, allocations: 172.1 kB / 454.4 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.4125, allocations: 11.88 kB / 454.4 MB, free: 10.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.4127, allocations: 370 kB / 454.7 MB, free: 9.992 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.413, allocations: 190 kB / 454.9 MB, free: 9.883 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.4134, allocations: 351.7 kB / 455.3 MB, free: 9.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003237/0.4138, allocations: 204.1 kB / 455.5 MB, free: 9.438 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.4138, allocations: 3.938 kB / 455.5 MB, free: 9.434 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001064/0.4148, allocations: 0.6909 MB / 456.2 MB, free: 8.918 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000669/0.4155, allocations: 1.577 MB / 457.7 MB, free: 7.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.4155, allocations: 8 kB / 457.8 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004855/0.416, allocations: 167.4 kB / 457.9 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000368/0.4164, allocations: 99.75 kB / 458 MB, free: 7.023 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003486/0.4199, allocations: 3.578 MB / 461.6 MB, free: 3.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005513/0.4205, allocations: 97.39 kB / 461.7 MB, free: 3.574 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.343e-05/0.4205, allocations: 26.81 kB / 461.7 MB, free: 3.555 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.4206, allocations: 4 kB / 461.7 MB, free: 3.551 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00104/0.4216, allocations: 0.6214 MB / 462.3 MB, free: 3.121 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.4216, allocations: 4.5 kB / 462.3 MB, free: 3.117 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003779/0.422, allocations: 163.5 kB / 462.5 MB, free: 2.996 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.4223, allocations: 90.64 kB / 462.6 MB, free: 2.914 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003172/0.4255, allocations: 3.6 MB / 466.2 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005108/0.426, allocations: 69.5 kB / 466.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/0.4261, allocations: 26.62 kB / 466.3 MB, free: 15.45 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.000244/0.4263, allocations: 161.7 kB / 466.4 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.4265, allocations: 67.31 kB / 466.5 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001822/0.4266, allocations: 69.72 kB / 466.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.4267, allocations: 8 kB / 466.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4267, allocations: 0 / 466.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.4267, allocations: 3.984 kB / 466.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.4287, allocations: 1.414 MB / 468 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.4287, allocations: 0 / 468 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.429, allocations: 55.47 kB / 468.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003886/0.4294, allocations: 158.4 kB / 468.2 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.792e-05/0.4294, allocations: 14.67 kB / 468.2 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003275/0.4327, allocations: 3.505 MB / 471.7 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4327, allocations: 3.938 kB / 471.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.4341, allocations: 0.9437 MB / 472.7 MB, free: 9.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002642/0.4344, allocations: 196.4 kB / 472.9 MB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.478e-05/0.4345, allocations: 11.56 kB / 472.9 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/0.4348, allocations: 52.33 kB / 472.9 MB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/0.4351, allocations: 71.33 kB / 473 MB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.977e-05/0.4351, allocations: 19.05 kB / 473 MB, free: 9.633 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004417/0.4356, allocations: 335.1 kB / 473.4 MB, free: 9.383 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4356, allocations: 0 / 473.4 MB, free: 9.383 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00119/0.4368, allocations: 341.3 kB / 473.7 MB, free: 9.051 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 20 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002327/0.437, allocations: 142.2 kB / 473.8 MB, free: 8.902 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002078/0.4391, allocations: 1.387 MB / 475.2 MB, free: 7.461 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4391, allocations: 0 / 475.2 MB, free: 7.461 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007178/0.4399, allocations: 0.5364 MB / 475.7 MB, free: 6.898 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005136/0.4404, allocations: 104.1 kB / 475.8 MB, free: 6.801 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.4425, allocations: 0.9903 MB / 476.8 MB, free: 5.781 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006021/0.4431, allocations: 0.9593 MB / 477.8 MB, free: 4.793 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004461/0.4435, allocations: 108.8 kB / 477.9 MB, free: 4.684 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.738e-05/0.4436, allocations: 39.42 kB / 477.9 MB, free: 4.645 MB / 330.7 MB Notification: Performance of SimCode: time 8.22e-07/0.4436, allocations: 0 / 477.9 MB, free: 4.645 MB / 330.7 MB Notification: Performance of Templates: time 0.01815/0.4618, allocations: 10.9 MB / 488.8 MB, free: 9.734 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe 2>&1)