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_DC_Drive.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_DC_Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=150000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=150000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009775/0.0009775, allocations: 179.6 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.383/1.383, 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.001617/0.001617, allocations: 114.7 kB / 256.9 MB, free: 4.359 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003096, allocations: 12 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08209/0.08241, allocations: 44.5 MB / 355.1 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2636/0.3461, allocations: 100.6 MB / 455.6 MB, free: 5.328 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.3463, allocations: 87.83 kB / 455.7 MB, free: 5.281 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09067/0.437, allocations: 36.31 MB / 492 MB, free: 3.102 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.437, allocations: 0 / 492 MB, free: 3.102 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001282/0.4372, allocations: 39.98 kB / 492.1 MB, free: 3.062 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 365 * Number of variables: 365 Notification: Performance of Generate backend data structure: time 0.004082/0.4413, allocations: 2.066 MB / 494.1 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.4413, allocations: 15.97 kB / 494.2 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006368/0.442, allocations: 241.5 kB / 494.4 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002775/0.4447, allocations: 1.38 MB / 495.8 MB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.225e-05/0.4449, allocations: 114.8 kB / 495.9 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/0.4451, allocations: 147.9 kB / 496 MB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002472/0.4475, allocations: 1.56 MB / 497.6 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.659e-05/0.4476, allocations: 0 / 497.6 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.4477, allocations: 67.94 kB / 497.7 MB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.4477, allocations: 35.98 kB / 497.7 MB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002116/0.4499, allocations: 1.244 MB / 498.9 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008383/0.4583, allocations: 6.381 MB / 0.4935 GB, free: 5.363 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.46, allocations: 1.049 MB / 0.4945 GB, free: 4.301 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.586e-05/0.4601, allocations: 9 kB / 0.4945 GB, free: 4.293 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008446/0.4609, allocations: 0.5757 MB / 0.4951 GB, free: 3.695 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 2.795e-06/0.4609, allocations: 0 / 0.4951 GB, free: 3.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=95): time 0.005885/0.4668, allocations: 3.19 MB / 0.4982 GB, free: 404 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.097e-05/0.4669, allocations: 171.2 kB / 0.4983 GB, free: 196 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/0.4689, allocations: 1.264 MB / 0.4996 GB, free: 14.92 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.927e-05/0.469, allocations: 49.7 kB / 0.4996 GB, free: 14.87 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006704/0.4696, allocations: 0.7801 MB / 0.5004 GB, free: 14.08 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000247/0.4699, allocations: 311.6 kB / 0.5007 GB, free: 13.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.427e-05/0.47, allocations: 28 kB / 0.5007 GB, free: 13.74 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4701, allocations: 357.9 kB / 0.5011 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007618/0.4709, allocations: 450.4 kB / 0.5015 GB, free: 12.95 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.4719, allocations: 0.8684 MB / 0.5023 GB, free: 11.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008405/0.4728, allocations: 0.5378 MB / 0.5029 GB, free: 11.35 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.4728, allocations: 4 kB / 0.5029 GB, free: 11.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002568/0.4754, allocations: 1.651 MB / 0.5045 GB, free: 9.664 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001649/0.477, allocations: 5.101 MB / 0.5095 GB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.477, allocations: 12 kB / 0.5095 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005601/0.4776, allocations: 190.9 kB / 0.5097 GB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.4787, allocations: 315.5 kB / 0.51 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1632/0.6418, allocations: 3.82 MB / 0.5137 GB, free: 100.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.6435, allocations: 171.6 kB / 0.5138 GB, free: 100.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-05/0.6437, allocations: 60.02 kB / 0.5139 GB, free: 100.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.6437, allocations: 3.219 kB / 0.5139 GB, free: 100.5 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00213/0.6458, allocations: 1.468 MB / 0.5153 GB, free: 100.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.6458, allocations: 13.5 kB / 0.5154 GB, free: 100.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004244/0.6463, allocations: 192.8 kB / 0.5155 GB, free: 100.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009223/0.6472, allocations: 309.7 kB / 0.5158 GB, free: 100.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003115/0.6503, allocations: 3.809 MB / 0.5196 GB, free: 97.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.6517, allocations: 163 kB / 0.5197 GB, free: 97.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.721e-05/0.6518, allocations: 54.47 kB / 0.5198 GB, free: 97.75 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (146): * Single equations (assignments): 144 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {4 13} Notification: Performance of prepare postOptimizeDAE: time 0.001085/0.6529, allocations: 0.5024 MB / 0.5203 GB, free: 97.56 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/0.6531, allocations: 138.5 kB / 0.5204 GB, free: 97.56 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/0.655, allocations: 1.212 MB / 0.5216 GB, free: 97.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.655, allocations: 9.344 kB / 0.5216 GB, free: 97.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6551, allocations: 2.781 kB / 0.5216 GB, free: 97.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.6551, allocations: 7.656 kB / 0.5216 GB, free: 97.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003899/0.659, allocations: 2.742 MB / 0.5243 GB, free: 96.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.659, allocations: 5.562 kB / 0.5243 GB, free: 96.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006998/0.6597, allocations: 162.1 kB / 0.5244 GB, free: 96.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004354/0.6601, allocations: 175.9 kB / 0.5246 GB, free: 96.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.665e-05/0.6602, allocations: 29.86 kB / 0.5246 GB, free: 96.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002992/0.6632, allocations: 3.717 MB / 0.5282 GB, free: 94.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.6632, allocations: 5.578 kB / 0.5283 GB, free: 94.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002564/0.6658, allocations: 1.881 MB / 0.5301 GB, free: 93.91 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005585/0.6664, allocations: 320.8 kB / 0.5304 GB, free: 93.78 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/0.6666, allocations: 27.34 kB / 0.5304 GB, free: 93.78 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008254/0.6674, allocations: 134.1 kB / 0.5306 GB, free: 93.78 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/0.6676, allocations: 103.9 kB / 0.5306 GB, free: 93.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.487e-05/0.6677, allocations: 34.34 kB / 0.5307 GB, free: 93.78 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00156/0.6692, allocations: 0.9777 MB / 0.5316 GB, free: 93.67 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6693, allocations: 0 / 0.5316 GB, free: 93.67 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002061/0.6713, allocations: 0.6378 MB / 0.5323 GB, free: 93.67 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,pulse2.twoPulse.filter[1].firstOrder.y,pulse2.twoPulse.filter[1].transferFunction[1].x_scaled[1],pulse2.twoPulse.filter[1].transferFunction[2].x_scaled[1],inductor.i,dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,lMains.i) * Number of discrete variables: 20 (pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[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_n2.off,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 68 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {4 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005138/0.6718, allocations: 334 kB / 0.5326 GB, free: 93.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003757/0.6756, allocations: 2.408 MB / 0.5349 GB, free: 93.06 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.6756, allocations: 1.25 kB / 0.5349 GB, free: 93.06 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.6769, allocations: 0.8643 MB / 0.5358 GB, free: 92.81 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/0.6782, allocations: 285.2 kB / 0.536 GB, free: 92.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005324/0.6836, allocations: 3.655 MB / 0.5396 GB, free: 91.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007818/0.6844, allocations: 1.335 MB / 0.5409 GB, free: 90.47 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001143/0.6855, allocations: 296.6 kB / 0.5412 GB, free: 90.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.6858, allocations: 83.81 kB / 0.5413 GB, free: 90.43 MB / 394.7 MB Notification: Performance of SimCode: time 6.02e-07/0.6858, allocations: 1.375 kB / 0.5413 GB, free: 90.43 MB / 394.7 MB Notification: Performance of Templates: time 0.0305/0.7163, allocations: 22 MB / 0.5628 GB, free: 88.93 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe 2>&1)