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.001041/0.001041, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.384/1.384, allocations: 221.3 MB / 235.5 MB, free: 2.895 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009108/0.0009107, allocations: 102.8 kB / 286.5 MB, free: 164 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.536e-05/2.544e-05, allocations: 4 kB / 343.9 MB, free: 4.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09612/0.09616, allocations: 50.42 MB / 394.4 MB, free: 1.719 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3027/0.3989, allocations: 89.2 MB / 483.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.3992, allocations: 87.92 kB / 483.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03688/0.4361, allocations: 14.19 MB / 497.8 MB, free: 15.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4361, allocations: 0 / 497.8 MB, free: 15.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.041e-05/0.4362, allocations: 23.94 kB / 497.9 MB, free: 15.84 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.001569/0.4377, allocations: 0.9003 MB / 498.8 MB, free: 14.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.4378, allocations: 12.03 kB / 498.8 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001218/0.4379, allocations: 102.5 kB / 498.9 MB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.4381, allocations: 90.97 kB / 499 MB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007218/0.4388, allocations: 494.2 kB / 499.4 MB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.512e-05/0.4389, allocations: 53.31 kB / 499.5 MB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.063e-05/0.439, allocations: 67.98 kB / 499.6 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.44, allocations: 0.6623 MB / 0.4885 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.4401, allocations: 7.906 kB / 0.4885 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.066e-05/0.4401, allocations: 24 kB / 0.4885 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.4402, allocations: 16 kB / 0.4886 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008026/0.441, allocations: 481.1 kB / 0.489 GB, free: 12.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003399/0.4444, allocations: 2.403 MB / 0.4914 GB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.4454, allocations: 0.5417 MB / 0.4919 GB, free: 9.762 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000482/0.4459, allocations: 270.1 kB / 0.4921 GB, free: 9.496 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/0.446, allocations: 8.438 kB / 0.4922 GB, free: 9.488 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005127/0.4465, allocations: 333.4 kB / 0.4925 GB, free: 9.141 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 2.575e-06/0.4465, allocations: 4 kB / 0.4925 GB, free: 9.137 MB / 378.7 MB Notification: Performance of matching and sorting (n=52): time 0.0008062/0.4473, allocations: 476.3 kB / 0.4929 GB, free: 8.664 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.4474, allocations: 174.6 kB / 0.4931 GB, free: 8.457 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004593/0.4479, allocations: 399 kB / 0.4935 GB, free: 8.059 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.031e-05/0.4479, allocations: 49.64 kB / 0.4935 GB, free: 8.004 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.4482, allocations: 316.3 kB / 0.4938 GB, free: 7.691 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.4483, allocations: 161.7 kB / 0.494 GB, free: 7.531 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.4483, allocations: 12 kB / 0.494 GB, free: 7.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.4485, allocations: 370.8 kB / 0.4943 GB, free: 7.148 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.4487, allocations: 169.5 kB / 0.4945 GB, free: 6.984 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/0.4492, allocations: 334.7 kB / 0.4948 GB, free: 6.586 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.4495, allocations: 185.5 kB / 0.495 GB, free: 6.406 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.4495, allocations: 4 kB / 0.495 GB, free: 6.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.000869/0.4503, allocations: 0.5784 MB / 0.4956 GB, free: 5.812 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005782/0.4509, allocations: 1.657 MB / 0.4972 GB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.4509, allocations: 4 kB / 0.4972 GB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002726/0.4512, allocations: 84.75 kB / 0.4973 GB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/0.4516, allocations: 107.8 kB / 0.4974 GB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/0.4533, allocations: 1.733 MB / 0.4991 GB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004367/0.4538, allocations: 91.55 kB / 0.4992 GB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.4538, allocations: 20 kB / 0.4992 GB, free: 1.848 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.524e-06/0.4538, allocations: 4 kB / 0.4992 GB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007801/0.4546, allocations: 0.5066 MB / 0.4997 GB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4546, allocations: 4 kB / 0.4997 GB, free: 1.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/0.4549, allocations: 85 kB / 0.4998 GB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/0.4552, allocations: 104.4 kB / 0.4999 GB, free: 1.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/0.4568, allocations: 1.733 MB / 0.5016 GB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004174/0.4572, allocations: 75.53 kB / 0.5016 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.4573, allocations: 24.06 kB / 0.5016 GB, free: 15.18 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * 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: 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.000191/0.4575, allocations: 152 kB / 0.5018 GB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.993e-05/0.4576, allocations: 59.25 kB / 0.5018 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001645/0.4577, allocations: 73.23 kB / 0.5019 GB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4578, allocations: 4 kB / 0.5019 GB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4578, allocations: 0 / 0.5019 GB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.4578, allocations: 0 / 0.5019 GB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.4597, allocations: 1.358 MB / 0.5032 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4597, allocations: 0 / 0.5032 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000338/0.46, allocations: 71.92 kB / 0.5033 GB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002156/0.4603, allocations: 84.73 kB / 0.5034 GB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.4603, allocations: 8 kB / 0.5034 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/0.4619, allocations: 1.641 MB / 0.505 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/0.4619, allocations: 3.984 kB / 0.505 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.4631, allocations: 0.8342 MB / 0.5058 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/0.4633, allocations: 180.3 kB / 0.506 GB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.191e-05/0.4634, allocations: 12 kB / 0.506 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003796/0.4638, allocations: 51.95 kB / 0.5061 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.464, allocations: 64.34 kB / 0.5061 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.464, allocations: 15.98 kB / 0.5061 GB, free: 10.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003547/0.4644, allocations: 305.2 kB / 0.5064 GB, free: 10.03 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4644, allocations: 0 / 0.5064 GB, free: 10.03 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009542/0.4653, allocations: 307 kB / 0.5067 GB, free: 9.73 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: 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * 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: 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001546/0.4669, allocations: 1.485 MB / 0.5082 GB, free: 8.203 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001553/0.4684, allocations: 0.9918 MB / 0.5091 GB, free: 7.188 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4685, allocations: 0 / 0.5091 GB, free: 7.188 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004786/0.4689, allocations: 370.3 kB / 0.5095 GB, free: 6.816 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000515/0.4695, allocations: 88.27 kB / 0.5096 GB, free: 6.734 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.4722, allocations: 1.075 MB / 0.5106 GB, free: 5.613 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/0.4727, allocations: 0.9426 MB / 0.5115 GB, free: 4.645 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004612/0.4731, allocations: 124.5 kB / 0.5117 GB, free: 4.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/0.4734, allocations: 223.4 kB / 0.5119 GB, free: 4.301 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.4734, allocations: 4 kB / 0.5119 GB, free: 4.297 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.5013, allocations: 13.6 MB / 0.5252 GB, free: 7.004 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/0.5016, allocations: 257.5 kB / 0.5254 GB, free: 6.672 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/2.916, allocations: 3.938 kB / 0.5254 GB, free: 6.668 MB / 410.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