Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001167/0.001167, allocations: 196.7 kB / 8.765 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001038/0.001038, allocations: 102.9 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.933e-05/1.944e-05, allocations: 4 kB / 343.8 MB, free: 8.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 51.48 MB / 395.3 MB, free: 4.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3311/0.4373, allocations: 89.34 MB / 484.6 MB, free: 3.594 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.4375, allocations: 86.89 kB / 484.7 MB, free: 3.547 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03541/0.4729, allocations: 14.75 MB / 499.5 MB, free: 7.387 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.473, allocations: 0 / 499.5 MB, free: 7.387 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.737e-05/0.473, allocations: 16 kB / 499.5 MB, free: 7.371 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.001643/0.4747, allocations: 0.9158 MB / 0.4887 GB, free: 6.457 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/0.4748, allocations: 11.97 kB / 0.4887 GB, free: 6.445 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002783/0.4751, allocations: 103.8 kB / 0.4888 GB, free: 6.344 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008266/0.4759, allocations: 0.5116 MB / 0.4893 GB, free: 5.883 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/0.4759, allocations: 24 kB / 0.4893 GB, free: 5.859 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.495e-05/0.476, allocations: 43.88 kB / 0.4893 GB, free: 5.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008853/0.4769, allocations: 485.8 kB / 0.4898 GB, free: 5.531 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.478, allocations: 0.6377 MB / 0.4904 GB, free: 5.043 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.478, allocations: 0 / 0.4904 GB, free: 5.043 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-05/0.4781, allocations: 3.984 kB / 0.4904 GB, free: 5.039 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.4781, allocations: 17.78 kB / 0.4904 GB, free: 5.023 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003556/0.4817, allocations: 2.612 MB / 0.493 GB, free: 2.879 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006917/0.4824, allocations: 0.5131 MB / 0.4935 GB, free: 2.574 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005625/0.483, allocations: 354.7 kB / 0.4938 GB, free: 2.324 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.705e-05/0.483, allocations: 4.438 kB / 0.4938 GB, free: 2.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000513/0.4835, allocations: 345.4 kB / 0.4942 GB, free: 2.055 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 2.304e-06/0.4836, allocations: 0 / 0.4942 GB, free: 2.055 MB / 362.7 MB Notification: Performance of matching and sorting (n=59): time 0.0008322/0.4844, allocations: 0.5166 MB / 0.4947 GB, free: 1.672 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.4845, allocations: 145 kB / 0.4948 GB, free: 1.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004015/0.4849, allocations: 379 kB / 0.4952 GB, free: 1.215 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/0.485, allocations: 32.83 kB / 0.4952 GB, free: 1.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.4852, allocations: 330.1 kB / 0.4955 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.4853, allocations: 174.2 kB / 0.4957 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.4854, allocations: 0 / 0.4957 GB, free: 0.7812 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4855, allocations: 367.2 kB / 0.496 GB, free: 448 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.4858, allocations: 188.5 kB / 0.4962 GB, free: 336 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.4862, allocations: 354.3 kB / 0.4965 GB, free: 16 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.4865, allocations: 208.8 kB / 0.4967 GB, free: 15.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.4865, allocations: 4 kB / 0.4968 GB, free: 15.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0009723/0.4875, allocations: 0.6443 MB / 0.4974 GB, free: 15.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005673/0.4881, allocations: 1.579 MB / 0.4989 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.4881, allocations: 4 kB / 0.4989 GB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00044/0.4886, allocations: 158.7 kB / 0.4991 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003808/0.489, allocations: 95.14 kB / 0.4992 GB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003509/0.4925, allocations: 3.501 MB / 0.5026 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004535/0.4929, allocations: 71.55 kB / 0.5027 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/0.493, allocations: 24 kB / 0.5027 GB, free: 10.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.493, allocations: 8.062 kB / 0.5027 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008953/0.4939, allocations: 0.557 MB / 0.5032 GB, free: 9.512 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.4939, allocations: 4 kB / 0.5032 GB, free: 9.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003734/0.4943, allocations: 164.3 kB / 0.5034 GB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.4947, allocations: 91.83 kB / 0.5035 GB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003091/0.4978, allocations: 3.504 MB / 0.5069 GB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.4982, allocations: 55.56 kB / 0.507 GB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/0.4982, allocations: 24 kB / 0.507 GB, free: 5.434 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_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 (67): * Single equations (assignments): 65 * 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.0001897/0.4984, allocations: 154 kB / 0.5071 GB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008035/0.4992, allocations: 0.5157 MB / 0.5076 GB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.409e-05/0.4993, allocations: 55.28 kB / 0.5077 GB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001576/0.4995, allocations: 65.73 kB / 0.5077 GB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.4995, allocations: 4 kB / 0.5077 GB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.4995, allocations: 0 / 0.5077 GB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.4995, allocations: 3.984 kB / 0.5077 GB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00189/0.5014, allocations: 1.309 MB / 0.509 GB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5014, allocations: 3.562 kB / 0.509 GB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.5017, allocations: 55.91 kB / 0.5091 GB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000365/0.5021, allocations: 153.6 kB / 0.5092 GB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/0.5021, allocations: 3.984 kB / 0.5092 GB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003122/0.5052, allocations: 3.386 MB / 0.5125 GB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5053, allocations: 3.953 kB / 0.5125 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.5066, allocations: 0.9102 MB / 0.5134 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002302/0.5068, allocations: 196.2 kB / 0.5136 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.901e-05/0.5069, allocations: 7.984 kB / 0.5136 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/0.5072, allocations: 35.97 kB / 0.5137 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.5074, allocations: 76.39 kB / 0.5137 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.483e-05/0.5075, allocations: 23.98 kB / 0.5138 GB, free: 14.15 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003393/0.5078, allocations: 287 kB / 0.514 GB, free: 13.87 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5078, allocations: 0.75 kB / 0.514 GB, free: 13.87 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001171/0.509, allocations: 311.1 kB / 0.5143 GB, free: 13.57 MB / 394.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: 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 (43): * Single equations (assignments): 36 * 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.001647/0.5107, allocations: 1.496 MB / 0.5158 GB, free: 12.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001883/0.5126, allocations: 1.333 MB / 0.5171 GB, free: 10.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5126, allocations: 0.6562 kB / 0.5171 GB, free: 10.67 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006254/0.5132, allocations: 0.513 MB / 0.5176 GB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005122/0.5137, allocations: 92.42 kB / 0.5177 GB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.516, allocations: 1.098 MB / 0.5188 GB, free: 8.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006476/0.5167, allocations: 0.9708 MB / 0.5197 GB, free: 7.914 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004262/0.5171, allocations: 116.7 kB / 0.5198 GB, free: 7.797 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.5174, allocations: 227.4 kB / 0.52 GB, free: 7.574 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5174, allocations: 0 / 0.52 GB, free: 7.574 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04232/0.5598, allocations: 15.02 MB / 0.5347 GB, free: 8.766 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002892/0.5601, allocations: 200.1 kB / 0.5349 GB, free: 8.508 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/2.874, allocations: 2.75 kB / 0.5349 GB, free: 8.508 MB / 410.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RL_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RL.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat does not exist to compare? outputFormat=mat