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_R.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_R,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R",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.001103/0.001103, allocations: 180.2 kB / 16.39 MB, free: 5.766 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.272/1.272, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.001032/0.001032, allocations: 101.3 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002794/0.0002793, allocations: 8 kB / 351.2 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2164, allocations: 50.39 MB / 401.6 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1041/0.3205, allocations: 88.45 MB / 490 MB, free: 7.996 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.3208, allocations: 87.94 kB / 490.1 MB, free: 7.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0352/0.3561, allocations: 13.44 MB / 0.4918 GB, free: 10.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3561, allocations: 0 / 0.4918 GB, free: 10.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.811e-05/0.3562, allocations: 12 kB / 0.4918 GB, free: 10.39 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001549/0.3577, allocations: 0.9145 MB / 0.4927 GB, free: 9.414 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3578, allocations: 8.031 kB / 0.4927 GB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001345/0.3579, allocations: 102.5 kB / 0.4928 GB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.358, allocations: 75.16 kB / 0.4928 GB, free: 9.223 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007058/0.3587, allocations: 482 kB / 0.4933 GB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/0.3588, allocations: 53.2 kB / 0.4934 GB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.913e-05/0.3589, allocations: 63.91 kB / 0.4934 GB, free: 8.594 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.36, allocations: 0.6621 MB / 0.4941 GB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.36, allocations: 0 / 0.4941 GB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.595e-05/0.3601, allocations: 24 kB / 0.4941 GB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.3601, allocations: 20 kB / 0.4941 GB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000915/0.361, allocations: 0.4969 MB / 0.4946 GB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003403/0.3644, allocations: 2.299 MB / 0.4968 GB, free: 4.965 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007193/0.3652, allocations: 433.4 kB / 0.4973 GB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.3652, allocations: 4.688 kB / 0.4973 GB, free: 4.531 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005318/0.3657, allocations: 319.9 kB / 0.4976 GB, free: 4.199 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 2.434e-06/0.3658, allocations: 0 / 0.4976 GB, free: 4.199 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.00165/0.3674, allocations: 0.7653 MB / 0.4983 GB, free: 3.406 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.334e-05/0.3675, allocations: 144.5 kB / 0.4984 GB, free: 3.234 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005266/0.368, allocations: 432.9 kB / 0.4989 GB, free: 2.809 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/0.3681, allocations: 37.7 kB / 0.4989 GB, free: 2.766 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.3683, allocations: 312.3 kB / 0.4992 GB, free: 2.453 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.3685, allocations: 142.1 kB / 0.4993 GB, free: 2.312 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.3685, allocations: 8 kB / 0.4993 GB, free: 2.305 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3687, allocations: 362.8 kB / 0.4997 GB, free: 1.941 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/0.369, allocations: 185 kB / 0.4999 GB, free: 1.758 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/0.3695, allocations: 344 kB / 0.5002 GB, free: 1.363 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.3698, allocations: 204 kB / 0.5004 GB, free: 1.164 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.3699, allocations: 0 / 0.5004 GB, free: 1.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001047/0.3709, allocations: 0.6143 MB / 0.501 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.1664/0.5374, allocations: 1.565 MB / 0.5025 GB, free: 94.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.221e-05/0.5374, allocations: 3.938 kB / 0.5025 GB, free: 94.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000449/0.5379, allocations: 90.97 kB / 0.5026 GB, free: 94.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/0.5383, allocations: 87.02 kB / 0.5027 GB, free: 94.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.5404, allocations: 1.852 MB / 0.5045 GB, free: 93.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005611/0.5409, allocations: 90.45 kB / 0.5046 GB, free: 93.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-05/0.541, allocations: 23.86 kB / 0.5046 GB, free: 93.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.541, allocations: 6.375 kB / 0.5046 GB, free: 93.35 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008937/0.5419, allocations: 0.5082 MB / 0.5051 GB, free: 93.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.5419, allocations: 4.531 kB / 0.5051 GB, free: 93.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002602/0.5422, allocations: 86.78 kB / 0.5052 GB, free: 93.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/0.5425, allocations: 83.91 kB / 0.5053 GB, free: 93.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.5441, allocations: 1.848 MB / 0.5071 GB, free: 92.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004824/0.5446, allocations: 71.27 kB / 0.5071 GB, free: 92.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.5446, allocations: 23.97 kB / 0.5072 GB, free: 92.01 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 (58): * Single equations (assignments): 57 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004235/0.5451, allocations: 310.6 kB / 0.5075 GB, free: 91.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.5452, allocations: 51.94 kB / 0.5075 GB, free: 91.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.5453, allocations: 60.58 kB / 0.5076 GB, free: 91.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.5453, allocations: 5.438 kB / 0.5076 GB, free: 91.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.5453, allocations: 0.5 kB / 0.5076 GB, free: 91.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.5453, allocations: 2.5 kB / 0.5076 GB, free: 91.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/0.5472, allocations: 1.219 MB / 0.5088 GB, free: 91.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5472, allocations: 0 / 0.5088 GB, free: 91.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.5474, allocations: 42.94 kB / 0.5088 GB, free: 91.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002522/0.5477, allocations: 78.77 kB / 0.5089 GB, free: 91.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.5477, allocations: 13.78 kB / 0.5089 GB, free: 91.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/0.5492, allocations: 1.77 MB / 0.5106 GB, free: 90.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5492, allocations: 0 / 0.5106 GB, free: 90.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.5503, allocations: 0.7871 MB / 0.5114 GB, free: 90.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.5505, allocations: 169 kB / 0.5116 GB, free: 89.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.591e-05/0.5505, allocations: 11.38 kB / 0.5116 GB, free: 89.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003237/0.5509, allocations: 51.88 kB / 0.5116 GB, free: 89.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.551, allocations: 52.73 kB / 0.5117 GB, free: 89.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.551, allocations: 9.75 kB / 0.5117 GB, free: 89.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003461/0.5514, allocations: 333.8 kB / 0.512 GB, free: 89.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5514, allocations: 2.781 kB / 0.512 GB, free: 89.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009455/0.5523, allocations: 293.2 kB / 0.5123 GB, free: 89.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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 (37): * Single equations (assignments): 31 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.001242/0.5536, allocations: 1.367 MB / 0.5136 GB, free: 88.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.555, allocations: 1.025 MB / 0.5146 GB, free: 88.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.555, allocations: 0 / 0.5146 GB, free: 88.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004236/0.5555, allocations: 367.4 kB / 0.515 GB, free: 88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004824/0.556, allocations: 91.94 kB / 0.5151 GB, free: 87.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.5586, allocations: 4.346 MB / 0.5193 GB, free: 84.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.5589, allocations: 0.9234 MB / 0.5202 GB, free: 83.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003213/0.5592, allocations: 97.75 kB / 0.5203 GB, free: 83.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.5595, allocations: 212.6 kB / 0.5205 GB, free: 83.29 MB / 378.7 MB Notification: Performance of SimCode: time 7.82e-07/0.5595, allocations: 0 / 0.5205 GB, free: 83.29 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.5831, allocations: 12.44 MB / 0.5326 GB, free: 77.73 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/0.5833, allocations: 271.7 kB / 0.5329 GB, free: 77.37 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.225/2.809, allocations: 0 / 0.5329 GB, free: 77.37 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.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_R_res.mat does not exist to compare? outputFormat=mat