Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008786/0.0008787, allocations: 102.2 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002425/0.0002424, allocations: 8 kB / 351.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2275, allocations: 50.41 MB / 401.6 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.105/0.3326, allocations: 89.27 MB / 490.9 MB, free: 7.062 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.3329, allocations: 91.94 kB / 491 MB, free: 6.973 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03674/0.3697, allocations: 14.21 MB / 0.4933 GB, free: 8.695 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3697, allocations: 0 / 0.4933 GB, free: 8.695 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.492e-05/0.3698, allocations: 20 kB / 0.4933 GB, free: 8.676 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002139/0.3719, allocations: 0.9783 MB / 0.4943 GB, free: 7.641 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.372, allocations: 15.97 kB / 0.4943 GB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002136/0.3722, allocations: 106.5 kB / 0.4944 GB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001992/0.3724, allocations: 83.06 kB / 0.4945 GB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008885/0.3733, allocations: 0.4981 MB / 0.495 GB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.868e-05/0.3734, allocations: 49.31 kB / 0.495 GB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.3735, allocations: 68 kB / 0.4951 GB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.3748, allocations: 0.7129 MB / 0.4958 GB, free: 6.035 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.3749, allocations: 4 kB / 0.4958 GB, free: 6.031 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-05/0.3749, allocations: 28 kB / 0.4958 GB, free: 6.004 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.375, allocations: 20 kB / 0.4958 GB, free: 5.984 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.3761, allocations: 0.5555 MB / 0.4964 GB, free: 5.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00376/0.3799, allocations: 2.407 MB / 0.4987 GB, free: 2.906 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.3812, allocations: 0.6077 MB / 0.4993 GB, free: 2.293 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.3813, allocations: 4.438 kB / 0.4993 GB, free: 2.289 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006573/0.3819, allocations: 387.7 kB / 0.4997 GB, free: 1.891 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 2.284e-06/0.382, allocations: 0 / 0.4997 GB, free: 1.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=52): time 0.001954/0.3839, allocations: 0.899 MB / 0.5006 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.91e-05/0.384, allocations: 137 kB / 0.5007 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004697/0.3845, allocations: 409 kB / 0.5011 GB, free: 400 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/0.3846, allocations: 41.7 kB / 0.5011 GB, free: 352 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.3848, allocations: 320.3 kB / 0.5014 GB, free: 28 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1918/0.5766, allocations: 150.8 kB / 0.5016 GB, free: 95.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.5767, allocations: 11.53 kB / 0.5016 GB, free: 95.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002874/0.577, allocations: 368.1 kB / 0.5019 GB, free: 95.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009829/0.578, allocations: 214.9 kB / 0.5022 GB, free: 95.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.5791, allocations: 371.3 kB / 0.5025 GB, free: 95.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008073/0.5799, allocations: 229.9 kB / 0.5027 GB, free: 95.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/0.58, allocations: 2 kB / 0.5027 GB, free: 95.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002115/0.5821, allocations: 0.6732 MB / 0.5034 GB, free: 95.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004025/0.5825, allocations: 1.578 MB / 0.5049 GB, free: 93.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.5825, allocations: 4.125 kB / 0.5049 GB, free: 93.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00048/0.583, allocations: 84.02 kB / 0.505 GB, free: 93.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006418/0.5837, allocations: 107.4 kB / 0.5051 GB, free: 93.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/0.586, allocations: 1.79 MB / 0.5069 GB, free: 92.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008264/0.5869, allocations: 85.03 kB / 0.5069 GB, free: 92.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.894e-05/0.587, allocations: 21.3 kB / 0.507 GB, free: 92.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.587, allocations: 3.906 kB / 0.507 GB, free: 92.13 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001668/0.5887, allocations: 0.569 MB / 0.5075 GB, free: 92.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.5887, allocations: 15.92 kB / 0.5075 GB, free: 92.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003445/0.5891, allocations: 84.42 kB / 0.5076 GB, free: 92.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005315/0.5896, allocations: 94.77 kB / 0.5077 GB, free: 92.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/0.5919, allocations: 1.791 MB / 0.5095 GB, free: 90.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006718/0.5926, allocations: 78.3 kB / 0.5095 GB, free: 90.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.067e-05/0.5927, allocations: 20.06 kB / 0.5096 GB, free: 90.73 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: 25 ($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_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.000581/0.5933, allocations: 316.2 kB / 0.5099 GB, free: 90.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.5935, allocations: 59 kB / 0.5099 GB, free: 90.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.5937, allocations: 68.36 kB / 0.51 GB, free: 90.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.5937, allocations: 3.938 kB / 0.51 GB, free: 90.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.5937, allocations: 3.312 kB / 0.51 GB, free: 90.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.5938, allocations: 0 / 0.51 GB, free: 90.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002663/0.5964, allocations: 1.335 MB / 0.5113 GB, free: 90.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.5964, allocations: 2.125 kB / 0.5113 GB, free: 90.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004248/0.5969, allocations: 71 kB / 0.5114 GB, free: 90.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002863/0.5972, allocations: 74.56 kB / 0.5114 GB, free: 90.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.377e-05/0.5972, allocations: 17.12 kB / 0.5114 GB, free: 90.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/0.599, allocations: 1.801 MB / 0.5132 GB, free: 88.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5991, allocations: 0 / 0.5132 GB, free: 88.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001945/0.601, allocations: 0.9348 MB / 0.5141 GB, free: 88.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002849/0.6013, allocations: 177.1 kB / 0.5143 GB, free: 88.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.6014, allocations: 19.41 kB / 0.5143 GB, free: 88.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005249/0.602, allocations: 58.33 kB / 0.5144 GB, free: 88.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.6022, allocations: 56.53 kB / 0.5144 GB, free: 88.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/0.6022, allocations: 13.47 kB / 0.5144 GB, free: 88.03 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004518/0.6027, allocations: 315 kB / 0.5147 GB, free: 87.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6027, allocations: 0 / 0.5147 GB, free: 87.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001481/0.6042, allocations: 306.6 kB / 0.515 GB, free: 87.82 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: 18 (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_p.off,rectifier.thyristor_n.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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00208/0.6063, allocations: 1.52 MB / 0.5165 GB, free: 86.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001772/0.6081, allocations: 1.102 MB / 0.5176 GB, free: 86.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6081, allocations: 0 / 0.5176 GB, free: 86.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000542/0.6086, allocations: 419.1 kB / 0.518 GB, free: 86.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004863/0.6091, allocations: 89.12 kB / 0.5181 GB, free: 86.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.6121, allocations: 4.589 MB / 0.5225 GB, free: 82.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.6125, allocations: 0.948 MB / 0.5235 GB, free: 81.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003242/0.6128, allocations: 106 kB / 0.5236 GB, free: 81.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.6131, allocations: 224.2 kB / 0.5238 GB, free: 81.26 MB / 378.7 MB Notification: Performance of SimCode: time 5.991e-06/0.6131, allocations: 0 / 0.5238 GB, free: 81.26 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.6401, allocations: 12.88 MB / 0.5364 GB, free: 74.3 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/0.6403, allocations: 281.4 kB / 0.5366 GB, free: 73.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.291/2.931, allocations: 0 / 0.5366 GB, free: 73.95 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat