Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00202/0.00202, allocations: 174.4 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 221.3 MB / 235.5 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009086/0.0009084, allocations: 90.23 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.066e-05/3.069e-05, allocations: 4 kB / 344 MB, free: 4.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1227, allocations: 50.41 MB / 394.4 MB, free: 1.742 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3367/0.4595, allocations: 89.48 MB / 483.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.4598, allocations: 87.94 kB / 483.9 MB, free: 13.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.039/0.4988, allocations: 15.04 MB / 499 MB, free: 14.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.4988, allocations: 0 / 499 MB, free: 14.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.561e-05/0.4989, allocations: 16 kB / 499 MB, free: 14.65 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.002016/0.5009, allocations: 0.9182 MB / 499.9 MB, free: 13.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.501, allocations: 8.031 kB / 499.9 MB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002376/0.5012, allocations: 118.4 kB / 0.4883 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002518/0.5015, allocations: 94.88 kB / 0.4884 GB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009903/0.5025, allocations: 0.5141 MB / 0.4889 GB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.355e-05/0.5026, allocations: 62 kB / 0.4889 GB, free: 12.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.5027, allocations: 72 kB / 0.489 GB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.5041, allocations: 0.7443 MB / 0.4897 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.5042, allocations: 3.906 kB / 0.4897 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-05/0.5042, allocations: 32 kB / 0.4898 GB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.5043, allocations: 16 kB / 0.4898 GB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.5054, allocations: 0.5272 MB / 0.4903 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00433/0.5097, allocations: 2.787 MB / 0.493 GB, free: 8.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008363/0.5106, allocations: 0.5491 MB / 0.4936 GB, free: 7.945 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008096/0.5114, allocations: 435.1 kB / 0.494 GB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.203e-05/0.5115, allocations: 8.562 kB / 0.494 GB, free: 7.508 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005791/0.512, allocations: 370.2 kB / 0.4943 GB, free: 7.129 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 2.665e-06/0.5121, allocations: 0 / 0.4943 GB, free: 7.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.001027/0.5131, allocations: 0.5587 MB / 0.4949 GB, free: 6.559 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.5132, allocations: 149 kB / 0.495 GB, free: 6.383 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006325/0.5139, allocations: 443.8 kB / 0.4955 GB, free: 5.945 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.02e-05/0.514, allocations: 49.69 kB / 0.4955 GB, free: 5.891 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/0.5142, allocations: 332.2 kB / 0.4958 GB, free: 5.562 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.5144, allocations: 181.5 kB / 0.496 GB, free: 5.383 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.265e-05/0.5144, allocations: 12 kB / 0.496 GB, free: 5.371 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.5146, allocations: 370.8 kB / 0.4964 GB, free: 4.996 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/0.5149, allocations: 201.5 kB / 0.4965 GB, free: 4.801 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004479/0.5154, allocations: 366.9 kB / 0.4969 GB, free: 4.371 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003692/0.5158, allocations: 223.2 kB / 0.4971 GB, free: 4.152 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.5158, allocations: 4 kB / 0.4971 GB, free: 4.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0012/0.517, allocations: 0.7144 MB / 0.4978 GB, free: 3.418 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006339/0.5176, allocations: 1.58 MB / 0.4994 GB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.5177, allocations: 4 kB / 0.4994 GB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005303/0.5182, allocations: 165.5 kB / 0.4995 GB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/0.5186, allocations: 103.8 kB / 0.4996 GB, free: 1.445 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003925/0.5226, allocations: 3.595 MB / 0.5031 GB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000616/0.5232, allocations: 91.55 kB / 0.5032 GB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.044e-05/0.5233, allocations: 28 kB / 0.5032 GB, free: 13.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.5233, allocations: 4 kB / 0.5032 GB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001104/0.5244, allocations: 0.6354 MB / 0.5039 GB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.5244, allocations: 11.89 kB / 0.5039 GB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004102/0.5249, allocations: 158.1 kB / 0.504 GB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.5252, allocations: 95.77 kB / 0.5041 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003524/0.5287, allocations: 3.596 MB / 0.5076 GB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006059/0.5294, allocations: 83.56 kB / 0.5077 GB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.709e-05/0.5294, allocations: 24 kB / 0.5077 GB, free: 8.578 MB / 394.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (68): * Single equations (assignments): 66 * 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: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002517/0.5297, allocations: 160.8 kB / 0.5079 GB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.5299, allocations: 63.33 kB / 0.5079 GB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/0.5301, allocations: 69.72 kB / 0.508 GB, free: 8.281 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.5301, allocations: 7.984 kB / 0.508 GB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.5302, allocations: 7.953 kB / 0.508 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.5302, allocations: 0 / 0.508 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002618/0.5328, allocations: 1.473 MB / 0.5095 GB, free: 6.727 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.5328, allocations: 0 / 0.5095 GB, free: 6.727 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.5331, allocations: 59.91 kB / 0.5095 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004273/0.5335, allocations: 149.9 kB / 0.5097 GB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.641e-05/0.5336, allocations: 15.98 kB / 0.5097 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003285/0.5369, allocations: 3.518 MB / 0.5131 GB, free: 2.711 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5369, allocations: 4.031 kB / 0.5131 GB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.5385, allocations: 1.007 MB / 0.5141 GB, free: 1.668 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003414/0.5389, allocations: 192.3 kB / 0.5143 GB, free: 1.461 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.539, allocations: 12 kB / 0.5143 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.5394, allocations: 51.95 kB / 0.5143 GB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002102/0.5396, allocations: 76.41 kB / 0.5144 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/0.5397, allocations: 19.98 kB / 0.5144 GB, free: 1.305 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005232/0.5402, allocations: 337.6 kB / 0.5148 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.592e-06/0.5402, allocations: 0 / 0.5148 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001484/0.5417, allocations: 358.9 kB / 0.5151 GB, free: 0.625 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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 (44): * Single equations (assignments): 37 * 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: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00201/0.5438, allocations: 1.662 MB / 0.5167 GB, free: 14.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002208/0.546, allocations: 1.414 MB / 0.5181 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.546, allocations: 4 kB / 0.5181 GB, free: 13.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007656/0.5468, allocations: 0.5596 MB / 0.5187 GB, free: 12.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006452/0.5474, allocations: 105 kB / 0.5188 GB, free: 12.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.5501, allocations: 1.182 MB / 0.5199 GB, free: 11.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005656/0.5507, allocations: 0.9711 MB / 0.5209 GB, free: 10.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005142/0.5512, allocations: 128.9 kB / 0.521 GB, free: 10.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/0.5515, allocations: 243.3 kB / 0.5212 GB, free: 10.18 MB / 410.7 MB Notification: Performance of SimCode: time 8.71e-07/0.5515, allocations: 0 / 0.5212 GB, free: 10.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03799/0.5895, allocations: 16.82 MB / 0.5376 GB, free: 9.73 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/0.5898, allocations: 233.8 kB / 0.5379 GB, free: 9.422 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.4/2.99, allocations: 3.438 kB / 0.5379 GB, free: 9.422 MB / 426.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat