Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_DC_Drive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_DC_Drive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001234/0.001234, allocations: 172.6 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.2 MB / 219.8 MB, free: 14.26 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008325/0.0008327, allocations: 86.64 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.776e-05/3.778e-05, allocations: 0 / 322.6 MB, free: 17.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08688/0.08693, allocations: 47.57 MB / 370.1 MB, free: 1.602 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3345/0.4215, allocations: 105.8 MB / 475.9 MB, free: 3.863 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.4218, allocations: 96.11 kB / 476 MB, free: 3.809 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09566/0.5175, allocations: 36.66 MB / 0.5006 GB, free: 15.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.5175, allocations: 0 / 0.5006 GB, free: 15.99 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001129/0.5176, allocations: 36 kB / 0.5007 GB, free: 15.95 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 366 * Number of variables: 366 Notification: Performance of Generate backend data structure: time 0.003086/0.5207, allocations: 1.735 MB / 0.5024 GB, free: 14.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.5208, allocations: 12.02 kB / 0.5024 GB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003762/0.5212, allocations: 226 kB / 0.5026 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006873/0.5219, allocations: 241.5 kB / 0.5028 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00259/0.5245, allocations: 1.278 MB / 0.5041 GB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.339e-05/0.5246, allocations: 114.8 kB / 0.5042 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/0.5248, allocations: 155.9 kB / 0.5043 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002509/0.5273, allocations: 1.498 MB / 0.5058 GB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.819e-05/0.5274, allocations: 4 kB / 0.5058 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/0.5275, allocations: 64 kB / 0.5059 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.979e-05/0.5276, allocations: 39.95 kB / 0.5059 GB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/0.5295, allocations: 1.158 MB / 0.507 GB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00858/0.5381, allocations: 6.396 MB / 0.5133 GB, free: 2.574 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.5397, allocations: 1.009 MB / 0.5143 GB, free: 1.547 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009409/0.5407, allocations: 0.5821 MB / 0.5148 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.923e-05/0.5407, allocations: 20.77 kB / 0.5148 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007833/0.5415, allocations: 0.541 MB / 0.5154 GB, free: 388 kB / 394.7 MB Notification: Performance of pre-optimization done (n=92): time 2.544e-06/0.5415, allocations: 0 / 0.5154 GB, free: 388 kB / 394.7 MB Notification: Performance of matching and sorting (n=95): time 0.003814/0.5454, allocations: 2.397 MB / 0.5177 GB, free: 13.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.925e-05/0.5455, allocations: 174.9 kB / 0.5179 GB, free: 13.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001528/0.547, allocations: 1.141 MB / 0.519 GB, free: 12.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.938e-05/0.5471, allocations: 53.69 kB / 0.519 GB, free: 12.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005901/0.5477, allocations: 0.7685 MB / 0.5198 GB, free: 11.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002408/0.5479, allocations: 311.6 kB / 0.5201 GB, free: 11.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.177e-05/0.548, allocations: 24 kB / 0.5201 GB, free: 11.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.5481, allocations: 365.9 kB / 0.5205 GB, free: 11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006141/0.5488, allocations: 406.5 kB / 0.5209 GB, free: 10.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000901/0.5497, allocations: 0.8372 MB / 0.5217 GB, free: 9.574 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000746/0.5504, allocations: 0.499 MB / 0.5222 GB, free: 9.078 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.5504, allocations: 4 kB / 0.5222 GB, free: 9.074 MB / 410.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002378/0.5528, allocations: 1.573 MB / 0.5237 GB, free: 7.469 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001793/0.5546, allocations: 5.095 MB / 0.5287 GB, free: 2.027 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.5547, allocations: 12 kB / 0.5287 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006095/0.5553, allocations: 220.8 kB / 0.5289 GB, free: 1.797 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.5565, allocations: 319.4 kB / 0.5292 GB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2049/0.7614, allocations: 3.895 MB / 0.533 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.7631, allocations: 171.8 kB / 0.5332 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.7632, allocations: 56.06 kB / 0.5332 GB, free: 105.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.7632, allocations: 4.125 kB / 0.5332 GB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002157/0.7654, allocations: 1.414 MB / 0.5346 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.7654, allocations: 16.91 kB / 0.5346 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005077/0.7659, allocations: 217.2 kB / 0.5348 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.767, allocations: 303.9 kB / 0.5351 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003278/0.7703, allocations: 3.927 MB / 0.539 GB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.7717, allocations: 155.5 kB / 0.5391 GB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.7718, allocations: 54.67 kB / 0.5392 GB, free: 103.1 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 142 * 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%) 5} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003577/0.7722, allocations: 203.9 kB / 0.5393 GB, free: 103 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002476/0.7724, allocations: 149.1 kB / 0.5395 GB, free: 103 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002207/0.7746, allocations: 1.19 MB / 0.5407 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.7747, allocations: 13.52 kB / 0.5407 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.7747, allocations: 1.312 kB / 0.5407 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.7747, allocations: 6.234 kB / 0.5407 GB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004679/0.7794, allocations: 2.727 MB / 0.5433 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.7794, allocations: 1.562 kB / 0.5433 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007116/0.7801, allocations: 161.8 kB / 0.5435 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005029/0.7806, allocations: 202.6 kB / 0.5437 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.705e-05/0.7807, allocations: 29 kB / 0.5437 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003309/0.784, allocations: 3.809 MB / 0.5474 GB, free: 99.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.7841, allocations: 6.375 kB / 0.5474 GB, free: 99.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002657/0.7867, allocations: 1.834 MB / 0.5492 GB, free: 99.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006986/0.7874, allocations: 332 kB / 0.5495 GB, free: 99.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/0.7876, allocations: 26.88 kB / 0.5496 GB, free: 99.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009092/0.7885, allocations: 138.1 kB / 0.5497 GB, free: 99.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003097/0.7889, allocations: 104.3 kB / 0.5498 GB, free: 99.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.167e-05/0.7889, allocations: 28.58 kB / 0.5498 GB, free: 99.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001466/0.7904, allocations: 0.858 MB / 0.5507 GB, free: 98.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7904, allocations: 0 / 0.5507 GB, free: 98.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002504/0.7929, allocations: 0.6432 MB / 0.5513 GB, free: 98.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 66 * 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%) 5} * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.003397/0.7963, allocations: 3.084 MB / 0.5543 GB, free: 97.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003337/0.7997, allocations: 2.364 MB / 0.5566 GB, free: 96.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.7997, allocations: 0 / 0.5566 GB, free: 96.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.8009, allocations: 0.8544 MB / 0.5575 GB, free: 96.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/0.8027, allocations: 303.5 kB / 0.5577 GB, free: 96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005251/0.808, allocations: 2.753 MB / 0.5604 GB, free: 94.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006637/0.8087, allocations: 1.346 MB / 0.5617 GB, free: 94.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001361/0.81, allocations: 434.3 kB / 0.5622 GB, free: 94.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005468/0.8106, allocations: 0.5813 MB / 0.5627 GB, free: 93.61 MB / 410.7 MB Notification: Performance of SimCode: time 1.673e-06/0.8106, allocations: 0 / 0.5627 GB, free: 93.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06013/0.8708, allocations: 37.92 MB / 0.5998 GB, free: 78 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/0.871, allocations: 245.7 kB / 0.6 GB, free: 77.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.203/4.074, allocations: 0 / 0.6 GB, free: 77.67 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_DC_Drive_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_DC_Drive.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive_res.mat does not exist to compare? outputFormat=mat