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.001078/0.001078, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.236/1.236, allocations: 227.2 MB / 245 MB, free: 7.641 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008933/0.0008934, allocations: 104.5 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002335/0.0002335, allocations: 8 kB / 358 MB, free: 9.426 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1951, allocations: 51.48 MB / 409.5 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1123/0.3074, allocations: 90.07 MB / 499.6 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.3077, allocations: 87.94 kB / 499.7 MB, free: 452 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03941/0.3472, allocations: 14.91 MB / 0.5025 GB, free: 1.441 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3472, allocations: 4 kB / 0.5025 GB, free: 1.438 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.108e-05/0.3473, allocations: 12 kB / 0.5025 GB, free: 1.426 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002337/0.3496, allocations: 1.002 MB / 0.5035 GB, free: 372 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.3497, allocations: 8.031 kB / 0.5035 GB, free: 364 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002857/0.35, allocations: 114.5 kB / 0.5036 GB, free: 240 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003952/0.3504, allocations: 98.95 kB / 0.5037 GB, free: 140 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1889/0.5393, allocations: 0.4967 MB / 0.5042 GB, free: 90.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.5395, allocations: 57.39 kB / 0.5043 GB, free: 90.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002793/0.5398, allocations: 72.69 kB / 0.5043 GB, free: 90.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.5418, allocations: 0.76 MB / 0.5051 GB, free: 90.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-05/0.5418, allocations: 6.125 kB / 0.5051 GB, free: 90.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.028e-05/0.5419, allocations: 27.75 kB / 0.5051 GB, free: 90.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.542, allocations: 17.91 kB / 0.5051 GB, free: 90.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.5432, allocations: 0.5669 MB / 0.5057 GB, free: 90.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004192/0.5474, allocations: 2.754 MB / 0.5084 GB, free: 89.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008016/0.5483, allocations: 0.5525 MB / 0.5089 GB, free: 89.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-05/0.5483, allocations: 9.766 kB / 0.5089 GB, free: 89.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005465/0.5489, allocations: 370 kB / 0.5093 GB, free: 89.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=59): time 3.387e-06/0.5489, allocations: 2.156 kB / 0.5093 GB, free: 89.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=59): time 0.002119/0.551, allocations: 1.017 MB / 0.5103 GB, free: 88.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.5511, allocations: 141.4 kB / 0.5104 GB, free: 88.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007014/0.5518, allocations: 459.1 kB / 0.5108 GB, free: 88.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.883e-05/0.5518, allocations: 47.27 kB / 0.5109 GB, free: 88.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.552, allocations: 331.8 kB / 0.5112 GB, free: 88.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.5522, allocations: 184.7 kB / 0.5114 GB, free: 87.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.5522, allocations: 10.91 kB / 0.5114 GB, free: 87.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.337e-05/0.5523, allocations: 371.6 kB / 0.5117 GB, free: 87.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.5527, allocations: 224.2 kB / 0.512 GB, free: 87.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000388/0.5531, allocations: 391.7 kB / 0.5123 GB, free: 87.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000348/0.5534, allocations: 241.7 kB / 0.5126 GB, free: 87.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.5534, allocations: 3.688 kB / 0.5126 GB, free: 87.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0009936/0.5544, allocations: 0.7373 MB / 0.5133 GB, free: 86.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002291/0.5547, allocations: 1.573 MB / 0.5148 GB, free: 85.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.5547, allocations: 3.906 kB / 0.5148 GB, free: 85.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003912/0.5551, allocations: 143.9 kB / 0.515 GB, free: 85.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/0.5554, allocations: 104.5 kB / 0.5151 GB, free: 85.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.5577, allocations: 3.483 MB / 0.5185 GB, free: 81.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/0.5582, allocations: 87.42 kB / 0.5185 GB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.5582, allocations: 31.3 kB / 0.5186 GB, free: 81.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.202e-06/0.5582, allocations: 3.812 kB / 0.5186 GB, free: 81.87 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008105/0.5591, allocations: 0.631 MB / 0.5192 GB, free: 81.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.5591, allocations: 4.438 kB / 0.5192 GB, free: 81.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003075/0.5594, allocations: 148 kB / 0.5193 GB, free: 81.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.5597, allocations: 96.36 kB / 0.5194 GB, free: 81.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.5619, allocations: 3.472 MB / 0.5228 GB, free: 78.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003943/0.5623, allocations: 89.53 kB / 0.5229 GB, free: 78.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.5623, allocations: 22.19 kB / 0.5229 GB, free: 78.33 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 (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 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003547/0.5627, allocations: 327.7 kB / 0.5232 GB, free: 78.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.918e-05/0.5628, allocations: 60.34 kB / 0.5233 GB, free: 78.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.5629, allocations: 70.05 kB / 0.5234 GB, free: 77.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.5629, allocations: 7.531 kB / 0.5234 GB, free: 77.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.5629, allocations: 0 / 0.5234 GB, free: 77.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.5629, allocations: 3.844 kB / 0.5234 GB, free: 77.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.5647, allocations: 1.456 MB / 0.5248 GB, free: 77.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.5647, allocations: 1.812 kB / 0.5248 GB, free: 77.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.565, allocations: 59.97 kB / 0.5249 GB, free: 77.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003086/0.5653, allocations: 136.7 kB / 0.525 GB, free: 77.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.5654, allocations: 17.83 kB / 0.525 GB, free: 77.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002087/0.5675, allocations: 3.313 MB / 0.5282 GB, free: 74.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.5675, allocations: 6.219 kB / 0.5282 GB, free: 74.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.5687, allocations: 0.984 MB / 0.5292 GB, free: 73.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000186/0.5689, allocations: 192.7 kB / 0.5294 GB, free: 73.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.01e-05/0.569, allocations: 11.75 kB / 0.5294 GB, free: 73.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/0.5693, allocations: 50.41 kB / 0.5295 GB, free: 73.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.5695, allocations: 76.36 kB / 0.5295 GB, free: 73.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.5695, allocations: 20.55 kB / 0.5295 GB, free: 73.44 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003427/0.5699, allocations: 355.3 kB / 0.5299 GB, free: 73.28 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5699, allocations: 0 / 0.5299 GB, free: 73.28 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009656/0.5708, allocations: 356.4 kB / 0.5302 GB, free: 73.19 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 (45): * Single equations (assignments): 38 * 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.001442/0.5723, allocations: 1.56 MB / 0.5317 GB, free: 72.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.5739, allocations: 1.424 MB / 0.5331 GB, free: 71.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5739, allocations: 0 / 0.5331 GB, free: 71.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005094/0.5744, allocations: 0.5379 MB / 0.5337 GB, free: 70.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.5749, allocations: 118.4 kB / 0.5338 GB, free: 70.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002658/0.5776, allocations: 4.712 MB / 0.5384 GB, free: 66.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.5779, allocations: 0.9674 MB / 0.5393 GB, free: 65.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002977/0.5782, allocations: 99.47 kB / 0.5394 GB, free: 65.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.5784, allocations: 244.2 kB / 0.5397 GB, free: 65.43 MB / 378.7 MB Notification: Performance of SimCode: time 4.649e-06/0.5785, allocations: 0 / 0.5397 GB, free: 65.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.6053, allocations: 15.74 MB / 0.555 GB, free: 52.36 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001599/0.6055, allocations: 268.3 kB / 0.5553 GB, free: 52 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.289/2.894, allocations: 0 / 0.5553 GB, free: 52 MB / 378.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