Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,fileNamePrefix="Modelica_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 181.9 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.277/1.277, allocations: 223.2 MB / 240.3 MB, free: 10.15 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.0008578/0.000858, allocations: 94.7 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002692/0.0002692, allocations: 4 kB / 351.2 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.206, allocations: 50.41 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1033/0.3094, allocations: 89.55 MB / 491.1 MB, free: 6.879 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.3097, allocations: 87.94 kB / 491.2 MB, free: 6.793 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03766/0.3473, allocations: 15.05 MB / 0.4944 GB, free: 7.668 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3474, allocations: 0 / 0.4944 GB, free: 7.668 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.208e-05/0.3474, allocations: 19.94 kB / 0.4944 GB, free: 7.648 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.001607/0.349, allocations: 1.007 MB / 0.4954 GB, free: 6.582 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3491, allocations: 8.031 kB / 0.4954 GB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001337/0.3492, allocations: 114.5 kB / 0.4955 GB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.3494, allocations: 90.97 kB / 0.4956 GB, free: 6.363 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007254/0.3501, allocations: 0.5179 MB / 0.4961 GB, free: 5.805 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.568e-05/0.3502, allocations: 54 kB / 0.4962 GB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.155e-05/0.3503, allocations: 75.98 kB / 0.4962 GB, free: 5.676 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.3515, allocations: 0.7715 MB / 0.497 GB, free: 4.875 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.3515, allocations: 4 kB / 0.497 GB, free: 4.871 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.366e-05/0.3516, allocations: 31.98 kB / 0.497 GB, free: 4.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.3516, allocations: 20 kB / 0.4971 GB, free: 4.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.3526, allocations: 0.5855 MB / 0.4976 GB, free: 4.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003609/0.3562, allocations: 2.783 MB / 0.5003 GB, free: 1.328 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008368/0.3571, allocations: 0.5613 MB / 0.5009 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.3571, allocations: 5.219 kB / 0.5009 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005424/0.3577, allocations: 369.8 kB / 0.5012 GB, free: 392 kB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 1.954e-06/0.3577, allocations: 4 kB / 0.5012 GB, free: 388 kB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.1794/0.5371, allocations: 1.019 MB / 0.5022 GB, free: 94.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.5372, allocations: 140.2 kB / 0.5024 GB, free: 94.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006993/0.5379, allocations: 469 kB / 0.5028 GB, free: 94.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.685e-05/0.538, allocations: 46.3 kB / 0.5029 GB, free: 94.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.5382, allocations: 337.8 kB / 0.5032 GB, free: 94.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.5384, allocations: 181.6 kB / 0.5034 GB, free: 94.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.5384, allocations: 14.94 kB / 0.5034 GB, free: 94.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5385, allocations: 370.4 kB / 0.5037 GB, free: 94.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004209/0.539, allocations: 221.2 kB / 0.5039 GB, free: 94.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004731/0.5394, allocations: 389.7 kB / 0.5043 GB, free: 93.85 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.5399, allocations: 237.9 kB / 0.5045 GB, free: 93.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.5399, allocations: 2.328 kB / 0.5045 GB, free: 93.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001214/0.5411, allocations: 0.7394 MB / 0.5053 GB, free: 93.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002562/0.5414, allocations: 1.577 MB / 0.5068 GB, free: 92.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.5414, allocations: 7.969 kB / 0.5068 GB, free: 92.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004815/0.5419, allocations: 149 kB / 0.507 GB, free: 92.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004344/0.5423, allocations: 103.2 kB / 0.5071 GB, free: 92.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002756/0.5451, allocations: 3.48 MB / 0.5105 GB, free: 89.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000526/0.5456, allocations: 93.31 kB / 0.5105 GB, free: 89.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.5457, allocations: 27.47 kB / 0.5106 GB, free: 89.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.5457, allocations: 6.594 kB / 0.5106 GB, free: 89.41 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009015/0.5466, allocations: 0.6287 MB / 0.5112 GB, free: 89.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.5466, allocations: 7.531 kB / 0.5112 GB, free: 89.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003232/0.5469, allocations: 151.5 kB / 0.5113 GB, free: 89.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/0.5473, allocations: 90.06 kB / 0.5114 GB, free: 89.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.5494, allocations: 3.489 MB / 0.5148 GB, free: 86.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003852/0.5498, allocations: 71.3 kB / 0.5149 GB, free: 86.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.5499, allocations: 28.69 kB / 0.5149 GB, free: 86.4 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 (70): * Single equations (assignments): 68 * 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.0003637/0.5503, allocations: 330.2 kB / 0.5152 GB, free: 86.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.087e-05/0.5503, allocations: 64.12 kB / 0.5153 GB, free: 86.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.5505, allocations: 70.7 kB / 0.5154 GB, free: 86.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.5505, allocations: 11.28 kB / 0.5154 GB, free: 86.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.5505, allocations: 0 / 0.5154 GB, free: 86.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.5506, allocations: 3.328 kB / 0.5154 GB, free: 86.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/0.5523, allocations: 1.463 MB / 0.5168 GB, free: 85.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5523, allocations: 0 / 0.5168 GB, free: 85.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.5526, allocations: 60.58 kB / 0.5169 GB, free: 85.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003162/0.5529, allocations: 134.5 kB / 0.517 GB, free: 85.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.538e-05/0.553, allocations: 14.7 kB / 0.517 GB, free: 85.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002276/0.5552, allocations: 3.318 MB / 0.5203 GB, free: 82.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5553, allocations: 0 / 0.5203 GB, free: 82.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.5566, allocations: 0.9841 MB / 0.5212 GB, free: 81.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002133/0.5568, allocations: 198.9 kB / 0.5214 GB, free: 81.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.287e-05/0.5569, allocations: 11.84 kB / 0.5214 GB, free: 81.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003385/0.5572, allocations: 50.48 kB / 0.5215 GB, free: 81.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.5574, allocations: 74.84 kB / 0.5215 GB, free: 81.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-05/0.5574, allocations: 18.86 kB / 0.5216 GB, free: 81.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003705/0.5578, allocations: 355.9 kB / 0.5219 GB, free: 81.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5578, allocations: 4 kB / 0.5219 GB, free: 81.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001083/0.5589, allocations: 358.9 kB / 0.5222 GB, free: 81.26 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 (46): * 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: 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.001441/0.5603, allocations: 1.553 MB / 0.5238 GB, free: 80.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001662/0.562, allocations: 1.427 MB / 0.5252 GB, free: 79.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.562, allocations: 0 / 0.5252 GB, free: 79.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005273/0.5626, allocations: 0.5462 MB / 0.5257 GB, free: 79.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.5631, allocations: 118.4 kB / 0.5258 GB, free: 78.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/0.566, allocations: 4.739 MB / 0.5304 GB, free: 74.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.5664, allocations: 0.9671 MB / 0.5314 GB, free: 74.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003676/0.5668, allocations: 103.8 kB / 0.5315 GB, free: 74.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000267/0.5671, allocations: 245.3 kB / 0.5317 GB, free: 74.05 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5671, allocations: 0 / 0.5317 GB, free: 74.05 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0285/0.5956, allocations: 15.73 MB / 0.5471 GB, free: 63.09 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/0.5958, allocations: 272.1 kB / 0.5473 GB, free: 62.72 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.368/2.964, allocations: 0 / 0.5473 GB, free: 62.72 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat