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_R.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_R,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_R",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.0009932/0.0009932, allocations: 180.6 kB / 17.01 MB, free: 5.121 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.31/1.31, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0008547/0.0008548, allocations: 92.17 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003878, allocations: 12 kB / 328.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3193, allocations: 47.57 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1099/0.4292, allocations: 87.62 MB / 463.6 MB, free: 9.008 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.4295, allocations: 87.95 kB / 463.6 MB, free: 8.922 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03653/0.4661, allocations: 13.63 MB / 477.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.4661, allocations: 4 kB / 477.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.229e-05/0.4662, allocations: 16 kB / 477.3 MB, free: 11.2 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002358/0.4686, allocations: 0.9418 MB / 478.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.4686, allocations: 8.031 kB / 478.2 MB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002745/0.4689, allocations: 106.5 kB / 478.3 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002531/0.4692, allocations: 86.97 kB / 478.4 MB, free: 9.988 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.4702, allocations: 497.9 kB / 478.9 MB, free: 9.461 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-05/0.4703, allocations: 57.3 kB / 479 MB, free: 9.402 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.4705, allocations: 60 kB / 479 MB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.4718, allocations: 0.6981 MB / 479.7 MB, free: 8.617 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.4718, allocations: 0 / 479.7 MB, free: 8.617 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-05/0.4719, allocations: 31.98 kB / 479.8 MB, free: 8.586 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.4719, allocations: 16 kB / 479.8 MB, free: 8.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.473, allocations: 0.5243 MB / 480.3 MB, free: 8.047 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004182/0.4772, allocations: 2.608 MB / 482.9 MB, free: 5.324 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.4783, allocations: 0.585 MB / 483.5 MB, free: 4.727 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.116e-05/0.4784, allocations: 8.438 kB / 483.5 MB, free: 4.719 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000595/0.479, allocations: 354.2 kB / 483.8 MB, free: 4.355 MB / 362.7 MB Notification: Performance of pre-optimization done (n=55): time 2.365e-06/0.479, allocations: 0 / 483.8 MB, free: 4.355 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.002446/0.4815, allocations: 0.9691 MB / 484.8 MB, free: 3.359 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.892e-05/0.4816, allocations: 123.4 kB / 484.9 MB, free: 3.215 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000626/0.4822, allocations: 441 kB / 485.4 MB, free: 2.777 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.322e-05/0.4823, allocations: 45.7 kB / 485.4 MB, free: 2.727 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.4826, allocations: 312.3 kB / 485.7 MB, free: 2.418 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.4828, allocations: 161.8 kB / 485.9 MB, free: 2.258 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.4828, allocations: 16 kB / 485.9 MB, free: 2.242 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.483, allocations: 362.8 kB / 486.2 MB, free: 1.879 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003938/0.4834, allocations: 209.2 kB / 486.4 MB, free: 1.672 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005117/0.4839, allocations: 360.2 kB / 486.8 MB, free: 1.262 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/0.4844, allocations: 222.1 kB / 487 MB, free: 1.047 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.4844, allocations: 4 kB / 487 MB, free: 1.043 MB / 362.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001375/0.4858, allocations: 0.6979 MB / 487.7 MB, free: 340 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006586/0.4864, allocations: 1.571 MB / 489.3 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.4865, allocations: 4 kB / 489.3 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004754/0.4869, allocations: 156.8 kB / 489.4 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.4873, allocations: 87.83 kB / 489.5 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003034/0.4903, allocations: 2.396 MB / 491.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004972/0.4908, allocations: 91.48 kB / 492 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.812e-05/0.4909, allocations: 24 kB / 492 MB, free: 11.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.4909, allocations: 6.812 kB / 492 MB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001012/0.4919, allocations: 0.5916 MB / 492.6 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.4919, allocations: 4 kB / 492.6 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003963/0.4923, allocations: 161.2 kB / 492.8 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.4926, allocations: 75.91 kB / 492.9 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002771/0.4954, allocations: 2.399 MB / 495.3 MB, free: 8.375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004399/0.4959, allocations: 67.61 kB / 495.3 MB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/0.4959, allocations: 24 kB / 495.4 MB, free: 8.285 MB / 378.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 (61): * Single equations (assignments): 60 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004927/0.4964, allocations: 317.2 kB / 495.7 MB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.4966, allocations: 55.34 kB / 495.7 MB, free: 7.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/0.4967, allocations: 69.44 kB / 495.8 MB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.4967, allocations: 11.95 kB / 495.8 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4968, allocations: 0 / 495.8 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.4968, allocations: 0 / 495.8 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/0.499, allocations: 1.362 MB / 497.2 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.499, allocations: 96 / 497.2 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.4992, allocations: 39.97 kB / 497.2 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004476/0.4997, allocations: 152.7 kB / 497.4 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.519e-05/0.4998, allocations: 16 kB / 497.4 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003371/0.5031, allocations: 2.308 MB / 499.7 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.5032, allocations: 3.953 kB / 499.7 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.5047, allocations: 0.9092 MB / 0.4889 GB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002827/0.505, allocations: 184.4 kB / 0.489 GB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.5051, allocations: 12 kB / 0.489 GB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/0.5055, allocations: 47.95 kB / 0.4891 GB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.5057, allocations: 68.45 kB / 0.4892 GB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/0.5057, allocations: 16 kB / 0.4892 GB, free: 2.496 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004934/0.5062, allocations: 338.9 kB / 0.4895 GB, free: 2.168 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5062, allocations: 0 / 0.4895 GB, free: 2.168 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001269/0.5075, allocations: 335.1 kB / 0.4898 GB, free: 1.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.001928/0.5094, allocations: 1.503 MB / 0.4913 GB, free: 312 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1911/0.7006, allocations: 1.191 MB / 0.4924 GB, free: 106.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.7007, allocations: 1.375 kB / 0.4924 GB, free: 106.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.7018, allocations: 454 kB / 0.4929 GB, free: 106 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009405/0.7027, allocations: 107.8 kB / 0.493 GB, free: 106 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005129/0.7079, allocations: 4.493 MB / 0.4974 GB, free: 102.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006891/0.7086, allocations: 0.9473 MB / 0.4983 GB, free: 101.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004511/0.7091, allocations: 85.81 kB / 0.4984 GB, free: 101.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/0.7094, allocations: 223.2 kB / 0.4986 GB, free: 101.7 MB / 378.7 MB Notification: Performance of SimCode: time 3.667e-06/0.7094, allocations: 0 / 0.4986 GB, free: 101.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0366/0.746, allocations: 15.1 MB / 0.5133 GB, free: 98.59 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.7463, allocations: 269 kB / 0.5136 GB, free: 98.22 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.354/3.101, allocations: 0 / 0.5136 GB, free: 98.22 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_R_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_R.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.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_R_res.mat does not exist to compare? outputFormat=mat