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.001452/0.001452, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008999/0.0008999, allocations: 91.34 kB / 292.1 MB, free: 5.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.152e-05/3.153e-05, allocations: 4 kB / 350.7 MB, free: 2.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1284, allocations: 51.48 MB / 402.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3434/0.4719, allocations: 90 MB / 492.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/0.4722, allocations: 90.94 kB / 492.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03857/0.5108, allocations: 14.88 MB / 0.4952 GB, free: 2.148 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.5108, allocations: 3.938 kB / 0.4952 GB, free: 2.145 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.752e-05/0.5109, allocations: 17.41 kB / 0.4953 GB, free: 2.129 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.001913/0.5128, allocations: 0.9138 MB / 0.4961 GB, free: 1.164 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.5129, allocations: 8.031 kB / 0.4962 GB, free: 1.156 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002026/0.5131, allocations: 110.5 kB / 0.4963 GB, free: 1.039 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003123/0.5134, allocations: 99.81 kB / 0.4964 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008443/0.5142, allocations: 0.5098 MB / 0.4969 GB, free: 404 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.52e-05/0.5143, allocations: 65.97 kB / 0.4969 GB, free: 336 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.5144, allocations: 72 kB / 0.497 GB, free: 264 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.5157, allocations: 0.7195 MB / 0.4977 GB, free: 15.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.5157, allocations: 4 kB / 0.4977 GB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.737e-05/0.5158, allocations: 32 kB / 0.4977 GB, free: 15.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.5158, allocations: 20 kB / 0.4977 GB, free: 15.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009457/0.5167, allocations: 0.5205 MB / 0.4982 GB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004362/0.5211, allocations: 2.751 MB / 0.5009 GB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009123/0.522, allocations: 0.5354 MB / 0.5015 GB, free: 11.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008005/0.5229, allocations: 398 kB / 0.5018 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.479e-05/0.5229, allocations: 8.438 kB / 0.5018 GB, free: 11.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005983/0.5235, allocations: 362.1 kB / 0.5022 GB, free: 10.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=59): time 2.375e-06/0.5235, allocations: 3.938 kB / 0.5022 GB, free: 10.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=59): time 0.001096/0.5246, allocations: 0.5664 MB / 0.5027 GB, free: 10.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.406e-05/0.5248, allocations: 145.1 kB / 0.5029 GB, free: 10 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005541/0.5253, allocations: 439.9 kB / 0.5033 GB, free: 9.566 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.493e-05/0.5254, allocations: 45.7 kB / 0.5033 GB, free: 9.516 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/0.5256, allocations: 332.2 kB / 0.5037 GB, free: 9.184 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.5258, allocations: 177.5 kB / 0.5038 GB, free: 9.008 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.5258, allocations: 16 kB / 0.5038 GB, free: 8.992 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.526, allocations: 374.7 kB / 0.5042 GB, free: 8.617 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/0.5264, allocations: 197.5 kB / 0.5044 GB, free: 8.426 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004381/0.5268, allocations: 369.5 kB / 0.5047 GB, free: 8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003784/0.5272, allocations: 223.2 kB / 0.505 GB, free: 7.785 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.5272, allocations: 0 / 0.505 GB, free: 7.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001201/0.5284, allocations: 0.7149 MB / 0.5057 GB, free: 7.055 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006371/0.5291, allocations: 1.579 MB / 0.5072 GB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.5291, allocations: 4 kB / 0.5072 GB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005016/0.5296, allocations: 161.6 kB / 0.5074 GB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.53, allocations: 99.81 kB / 0.5075 GB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003403/0.5334, allocations: 3.601 MB / 0.511 GB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/0.5339, allocations: 95.55 kB / 0.5111 GB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.172e-05/0.534, allocations: 20 kB / 0.5111 GB, free: 1.113 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.524e-06/0.534, allocations: 4 kB / 0.5111 GB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001016/0.535, allocations: 0.6357 MB / 0.5117 GB, free: 476 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.535, allocations: 4 kB / 0.5117 GB, free: 472 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003954/0.5354, allocations: 165.7 kB / 0.5119 GB, free: 300 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.5358, allocations: 91.83 kB / 0.512 GB, free: 208 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003623/0.5394, allocations: 3.601 MB / 0.5155 GB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.5399, allocations: 87.56 kB / 0.5156 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.981e-05/0.5399, allocations: 24 kB / 0.5156 GB, free: 12.23 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 (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.0001969/0.5401, allocations: 156.8 kB / 0.5157 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.5403, allocations: 63.25 kB / 0.5158 GB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001983/0.5405, allocations: 69.7 kB / 0.5159 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.5405, allocations: 11.95 kB / 0.5159 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5405, allocations: 0 / 0.5159 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.5405, allocations: 7.984 kB / 0.5159 GB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002234/0.5428, allocations: 1.446 MB / 0.5173 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.5428, allocations: 0 / 0.5173 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/0.543, allocations: 57.81 kB / 0.5173 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004089/0.5435, allocations: 153.6 kB / 0.5175 GB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.426e-05/0.5435, allocations: 12 kB / 0.5175 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004256/0.5478, allocations: 3.518 MB / 0.5209 GB, free: 6.402 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5478, allocations: 4.062 kB / 0.5209 GB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.5496, allocations: 0.9754 MB / 0.5219 GB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003684/0.55, allocations: 184.4 kB / 0.5221 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.5501, allocations: 27.95 kB / 0.5221 GB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004196/0.5505, allocations: 39.97 kB / 0.5221 GB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/0.5507, allocations: 76.53 kB / 0.5222 GB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/0.5508, allocations: 20.55 kB / 0.5222 GB, free: 5.031 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005364/0.5513, allocations: 345.6 kB / 0.5226 GB, free: 4.695 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5513, allocations: 0 / 0.5226 GB, free: 4.695 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001433/0.5528, allocations: 355 kB / 0.5229 GB, free: 4.348 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 (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.001883/0.5547, allocations: 1.626 MB / 0.5245 GB, free: 2.684 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.5569, allocations: 1.421 MB / 0.5259 GB, free: 1.219 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.5569, allocations: 0.5625 kB / 0.5259 GB, free: 1.219 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006779/0.5576, allocations: 0.5508 MB / 0.5264 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005527/0.5582, allocations: 112.4 kB / 0.5265 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.5606, allocations: 1.169 MB / 0.5277 GB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005937/0.5613, allocations: 0.975 MB / 0.5286 GB, free: 14.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004757/0.5617, allocations: 124.9 kB / 0.5287 GB, free: 14.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000298/0.562, allocations: 227.4 kB / 0.5289 GB, free: 13.97 MB / 410.7 MB Notification: Performance of SimCode: time 7.52e-07/0.5621, allocations: 4 kB / 0.5289 GB, free: 13.96 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03457/0.5966, allocations: 16.81 MB / 0.5454 GB, free: 13.58 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002727/0.597, allocations: 233.4 kB / 0.5456 GB, free: 13.27 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.518/3.115, allocations: 0 / 0.5456 GB, free: 13.27 MB / 426.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