Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.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,fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001153/0.001153, allocations: 198 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.247/1.247, allocations: 227.2 MB / 245 MB, free: 7.648 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009181/0.000918, allocations: 112.2 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002553/0.0002553, allocations: 8 kB / 358 MB, free: 9.426 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2133, allocations: 51.49 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1046/0.3179, allocations: 90.36 MB / 499.9 MB, free: 212 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.3183, allocations: 91.92 kB / 500 MB, free: 120 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03947/0.3578, allocations: 15.18 MB / 0.5031 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3578, allocations: 0 / 0.5031 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.601e-05/0.3579, allocations: 16 kB / 0.5031 GB, free: 0.832 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.1753/0.5332, allocations: 1.006 MB / 0.5041 GB, free: 89.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.5333, allocations: 9.438 kB / 0.5041 GB, free: 89.82 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003665/0.5337, allocations: 117.4 kB / 0.5042 GB, free: 89.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002903/0.534, allocations: 104 kB / 0.5043 GB, free: 89.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009633/0.5349, allocations: 0.5144 MB / 0.5048 GB, free: 89.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-05/0.535, allocations: 61.61 kB / 0.5049 GB, free: 89.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.5351, allocations: 73.08 kB / 0.5049 GB, free: 89.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.5365, allocations: 0.7779 MB / 0.5057 GB, free: 89.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/0.5366, allocations: 10.5 kB / 0.5057 GB, free: 89.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.83e-05/0.5366, allocations: 28.75 kB / 0.5057 GB, free: 89.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/0.5367, allocations: 18.16 kB / 0.5057 GB, free: 89.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.5378, allocations: 0.5852 MB / 0.5063 GB, free: 89.37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003724/0.5415, allocations: 2.804 MB / 0.509 GB, free: 88.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008332/0.5424, allocations: 0.5603 MB / 0.5096 GB, free: 88.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.5424, allocations: 5.969 kB / 0.5096 GB, free: 88.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005974/0.543, allocations: 369.1 kB / 0.51 GB, free: 88.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 2.575e-06/0.543, allocations: 0.5312 kB / 0.51 GB, free: 88.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.002204/0.5453, allocations: 1.032 MB / 0.511 GB, free: 87.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.5453, allocations: 142 kB / 0.5111 GB, free: 87.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005387/0.5459, allocations: 469.7 kB / 0.5115 GB, free: 87.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.984e-05/0.5459, allocations: 48.98 kB / 0.5116 GB, free: 87.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.5461, allocations: 333.8 kB / 0.5119 GB, free: 87.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.5463, allocations: 190.2 kB / 0.5121 GB, free: 87.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.5463, allocations: 14.75 kB / 0.5121 GB, free: 87.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5465, allocations: 372.2 kB / 0.5125 GB, free: 86.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003891/0.5469, allocations: 222.9 kB / 0.5127 GB, free: 86.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004583/0.5473, allocations: 393.5 kB / 0.513 GB, free: 86.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003925/0.5477, allocations: 243.3 kB / 0.5133 GB, free: 86.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.5477, allocations: 0 / 0.5133 GB, free: 86.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00111/0.5489, allocations: 0.7428 MB / 0.514 GB, free: 85.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005048/0.5494, allocations: 1.573 MB / 0.5155 GB, free: 84.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.5494, allocations: 15.53 kB / 0.5156 GB, free: 84.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004724/0.5499, allocations: 151.5 kB / 0.5157 GB, free: 84.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003663/0.5503, allocations: 100.9 kB / 0.5158 GB, free: 84.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002434/0.5527, allocations: 3.478 MB / 0.5192 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004666/0.5532, allocations: 93.44 kB / 0.5193 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.5532, allocations: 26.88 kB / 0.5193 GB, free: 80.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.124e-06/0.5532, allocations: 3.938 kB / 0.5193 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000838/0.5541, allocations: 0.6291 MB / 0.5199 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.5541, allocations: 7.641 kB / 0.5199 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003059/0.5544, allocations: 151.5 kB / 0.5201 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.5547, allocations: 95.38 kB / 0.5202 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.5569, allocations: 3.482 MB / 0.5236 GB, free: 77.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003631/0.5573, allocations: 77.3 kB / 0.5236 GB, free: 77.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.5573, allocations: 20.75 kB / 0.5237 GB, free: 77.43 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003212/0.5576, allocations: 325.5 kB / 0.524 GB, free: 77.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.641e-05/0.5577, allocations: 66.05 kB / 0.524 GB, free: 77.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.5579, allocations: 68.78 kB / 0.5241 GB, free: 77.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.5579, allocations: 10.59 kB / 0.5241 GB, free: 77.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.5579, allocations: 7.75 kB / 0.5241 GB, free: 77.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.5579, allocations: 3.562 kB / 0.5241 GB, free: 77.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.5596, allocations: 1.464 MB / 0.5256 GB, free: 76.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5597, allocations: 0 / 0.5256 GB, free: 76.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.5599, allocations: 62.61 kB / 0.5256 GB, free: 76.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000303/0.5602, allocations: 139.4 kB / 0.5257 GB, free: 76.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.5603, allocations: 18.75 kB / 0.5258 GB, free: 76.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/0.5624, allocations: 3.318 MB / 0.529 GB, free: 73.24 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5624, allocations: 0 / 0.529 GB, free: 73.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/0.5636, allocations: 0.9777 MB / 0.53 GB, free: 72.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.5638, allocations: 199.9 kB / 0.5302 GB, free: 72.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.161e-05/0.5639, allocations: 15.3 kB / 0.5302 GB, free: 72.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/0.5643, allocations: 39 kB / 0.5302 GB, free: 72.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.5644, allocations: 76.75 kB / 0.5303 GB, free: 72.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.5645, allocations: 18.83 kB / 0.5303 GB, free: 72.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003388/0.5648, allocations: 367.7 kB / 0.5306 GB, free: 72.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5648, allocations: 0 / 0.5306 GB, free: 72.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009229/0.5657, allocations: 363.4 kB / 0.531 GB, free: 72.27 MB / 378.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 39 * 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 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001451/0.5672, allocations: 1.563 MB / 0.5325 GB, free: 71.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001551/0.5688, allocations: 1.422 MB / 0.5339 GB, free: 70.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5688, allocations: 0 / 0.5339 GB, free: 70.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005035/0.5693, allocations: 0.548 MB / 0.5344 GB, free: 70.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.5698, allocations: 116.8 kB / 0.5346 GB, free: 70 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002709/0.5725, allocations: 4.759 MB / 0.5392 GB, free: 65.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.5728, allocations: 0.978 MB / 0.5402 GB, free: 64.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003141/0.5732, allocations: 95.73 kB / 0.5402 GB, free: 64.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002462/0.5734, allocations: 251.4 kB / 0.5405 GB, free: 64.32 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.5734, allocations: 0 / 0.5405 GB, free: 64.32 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.6015, allocations: 15.9 MB / 0.556 GB, free: 51.06 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/0.6017, allocations: 274.8 kB / 0.5563 GB, free: 50.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.241/2.842, allocations: 0 / 0.5563 GB, free: 50.7 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat