Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.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_RLV_Characteristic,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001244/0.001244, allocations: 197.5 kB / 14.17 MB, free: 1.148 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.602/1.602, allocations: 225.4 MB / 240.1 MB, free: 15.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001001/0.001001, allocations: 93.69 kB / 292.1 MB, free: 5.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.938e-05/3.952e-05, allocations: 0 / 350.7 MB, free: 2.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1148, allocations: 51.5 MB / 402.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3658/0.4807, allocations: 90.74 MB / 492.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.481, allocations: 81.2 kB / 493 MB, free: 14.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04052/0.5215, allocations: 15.4 MB / 0.4964 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.5216, allocations: 0 / 0.4964 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.062e-05/0.5217, allocations: 16 kB / 0.4965 GB, free: 0.8906 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002207/0.5239, allocations: 0.9583 MB / 0.4974 GB, free: 15.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.5239, allocations: 16.03 kB / 0.4974 GB, free: 15.87 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002374/0.5242, allocations: 114.5 kB / 0.4975 GB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003854/0.5246, allocations: 103.8 kB / 0.4976 GB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009758/0.5256, allocations: 0.5215 MB / 0.4981 GB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.007e-05/0.5256, allocations: 54 kB / 0.4982 GB, free: 15.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.5258, allocations: 72 kB / 0.4983 GB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.5272, allocations: 0.756 MB / 0.499 GB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/0.5272, allocations: 7.906 kB / 0.499 GB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-05/0.5273, allocations: 24.75 kB / 0.499 GB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.5273, allocations: 20 kB / 0.499 GB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.5283, allocations: 0.5427 MB / 0.4996 GB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00425/0.5326, allocations: 2.771 MB / 0.5023 GB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.5338, allocations: 0.6715 MB / 0.5029 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008786/0.5347, allocations: 454.3 kB / 0.5034 GB, free: 9.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.834e-05/0.5348, allocations: 4.562 kB / 0.5034 GB, free: 9.566 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006212/0.5354, allocations: 382.8 kB / 0.5037 GB, free: 9.176 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 2.685e-06/0.5354, allocations: 0 / 0.5037 GB, free: 9.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=63): time 0.001109/0.5366, allocations: 0.5976 MB / 0.5043 GB, free: 8.566 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.899e-05/0.5367, allocations: 145.1 kB / 0.5045 GB, free: 8.395 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005746/0.5373, allocations: 427.8 kB / 0.5049 GB, free: 7.969 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.138e-05/0.5373, allocations: 49.69 kB / 0.5049 GB, free: 7.914 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/0.5376, allocations: 336.3 kB / 0.5052 GB, free: 7.582 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.5378, allocations: 193.2 kB / 0.5054 GB, free: 7.391 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.5378, allocations: 16 kB / 0.5054 GB, free: 7.375 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.538, allocations: 368.5 kB / 0.5058 GB, free: 7.008 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000373/0.5384, allocations: 205.5 kB / 0.506 GB, free: 6.809 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.5389, allocations: 374.9 kB / 0.5063 GB, free: 6.367 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004107/0.5394, allocations: 223.2 kB / 0.5066 GB, free: 6.152 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.5394, allocations: 0 / 0.5066 GB, free: 6.152 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001258/0.5406, allocations: 0.7261 MB / 0.5073 GB, free: 5.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006298/0.5413, allocations: 1.581 MB / 0.5088 GB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.5413, allocations: 4 kB / 0.5088 GB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005081/0.5418, allocations: 169.7 kB / 0.509 GB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004532/0.5423, allocations: 107.8 kB / 0.5091 GB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003614/0.5459, allocations: 3.585 MB / 0.5126 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005988/0.5465, allocations: 87.67 kB / 0.5127 GB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.807e-05/0.5466, allocations: 35.94 kB / 0.5127 GB, free: 15.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.5466, allocations: 4 kB / 0.5127 GB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001078/0.5477, allocations: 0.6509 MB / 0.5133 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.5477, allocations: 6.188 kB / 0.5133 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004176/0.5481, allocations: 169.6 kB / 0.5135 GB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.5485, allocations: 99.83 kB / 0.5136 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003331/0.5519, allocations: 3.594 MB / 0.5171 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005525/0.5524, allocations: 75.59 kB / 0.5172 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.156e-05/0.5525, allocations: 27.94 kB / 0.5172 GB, free: 10.56 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 (69): * Single equations (assignments): 67 * 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.0002288/0.5528, allocations: 161 kB / 0.5174 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.5529, allocations: 71.23 kB / 0.5174 GB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.5532, allocations: 73.7 kB / 0.5175 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.5532, allocations: 4 kB / 0.5175 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5532, allocations: 0 / 0.5175 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.5532, allocations: 3.984 kB / 0.5175 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/0.5555, allocations: 1.501 MB / 0.519 GB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.5555, allocations: 0 / 0.519 GB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003525/0.5559, allocations: 75.89 kB / 0.519 GB, free: 8.605 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004081/0.5563, allocations: 153.6 kB / 0.5192 GB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.215e-05/0.5564, allocations: 12 kB / 0.5192 GB, free: 8.438 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003289/0.5597, allocations: 3.512 MB / 0.5226 GB, free: 4.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.5597, allocations: 3.953 kB / 0.5226 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.5614, allocations: 1.011 MB / 0.5236 GB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003993/0.5618, allocations: 196.2 kB / 0.5238 GB, free: 3.402 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.562, allocations: 15.94 kB / 0.5238 GB, free: 3.387 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004931/0.5625, allocations: 59.91 kB / 0.5239 GB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002099/0.5627, allocations: 80.44 kB / 0.524 GB, free: 3.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.396e-05/0.5627, allocations: 16 kB / 0.524 GB, free: 3.234 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004922/0.5632, allocations: 329.6 kB / 0.5243 GB, free: 2.914 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5632, allocations: 0 / 0.5243 GB, free: 2.914 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001543/0.5648, allocations: 370.9 kB / 0.5246 GB, free: 2.551 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 (47): * Single equations (assignments): 40 * 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.002264/0.5671, allocations: 1.666 MB / 0.5263 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002531/0.5696, allocations: 1.444 MB / 0.5277 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.5696, allocations: 4 kB / 0.5277 GB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008308/0.5705, allocations: 0.5753 MB / 0.5282 GB, free: 14.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007229/0.5712, allocations: 101.8 kB / 0.5283 GB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.5742, allocations: 1.224 MB / 0.5295 GB, free: 13.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006441/0.5749, allocations: 0.9828 MB / 0.5305 GB, free: 12.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005881/0.5755, allocations: 125 kB / 0.5306 GB, free: 12.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/0.5758, allocations: 247.3 kB / 0.5308 GB, free: 12.01 MB / 410.7 MB Notification: Performance of SimCode: time 1.562e-06/0.5758, allocations: 4 kB / 0.5309 GB, free: 12.01 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04274/0.6186, allocations: 17.23 MB / 0.5477 GB, free: 11.14 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000272/0.6189, allocations: 246.5 kB / 0.5479 GB, free: 10.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.542/3.161, allocations: 2.5 kB / 0.5479 GB, free: 10.8 MB / 426.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat