Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.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.HalfControlledBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 202.4 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.709/1.709, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001113/0.001113, allocations: 97.66 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.923e-05/1.937e-05, allocations: 0 / 343.8 MB, free: 8.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1247, allocations: 51.5 MB / 395.3 MB, free: 4.645 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3342/0.4589, allocations: 89.08 MB / 484.4 MB, free: 3.867 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.4592, allocations: 88.12 kB / 484.5 MB, free: 3.816 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02866/0.4879, allocations: 11.44 MB / 495.9 MB, free: 10.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4879, allocations: 0 / 495.9 MB, free: 10.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.368e-05/0.488, allocations: 16 kB / 495.9 MB, free: 10.38 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001855/0.4899, allocations: 0.9083 MB / 496.8 MB, free: 9.469 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.4899, allocations: 8.031 kB / 496.8 MB, free: 9.461 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003483/0.4903, allocations: 95.05 kB / 496.9 MB, free: 9.367 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008798/0.4912, allocations: 0.4934 MB / 497.4 MB, free: 8.922 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.17e-05/0.4912, allocations: 28.73 kB / 497.4 MB, free: 8.902 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.4914, allocations: 43.98 kB / 497.5 MB, free: 8.859 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000886/0.4923, allocations: 468.1 kB / 497.9 MB, free: 8.582 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.4933, allocations: 0.6076 MB / 498.6 MB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.4933, allocations: 3 kB / 498.6 MB, free: 8.113 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.552e-05/0.4934, allocations: 4 kB / 498.6 MB, free: 8.109 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.4934, allocations: 16 kB / 498.6 MB, free: 8.094 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003842/0.4972, allocations: 2.546 MB / 0.4894 GB, free: 5.996 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000851/0.4981, allocations: 0.4974 MB / 0.4899 GB, free: 5.699 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003623/0.4985, allocations: 255.4 kB / 0.4901 GB, free: 5.535 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.357e-05/0.4986, allocations: 8.422 kB / 0.4901 GB, free: 5.527 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005458/0.4991, allocations: 327.7 kB / 0.4904 GB, free: 5.273 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 4.358e-06/0.4991, allocations: 0 / 0.4904 GB, free: 5.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.0009071/0.5, allocations: 0.4945 MB / 0.4909 GB, free: 4.902 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.71e-05/0.5001, allocations: 141.1 kB / 0.491 GB, free: 4.734 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005216/0.5007, allocations: 386.5 kB / 0.4914 GB, free: 4.445 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.462e-05/0.5007, allocations: 33.7 kB / 0.4914 GB, free: 4.406 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.501, allocations: 320.9 kB / 0.4918 GB, free: 4.168 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.5011, allocations: 168.8 kB / 0.4919 GB, free: 4.023 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.5012, allocations: 0 / 0.4919 GB, free: 4.023 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5013, allocations: 365.2 kB / 0.4923 GB, free: 3.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/0.5016, allocations: 166.7 kB / 0.4924 GB, free: 3.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/0.5019, allocations: 341.4 kB / 0.4927 GB, free: 3.281 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/0.5022, allocations: 194.9 kB / 0.4929 GB, free: 3.156 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.5022, allocations: 0 / 0.4929 GB, free: 3.156 MB / 362.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0008694/0.5031, allocations: 0.5905 MB / 0.4935 GB, free: 2.723 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004747/0.5036, allocations: 1.577 MB / 0.4951 GB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.5036, allocations: 7.938 kB / 0.4951 GB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000457/0.5041, allocations: 146 kB / 0.4952 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003905/0.5045, allocations: 90.58 kB / 0.4953 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/0.5069, allocations: 2.249 MB / 0.4975 GB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004934/0.5074, allocations: 75.53 kB / 0.4976 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.5075, allocations: 31.52 kB / 0.4976 GB, free: 14.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.5075, allocations: 8 kB / 0.4976 GB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007999/0.5083, allocations: 0.4995 MB / 0.4981 GB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.5084, allocations: 4 kB / 0.4981 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003673/0.5087, allocations: 153.9 kB / 0.4982 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/0.509, allocations: 79.72 kB / 0.4983 GB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/0.5114, allocations: 2.247 MB / 0.5005 GB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/0.5119, allocations: 59.59 kB / 0.5006 GB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.141e-05/0.512, allocations: 24.23 kB / 0.5006 GB, free: 12.25 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: 27 ($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,rectifier.diode_n1.off,rectifier.diode_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 (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.0002231/0.5122, allocations: 143.2 kB / 0.5007 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008944/0.5131, allocations: 0.4914 MB / 0.5012 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.5133, allocations: 55.33 kB / 0.5012 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/0.5134, allocations: 53.67 kB / 0.5013 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.5135, allocations: 8 kB / 0.5013 GB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5135, allocations: 4 kB / 0.5013 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.5135, allocations: 7.938 kB / 0.5013 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001906/0.5154, allocations: 1.246 MB / 0.5025 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.5154, allocations: 3.984 kB / 0.5025 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.5157, allocations: 43.98 kB / 0.5026 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000379/0.5161, allocations: 138.8 kB / 0.5027 GB, free: 10 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.5161, allocations: 7.984 kB / 0.5027 GB, free: 9.992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002479/0.5186, allocations: 2.232 MB / 0.5049 GB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.5186, allocations: 0 / 0.5049 GB, free: 7.645 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.52, allocations: 0.8563 MB / 0.5057 GB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003032/0.5203, allocations: 192.2 kB / 0.5059 GB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.5205, allocations: 4 kB / 0.5059 GB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/0.5209, allocations: 35.97 kB / 0.506 GB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.521, allocations: 60.47 kB / 0.506 GB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.5211, allocations: 16 kB / 0.506 GB, free: 6.449 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00035/0.5214, allocations: 283 kB / 0.5063 GB, free: 6.176 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5214, allocations: 3.938 kB / 0.5063 GB, free: 6.172 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001139/0.5226, allocations: 303 kB / 0.5066 GB, free: 5.875 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.diode_n1.off,rectifier.diode_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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * 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.00174/0.5243, allocations: 1.437 MB / 0.508 GB, free: 4.402 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001835/0.5262, allocations: 1.103 MB / 0.5091 GB, free: 3.289 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.5262, allocations: 320 / 0.5091 GB, free: 3.289 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006067/0.5268, allocations: 427.3 kB / 0.5095 GB, free: 2.863 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006224/0.5275, allocations: 89.41 kB / 0.5096 GB, free: 2.777 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00257/0.53, allocations: 1.002 MB / 0.5105 GB, free: 1.738 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.5305, allocations: 0.959 MB / 0.5115 GB, free: 0.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004475/0.531, allocations: 112.6 kB / 0.5116 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/0.5313, allocations: 231.3 kB / 0.5118 GB, free: 420 kB / 378.7 MB Notification: Performance of SimCode: time 6.62e-07/0.5313, allocations: 4 kB / 0.5118 GB, free: 416 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04266/0.574, allocations: 14.45 MB / 0.5259 GB, free: 2.188 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/0.5743, allocations: 212.5 kB / 0.5261 GB, free: 1.918 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.413/2.987, allocations: 0 / 0.5261 GB, free: 1.918 MB / 394.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat does not exist to compare? outputFormat=mat