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.001444/0.001444, allocations: 179.3 kB / 16.38 MB, free: 5.762 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.319/1.319, allocations: 194.5 MB / 211.6 MB, free: 3.062 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.001608/0.001608, allocations: 113.7 kB / 256.9 MB, free: 4.336 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002977/0.0002978, allocations: 8 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08929/0.0896, allocations: 44.5 MB / 355.1 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2497/0.3393, allocations: 82.67 MB / 437.7 MB, free: 6.961 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.3396, allocations: 86.44 kB / 437.8 MB, free: 6.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03055/0.3702, allocations: 13.72 MB / 451.5 MB, free: 11.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3702, allocations: 6.156 kB / 451.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.752e-05/0.3703, allocations: 16 kB / 451.6 MB, free: 11.49 MB / 330.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.001575/0.3719, allocations: 0.9702 MB / 452.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3719, allocations: 12.03 kB / 452.5 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.3721, allocations: 86.97 kB / 452.6 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007143/0.3728, allocations: 0.5097 MB / 453.1 MB, free: 9.961 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/0.3728, allocations: 50.94 kB / 453.2 MB, free: 9.934 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.953e-05/0.3729, allocations: 65.06 kB / 453.3 MB, free: 9.891 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.3741, allocations: 0.7379 MB / 454 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.3741, allocations: 0 / 454 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.607e-05/0.3742, allocations: 35.95 kB / 454 MB, free: 9.141 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.3742, allocations: 19.98 kB / 454 MB, free: 9.121 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009373/0.3751, allocations: 0.5478 MB / 454.6 MB, free: 8.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003432/0.3786, allocations: 2.685 MB / 457.3 MB, free: 5.773 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009842/0.3796, allocations: 0.6007 MB / 457.9 MB, free: 5.164 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/0.3796, allocations: 4.438 kB / 457.9 MB, free: 5.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005429/0.3802, allocations: 358.2 kB / 458.2 MB, free: 4.793 MB / 330.7 MB Notification: Performance of pre-optimization done (n=58): time 1.754e-06/0.3802, allocations: 0 / 458.2 MB, free: 4.793 MB / 330.7 MB Notification: Performance of matching and sorting (n=58): time 0.001923/0.3821, allocations: 1.007 MB / 459.2 MB, free: 3.734 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/0.3822, allocations: 111.4 kB / 459.4 MB, free: 3.602 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005468/0.3827, allocations: 449 kB / 459.8 MB, free: 3.156 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.085e-05/0.3828, allocations: 45.64 kB / 459.8 MB, free: 3.105 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.383, allocations: 320.3 kB / 460.1 MB, free: 2.789 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.3832, allocations: 181.4 kB / 460.3 MB, free: 2.609 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.3832, allocations: 12 kB / 460.3 MB, free: 2.598 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3834, allocations: 370.8 kB / 460.7 MB, free: 2.227 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.3838, allocations: 209.2 kB / 460.9 MB, free: 2.023 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004514/0.3842, allocations: 368.1 kB / 461.3 MB, free: 1.602 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/0.3846, allocations: 230.1 kB / 461.5 MB, free: 1.375 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.3846, allocations: 4 kB / 461.5 MB, free: 1.371 MB / 330.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00109/0.3857, allocations: 0.7072 MB / 462.2 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005692/0.3863, allocations: 1.579 MB / 463.8 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.3863, allocations: 4 kB / 463.8 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004325/0.3867, allocations: 156.4 kB / 463.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/0.3871, allocations: 95.83 kB / 464 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003128/0.3902, allocations: 3.48 MB / 467.5 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/0.3907, allocations: 87.56 kB / 467.6 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-05/0.3907, allocations: 20 kB / 467.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.4e-06/0.3907, allocations: 4 kB / 467.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009306/0.3917, allocations: 0.6161 MB / 468.2 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.3917, allocations: 4 kB / 468.2 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003384/0.392, allocations: 143.6 kB / 468.4 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.3923, allocations: 91.83 kB / 468.5 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002879/0.3952, allocations: 3.479 MB / 471.9 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003896/0.3956, allocations: 79.56 kB / 472 MB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.3957, allocations: 20 kB / 472 MB, free: 6.148 MB / 346.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * 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 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004763/0.3962, allocations: 324.8 kB / 472.4 MB, free: 5.824 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.033e-05/0.3962, allocations: 63.25 kB / 472.4 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.3964, allocations: 73.58 kB / 472.5 MB, free: 5.688 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3964, allocations: 4 kB / 472.5 MB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.3964, allocations: 3.938 kB / 472.5 MB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.3964, allocations: 0 / 472.5 MB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/0.3983, allocations: 1.391 MB / 473.9 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.3983, allocations: 0 / 473.9 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.3986, allocations: 55.91 kB / 473.9 MB, free: 4.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003536/0.3989, allocations: 137.6 kB / 474.1 MB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.936e-05/0.399, allocations: 15.98 kB / 474.1 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003028/0.402, allocations: 3.312 MB / 477.4 MB, free: 456 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.402, allocations: 0 / 477.4 MB, free: 456 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.4035, allocations: 0.9257 MB / 478.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002727/0.4038, allocations: 192.3 kB / 478.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.343e-05/0.4039, allocations: 12 kB / 478.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.4042, allocations: 47.95 kB / 478.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.4044, allocations: 81.75 kB / 478.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/0.4044, allocations: 16 kB / 478.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004815/0.4049, allocations: 346.9 kB / 479 MB, free: 14.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4049, allocations: 3.938 kB / 479 MB, free: 14.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001242/0.4062, allocations: 347.1 kB / 479.4 MB, free: 14.46 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 37 * 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 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002682/0.4065, allocations: 133.4 kB / 479.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001936/0.4084, allocations: 1.389 MB / 480.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4084, allocations: 0 / 480.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006182/0.4091, allocations: 0.5365 MB / 481.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.4095, allocations: 99.25 kB / 481.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002579/0.4121, allocations: 1.581 MB / 483.1 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/0.4127, allocations: 0.9543 MB / 484 MB, free: 9.625 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003287/0.4131, allocations: 96.86 kB / 484.1 MB, free: 9.527 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.4132, allocations: 39.44 kB / 484.2 MB, free: 9.488 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4132, allocations: 0 / 484.2 MB, free: 9.488 MB / 362.7 MB Notification: Performance of Templates: time 0.01667/0.4299, allocations: 9.974 MB / 494.2 MB, free: 15.54 MB / 378.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)