Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001111/0.001112, allocations: 180.3 kB / 16.38 MB, free: 5.766 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.246/1.246, allocations: 194.5 MB / 211.6 MB, free: 3.039 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.001593/0.001593, allocations: 108.4 kB / 256.9 MB, free: 4.332 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003271, allocations: 8 kB / 310.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08298/0.08332, allocations: 44.5 MB / 355.1 MB, free: 2.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2483/0.3317, allocations: 85.61 MB / 440.7 MB, free: 4.035 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.332, allocations: 97 kB / 440.8 MB, free: 3.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06649/0.3985, allocations: 28.57 MB / 469.3 MB, free: 9.855 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3985, allocations: 0 / 469.3 MB, free: 9.855 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.046e-05/0.3986, allocations: 32 kB / 469.4 MB, free: 9.824 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.003126/0.4018, allocations: 1.69 MB / 471.1 MB, free: 8.059 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.4018, allocations: 8.031 kB / 471.1 MB, free: 8.051 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002627/0.4021, allocations: 162.5 kB / 471.2 MB, free: 7.891 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003637/0.4057, allocations: 1.655 MB / 472.9 MB, free: 6.188 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/0.4058, allocations: 106.5 kB / 473 MB, free: 6.082 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.406, allocations: 128 kB / 473.1 MB, free: 5.957 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002742/0.4088, allocations: 1.767 MB / 474.9 MB, free: 4.117 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.4088, allocations: 0 / 474.9 MB, free: 4.117 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.409, allocations: 56 kB / 474.9 MB, free: 4.062 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.682e-05/0.409, allocations: 54.56 kB / 475 MB, free: 4.008 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002292/0.4113, allocations: 1.458 MB / 476.5 MB, free: 2.543 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007803/0.4191, allocations: 5.015 MB / 481.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.421, allocations: 1.13 MB / 482.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.811e-05/0.4211, allocations: 16.59 kB / 482.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/0.4221, allocations: 0.6641 MB / 483.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=85): time 2.715e-06/0.4221, allocations: 0 / 483.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=85): time 0.003446/0.4256, allocations: 1.802 MB / 485.1 MB, free: 9.727 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.353e-05/0.4257, allocations: 123.8 kB / 485.2 MB, free: 9.582 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009952/0.4267, allocations: 0.7692 MB / 486 MB, free: 8.805 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.096e-05/0.4267, allocations: 57.69 kB / 486 MB, free: 8.742 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004946/0.4273, allocations: 0.5929 MB / 486.6 MB, free: 8.141 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.4275, allocations: 244.7 kB / 486.9 MB, free: 7.898 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/0.4275, allocations: 20 kB / 486.9 MB, free: 7.879 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4277, allocations: 341.9 kB / 487.2 MB, free: 7.539 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007447/0.4284, allocations: 473.7 kB / 487.7 MB, free: 7.074 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009073/0.4293, allocations: 0.6918 MB / 488.4 MB, free: 6.293 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007688/0.4301, allocations: 0.4909 MB / 488.9 MB, free: 5.805 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.4301, allocations: 4 kB / 488.9 MB, free: 5.801 MB / 362.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002068/0.4322, allocations: 1.348 MB / 490.2 MB, free: 4.438 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001026/0.4332, allocations: 2.438 MB / 492.6 MB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.4333, allocations: 8 kB / 492.7 MB, free: 1.805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005072/0.4338, allocations: 220.6 kB / 492.9 MB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005453/0.4343, allocations: 167.7 kB / 493 MB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003159/0.4375, allocations: 2.823 MB / 495.9 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007134/0.4382, allocations: 147.3 kB / 496 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.378e-05/0.4383, allocations: 40.36 kB / 496 MB, free: 14.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.4383, allocations: 5.25 kB / 496 MB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001783/0.4401, allocations: 1.207 MB / 497.3 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.4401, allocations: 8 kB / 497.3 MB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004081/0.4405, allocations: 222.8 kB / 497.5 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004994/0.4411, allocations: 151.8 kB / 497.6 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002853/0.4439, allocations: 2.828 MB / 0.4887 GB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006741/0.4446, allocations: 143.3 kB / 0.4889 GB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-05/0.4447, allocations: 36 kB / 0.4889 GB, free: 9.547 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0009655/0.4457, allocations: 0.6101 MB / 0.4895 GB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.4458, allocations: 94.88 kB / 0.4896 GB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.446, allocations: 117.5 kB / 0.4897 GB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.446, allocations: 8 kB / 0.4897 GB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.4461, allocations: 0 / 0.4897 GB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.4461, allocations: 7.922 kB / 0.4897 GB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004082/0.4502, allocations: 2.567 MB / 0.4922 GB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.4502, allocations: 4 kB / 0.4922 GB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004385/0.4506, allocations: 99.81 kB / 0.4923 GB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004253/0.4511, allocations: 196.7 kB / 0.4925 GB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-05/0.4511, allocations: 19.98 kB / 0.4925 GB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003116/0.4543, allocations: 2.805 MB / 0.4953 GB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4543, allocations: 0 / 0.4953 GB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002812/0.4571, allocations: 1.841 MB / 0.4971 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000521/0.4576, allocations: 271.8 kB / 0.4973 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.4578, allocations: 27.95 kB / 0.4973 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005452/0.4583, allocations: 107.8 kB / 0.4975 GB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002958/0.4586, allocations: 140.8 kB / 0.4976 GB, free: 412 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.305e-05/0.4587, allocations: 23.98 kB / 0.4976 GB, free: 388 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007792/0.4595, allocations: 0.5849 MB / 0.4982 GB, free: 15.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4595, allocations: 0 / 0.4982 GB, free: 15.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001636/0.4611, allocations: 0.5915 MB / 0.4988 GB, free: 15.2 MB / 394.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: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[3].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002593/0.4614, allocations: 161 kB / 0.4989 GB, free: 15.03 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003245/0.4646, allocations: 2.071 MB / 0.5009 GB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.4647, allocations: 5.375 kB / 0.5009 GB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.4657, allocations: 0.7151 MB / 0.5016 GB, free: 12.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007966/0.4665, allocations: 193.5 kB / 0.5018 GB, free: 12.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004431/0.4709, allocations: 2.995 MB / 0.5047 GB, free: 9 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/0.472, allocations: 1.416 MB / 0.5061 GB, free: 7.555 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008627/0.4729, allocations: 315.1 kB / 0.5064 GB, free: 7.242 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.4731, allocations: 63.44 kB / 0.5065 GB, free: 7.18 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.4731, allocations: 0 / 0.5065 GB, free: 7.18 MB / 394.7 MB Notification: Performance of Templates: time 0.172/0.6451, allocations: 15.69 MB / 0.5218 GB, free: 111.4 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic.pipe 2>&1)