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_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_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.001481/0.001481, allocations: 181.3 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.31/1.31, allocations: 223.2 MB / 240.3 MB, free: 11.91 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.0008792/0.0008791, allocations: 95.66 kB / 291.5 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002349/0.000235, allocations: 4 kB / 351.2 MB, free: 15.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2196, allocations: 50.4 MB / 401.6 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09989/0.3195, allocations: 89.99 MB / 491.6 MB, free: 6.492 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.3199, allocations: 95.92 kB / 491.7 MB, free: 6.398 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03876/0.3586, allocations: 15.28 MB / 0.4951 GB, free: 7.031 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3587, allocations: 4 kB / 0.4951 GB, free: 7.027 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.889e-05/0.3588, allocations: 16 kB / 0.4951 GB, free: 7.012 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002609/0.3614, allocations: 1.022 MB / 0.4961 GB, free: 5.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.3614, allocations: 8.031 kB / 0.4961 GB, free: 5.922 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003047/0.3617, allocations: 118.5 kB / 0.4962 GB, free: 5.797 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002789/0.362, allocations: 98.86 kB / 0.4963 GB, free: 5.699 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.3631, allocations: 0.5144 MB / 0.4968 GB, free: 5.145 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.396e-05/0.3631, allocations: 61.95 kB / 0.4969 GB, free: 5.082 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.3633, allocations: 75.94 kB / 0.497 GB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.3648, allocations: 0.7989 MB / 0.4977 GB, free: 4.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/0.3649, allocations: 3.938 kB / 0.4977 GB, free: 4.176 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-05/0.3649, allocations: 28 kB / 0.4978 GB, free: 4.148 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.365, allocations: 16 kB / 0.4978 GB, free: 4.133 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.3663, allocations: 0.6246 MB / 0.4984 GB, free: 3.504 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004275/0.3706, allocations: 2.767 MB / 0.5011 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1855/0.5561, allocations: 0.7278 MB / 0.5018 GB, free: 94.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-05/0.5563, allocations: 7.359 kB / 0.5018 GB, free: 94.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001126/0.5574, allocations: 416.1 kB / 0.5022 GB, free: 94.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 3.016e-06/0.5574, allocations: 0.875 kB / 0.5022 GB, free: 94.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=63): time 0.002744/0.5602, allocations: 1.158 MB / 0.5033 GB, free: 94.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.5603, allocations: 140.2 kB / 0.5035 GB, free: 94.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005852/0.5608, allocations: 427.6 kB / 0.5039 GB, free: 94.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.116e-05/0.5609, allocations: 47.23 kB / 0.5039 GB, free: 94.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/0.5612, allocations: 335.2 kB / 0.5042 GB, free: 94.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.5613, allocations: 192.8 kB / 0.5044 GB, free: 93.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.5613, allocations: 11.75 kB / 0.5044 GB, free: 93.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.684e-05/0.5614, allocations: 376.5 kB / 0.5048 GB, free: 93.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004514/0.5619, allocations: 242.1 kB / 0.505 GB, free: 93.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006951/0.5626, allocations: 410.3 kB / 0.5054 GB, free: 93.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005168/0.5631, allocations: 257.2 kB / 0.5057 GB, free: 93.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.5631, allocations: 1.5 kB / 0.5057 GB, free: 93.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001507/0.5647, allocations: 0.7857 MB / 0.5064 GB, free: 93.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002816/0.565, allocations: 1.577 MB / 0.508 GB, free: 91.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.565, allocations: 3.562 kB / 0.508 GB, free: 91.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004732/0.5655, allocations: 150.9 kB / 0.5081 GB, free: 91.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003976/0.5659, allocations: 115 kB / 0.5082 GB, free: 91.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002463/0.5683, allocations: 3.475 MB / 0.5116 GB, free: 89.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/0.5688, allocations: 86.34 kB / 0.5117 GB, free: 89.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.5689, allocations: 26.06 kB / 0.5117 GB, free: 89.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.442e-06/0.5689, allocations: 3.844 kB / 0.5117 GB, free: 89.01 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001002/0.5699, allocations: 0.6718 MB / 0.5124 GB, free: 88.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5699, allocations: 3.219 kB / 0.5124 GB, free: 88.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003228/0.5702, allocations: 150.9 kB / 0.5125 GB, free: 88.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/0.5706, allocations: 107.5 kB / 0.5126 GB, free: 88.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/0.5729, allocations: 3.484 MB / 0.516 GB, free: 85.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005058/0.5735, allocations: 82.64 kB / 0.5161 GB, free: 85.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.969e-05/0.5735, allocations: 28.66 kB / 0.5161 GB, free: 85.74 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 (71): * Single equations (assignments): 69 * 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.0004435/0.574, allocations: 327.7 kB / 0.5165 GB, free: 85.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.5741, allocations: 60.72 kB / 0.5165 GB, free: 85.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001557/0.5743, allocations: 70.42 kB / 0.5166 GB, free: 85.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.5743, allocations: 7.031 kB / 0.5166 GB, free: 85.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.5743, allocations: 0 / 0.5166 GB, free: 85.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.5743, allocations: 7.516 kB / 0.5166 GB, free: 85.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002289/0.5766, allocations: 1.528 MB / 0.5181 GB, free: 84.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.5766, allocations: 1.641 kB / 0.5181 GB, free: 84.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003347/0.577, allocations: 78.14 kB / 0.5182 GB, free: 84.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003373/0.5773, allocations: 143.7 kB / 0.5183 GB, free: 84.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/0.5774, allocations: 10.81 kB / 0.5183 GB, free: 84.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002237/0.5796, allocations: 3.329 MB / 0.5216 GB, free: 81.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5796, allocations: 0 / 0.5216 GB, free: 81.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.5812, allocations: 1.088 MB / 0.5226 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002472/0.5814, allocations: 196.5 kB / 0.5228 GB, free: 80.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-05/0.5815, allocations: 11.78 kB / 0.5228 GB, free: 80.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/0.5819, allocations: 58.89 kB / 0.5229 GB, free: 80.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.5821, allocations: 76.84 kB / 0.523 GB, free: 80.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/0.5821, allocations: 18.95 kB / 0.523 GB, free: 80.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003259/0.5825, allocations: 333.9 kB / 0.5233 GB, free: 80.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5825, allocations: 0 / 0.5233 GB, free: 80.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001087/0.5836, allocations: 361.6 kB / 0.5236 GB, free: 80.57 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 (49): * Single equations (assignments): 42 * 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.001742/0.5853, allocations: 1.684 MB / 0.5253 GB, free: 79.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002004/0.5873, allocations: 1.506 MB / 0.5268 GB, free: 78.65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.5874, allocations: 1.484 kB / 0.5268 GB, free: 78.65 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006806/0.588, allocations: 0.5916 MB / 0.5273 GB, free: 78.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/0.5886, allocations: 104.2 kB / 0.5274 GB, free: 78.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003701/0.5923, allocations: 4.804 MB / 0.5321 GB, free: 74.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/0.5928, allocations: 0.9857 MB / 0.5331 GB, free: 73.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003936/0.5932, allocations: 98.77 kB / 0.5332 GB, free: 73.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/0.5935, allocations: 248.9 kB / 0.5334 GB, free: 73.28 MB / 378.7 MB Notification: Performance of SimCode: time 6.652e-06/0.5935, allocations: 0 / 0.5334 GB, free: 73.28 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02856/0.6221, allocations: 15.97 MB / 0.549 GB, free: 61.05 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/0.6223, allocations: 279.9 kB / 0.5493 GB, free: 60.69 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.443/3.065, allocations: 4 kB / 0.5493 GB, free: 60.69 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat