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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009811/0.000981, allocations: 180 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.243/1.243, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001587/0.001587, allocations: 109.8 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003132, allocations: 12 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08806/0.08839, allocations: 44.5 MB / 355.1 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2359/0.3243, allocations: 85.4 MB / 440.5 MB, free: 4.277 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/0.3246, allocations: 90.31 kB / 440.6 MB, free: 4.227 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06694/0.3916, allocations: 28.45 MB / 469 MB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3917, allocations: 3.938 kB / 469 MB, free: 10.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001695/0.3918, allocations: 32 kB / 469 MB, free: 10.16 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.004195/0.396, allocations: 1.663 MB / 470.7 MB, free: 8.426 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3961, allocations: 12.03 kB / 470.7 MB, free: 8.414 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005162/0.3966, allocations: 166.4 kB / 470.9 MB, free: 8.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004361/0.401, allocations: 1.64 MB / 472.5 MB, free: 6.562 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.4011, allocations: 106.5 kB / 472.6 MB, free: 6.457 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003206/0.4014, allocations: 135.9 kB / 472.8 MB, free: 6.324 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00332/0.4048, allocations: 1.731 MB / 474.5 MB, free: 4.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.625e-05/0.4048, allocations: 4 kB / 474.5 MB, free: 4.516 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.405, allocations: 52 kB / 474.5 MB, free: 4.465 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.648e-05/0.405, allocations: 58.55 kB / 474.6 MB, free: 4.406 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/0.4074, allocations: 1.419 MB / 476 MB, free: 2.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00737/0.4148, allocations: 5 MB / 481 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.4164, allocations: 1.083 MB / 482.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.4165, allocations: 16.66 kB / 482.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008513/0.4173, allocations: 0.6123 MB / 482.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=82): time 2.975e-06/0.4174, allocations: 4 kB / 482.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=82): time 0.002978/0.4203, allocations: 1.666 MB / 484.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/0.4204, allocations: 119.5 kB / 484.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009998/0.4214, allocations: 0.8087 MB / 485.3 MB, free: 9.449 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.834e-05/0.4215, allocations: 57.69 kB / 485.4 MB, free: 9.387 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004311/0.422, allocations: 0.585 MB / 486 MB, free: 8.793 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.4222, allocations: 236.8 kB / 486.2 MB, free: 8.559 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.495e-05/0.4222, allocations: 20 kB / 486.2 MB, free: 8.539 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.4223, allocations: 349.9 kB / 486.6 MB, free: 8.191 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006654/0.423, allocations: 449.7 kB / 487 MB, free: 7.754 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008153/0.4238, allocations: 0.6723 MB / 487.7 MB, free: 6.992 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007165/0.4246, allocations: 482.7 kB / 488.1 MB, free: 6.523 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.4246, allocations: 0 / 488.1 MB, free: 6.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001995/0.4266, allocations: 1.302 MB / 489.5 MB, free: 5.207 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009217/0.4275, allocations: 2.445 MB / 491.9 MB, free: 2.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.4275, allocations: 8 kB / 491.9 MB, free: 2.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005053/0.4281, allocations: 228.7 kB / 492.1 MB, free: 2.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005024/0.4286, allocations: 143.7 kB / 492.3 MB, free: 2.199 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002979/0.4316, allocations: 2.834 MB / 495.1 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007076/0.4323, allocations: 163.2 kB / 495.3 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.565e-05/0.4324, allocations: 32 kB / 495.3 MB, free: 15.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/0.4324, allocations: 4 kB / 495.3 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001648/0.434, allocations: 1.168 MB / 496.5 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.4341, allocations: 8 kB / 496.5 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004096/0.4345, allocations: 212.7 kB / 496.7 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/0.4349, allocations: 143.7 kB / 496.8 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002933/0.4379, allocations: 2.827 MB / 499.6 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006395/0.4385, allocations: 135.3 kB / 499.8 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.549e-05/0.4386, allocations: 39.98 kB / 499.8 MB, free: 10.37 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 (107): * Single equations (assignments): 106 * 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.0009636/0.4396, allocations: 0.6121 MB / 0.4887 GB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.4398, allocations: 94.86 kB / 0.4888 GB, free: 9.656 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.44, allocations: 109.3 kB / 0.4889 GB, free: 9.543 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.44, allocations: 8 kB / 0.4889 GB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4401, allocations: 0 / 0.4889 GB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4401, allocations: 3.984 kB / 0.4889 GB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004051/0.4441, allocations: 2.475 MB / 0.4913 GB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.4441, allocations: 0 / 0.4913 GB, free: 6.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003677/0.4445, allocations: 83.88 kB / 0.4914 GB, free: 6.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004208/0.445, allocations: 201.5 kB / 0.4916 GB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.986e-05/0.445, allocations: 19.94 kB / 0.4916 GB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003223/0.4483, allocations: 2.803 MB / 0.4944 GB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.4483, allocations: 4 kB / 0.4944 GB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002492/0.4508, allocations: 1.706 MB / 0.496 GB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006613/0.4515, allocations: 272 kB / 0.4963 GB, free: 1.746 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.4517, allocations: 19.94 kB / 0.4963 GB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005765/0.4522, allocations: 95.91 kB / 0.4964 GB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003091/0.4526, allocations: 140.4 kB / 0.4965 GB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.188e-05/0.4526, allocations: 23.98 kB / 0.4966 GB, free: 1.473 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009722/0.4536, allocations: 0.6083 MB / 0.4971 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4536, allocations: 0 / 0.4971 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001706/0.4553, allocations: 0.5838 MB / 0.4977 GB, free: 284 kB / 378.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[3].off,rectifier.thyristor.idealThyristor[1].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 60 * 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.0002598/0.4556, allocations: 168.4 kB / 0.4979 GB, free: 100 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003144/0.4587, allocations: 1.985 MB / 0.4998 GB, free: 14.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4588, allocations: 0 / 0.4998 GB, free: 14.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009508/0.4597, allocations: 0.674 MB / 0.5005 GB, free: 13.39 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000802/0.4605, allocations: 189.4 kB / 0.5007 GB, free: 13.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004589/0.4651, allocations: 2.954 MB / 0.5035 GB, free: 10.24 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/0.4663, allocations: 1.404 MB / 0.5049 GB, free: 8.809 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007979/0.4671, allocations: 311.3 kB / 0.5052 GB, free: 8.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.4673, allocations: 59.44 kB / 0.5053 GB, free: 8.441 MB / 394.7 MB Notification: Performance of SimCode: time 8.71e-07/0.4673, allocations: 0 / 0.5053 GB, free: 8.441 MB / 394.7 MB Notification: Performance of Templates: time 0.1733/0.6407, allocations: 15.49 MB / 0.5204 GB, free: 110.3 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV.pipe 2>&1)