Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,fileNamePrefix="Modelica_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001313/0.001313, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009987/0.0009986, allocations: 86.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.742e-05/2.743e-05, allocations: 0 / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09065/0.09069, allocations: 47.57 MB / 370.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3095/0.4003, allocations: 88.08 MB / 458.2 MB, free: 5.277 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.4006, allocations: 86.38 kB / 458.3 MB, free: 5.227 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03632/0.4369, allocations: 14.21 MB / 472.5 MB, free: 8.355 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.437, allocations: 0 / 472.5 MB, free: 8.355 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.071e-05/0.437, allocations: 27.88 kB / 472.5 MB, free: 8.328 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001473/0.4385, allocations: 0.8972 MB / 473.4 MB, free: 7.379 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.4386, allocations: 8.031 kB / 473.4 MB, free: 7.371 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001385/0.4387, allocations: 114.5 kB / 473.5 MB, free: 7.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.4389, allocations: 90.92 kB / 473.6 MB, free: 7.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007228/0.4396, allocations: 0.4947 MB / 474.1 MB, free: 6.621 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-05/0.4397, allocations: 65.98 kB / 474.2 MB, free: 6.559 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-05/0.4398, allocations: 64 kB / 474.3 MB, free: 6.496 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.4409, allocations: 0.7109 MB / 475 MB, free: 5.754 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.4409, allocations: 7.906 kB / 475 MB, free: 5.746 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.326e-05/0.441, allocations: 27.98 kB / 475 MB, free: 5.719 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/0.441, allocations: 20 kB / 475 MB, free: 5.699 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008534/0.4419, allocations: 0.501 MB / 475.5 MB, free: 5.195 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0036/0.4455, allocations: 2.701 MB / 478.2 MB, free: 2.379 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009984/0.4465, allocations: 0.5841 MB / 478.8 MB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007801/0.4473, allocations: 414 kB / 479.2 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.027e-05/0.4474, allocations: 4.438 kB / 479.2 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005938/0.448, allocations: 362.2 kB / 479.6 MB, free: 1 MB / 346.7 MB Notification: Performance of pre-optimization done (n=58): time 2.745e-06/0.448, allocations: 0 / 479.6 MB, free: 1 MB / 346.7 MB Notification: Performance of matching and sorting (n=58): time 0.000999/0.449, allocations: 0.5469 MB / 480.1 MB, free: 452 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.305e-05/0.4491, allocations: 115.4 kB / 480.2 MB, free: 312 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005668/0.4497, allocations: 443.7 kB / 480.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.71e-05/0.4497, allocations: 49.64 kB / 480.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.45, allocations: 312.3 kB / 481 MB, free: 15.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.4501, allocations: 185.4 kB / 481.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.4502, allocations: 20 kB / 481.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.4503, allocations: 366.8 kB / 481.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.4507, allocations: 189.5 kB / 481.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004369/0.4511, allocations: 353.4 kB / 482.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.4514, allocations: 203.2 kB / 482.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.4515, allocations: 4 kB / 482.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001098/0.4526, allocations: 0.6916 MB / 483 MB, free: 13.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005402/0.4531, allocations: 1.566 MB / 484.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.4531, allocations: 4 kB / 484.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004716/0.4536, allocations: 161.6 kB / 484.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/0.454, allocations: 95.83 kB / 484.8 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00334/0.4573, allocations: 3.603 MB / 488.4 MB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000504/0.4579, allocations: 91.48 kB / 488.5 MB, free: 7.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/0.4579, allocations: 20 kB / 488.5 MB, free: 7.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/0.4579, allocations: 4 kB / 488.5 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009753/0.4589, allocations: 0.6163 MB / 489.2 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.4589, allocations: 11.98 kB / 489.2 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003776/0.4593, allocations: 161.8 kB / 489.3 MB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.4597, allocations: 87.83 kB / 489.4 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003159/0.4628, allocations: 3.602 MB / 493 MB, free: 2.742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004527/0.4633, allocations: 71.5 kB / 493.1 MB, free: 2.672 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/0.4634, allocations: 28.31 kB / 493.1 MB, free: 2.645 MB / 362.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 (66): * Single equations (assignments): 64 * 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.0001913/0.4636, allocations: 157.7 kB / 493.3 MB, free: 2.484 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.4637, allocations: 71.19 kB / 493.3 MB, free: 2.414 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/0.4639, allocations: 65.61 kB / 493.4 MB, free: 2.348 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.4639, allocations: 11.94 kB / 493.4 MB, free: 2.336 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.4639, allocations: 3.938 kB / 493.4 MB, free: 2.332 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.4639, allocations: 3.984 kB / 493.4 MB, free: 2.328 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/0.4659, allocations: 1.411 MB / 494.8 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.4659, allocations: 3.984 kB / 494.8 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.4661, allocations: 47.97 kB / 494.9 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003825/0.4665, allocations: 165.6 kB / 495 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/0.4666, allocations: 16 kB / 495.1 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003083/0.4697, allocations: 3.502 MB / 498.6 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4697, allocations: 0 / 498.6 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.4711, allocations: 0.9522 MB / 499.5 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002336/0.4713, allocations: 188.3 kB / 499.7 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.737e-05/0.4714, allocations: 15.98 kB / 499.7 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/0.4718, allocations: 43.97 kB / 499.8 MB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.472, allocations: 76.39 kB / 499.8 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/0.4721, allocations: 19.98 kB / 499.8 MB, free: 11.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004323/0.4725, allocations: 333.6 kB / 0.4885 GB, free: 11.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4725, allocations: 0 / 0.4885 GB, free: 11.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001166/0.4737, allocations: 347.1 kB / 0.4888 GB, free: 10.84 MB / 378.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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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 (42): * Single equations (assignments): 35 * 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.001742/0.4754, allocations: 1.599 MB / 0.4903 GB, free: 9.203 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001916/0.4774, allocations: 1.383 MB / 0.4917 GB, free: 7.766 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4774, allocations: 0 / 0.4917 GB, free: 7.766 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006396/0.478, allocations: 0.5517 MB / 0.4922 GB, free: 7.188 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/0.4785, allocations: 112.9 kB / 0.4923 GB, free: 7.078 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.4807, allocations: 1.131 MB / 0.4934 GB, free: 5.902 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.4812, allocations: 0.9554 MB / 0.4944 GB, free: 4.918 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003835/0.4816, allocations: 112.9 kB / 0.4945 GB, free: 4.805 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/0.4818, allocations: 231.3 kB / 0.4947 GB, free: 4.578 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.4818, allocations: 4 kB / 0.4947 GB, free: 4.574 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03538/0.5172, allocations: 16.41 MB / 0.5107 GB, free: 4.133 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002264/0.5175, allocations: 237.2 kB / 0.511 GB, free: 3.816 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.372/2.889, allocations: 3.906 kB / 0.511 GB, free: 3.812 MB / 394.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat