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.001122/0.001122, allocations: 175.6 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.398/1.398, allocations: 221.3 MB / 235.5 MB, free: 2.934 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.0008915/0.0008917, allocations: 93.84 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.456e-05/5.481e-05, allocations: 4 kB / 343.9 MB, free: 4.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1172, allocations: 50.41 MB / 394.4 MB, free: 1.746 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3963/0.5136, allocations: 89.92 MB / 484.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.5139, allocations: 87.94 kB / 484.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04166/0.5556, allocations: 15.27 MB / 499.6 MB, free: 14.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5556, allocations: 0 / 499.6 MB, free: 14.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.273e-05/0.5557, allocations: 16 kB / 499.7 MB, free: 14.07 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.002505/0.5583, allocations: 0.9445 MB / 0.4889 GB, free: 13.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.5583, allocations: 12.03 kB / 0.4889 GB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003187/0.5586, allocations: 114.5 kB / 0.489 GB, free: 12.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002856/0.5589, allocations: 94.88 kB / 0.4891 GB, free: 12.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.56, allocations: 0.5183 MB / 0.4896 GB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.082e-05/0.5601, allocations: 65.94 kB / 0.4896 GB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.5602, allocations: 72 kB / 0.4897 GB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.5616, allocations: 0.7521 MB / 0.4904 GB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.5617, allocations: 0 / 0.4904 GB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-05/0.5618, allocations: 32 kB / 0.4905 GB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.5618, allocations: 16 kB / 0.4905 GB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.5628, allocations: 0.5388 MB / 0.491 GB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004359/0.5672, allocations: 2.771 MB / 0.4937 GB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.5685, allocations: 0.6656 MB / 0.4944 GB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008544/0.5693, allocations: 447.1 kB / 0.4948 GB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.806e-05/0.5694, allocations: 8.562 kB / 0.4948 GB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006343/0.57, allocations: 385.8 kB / 0.4952 GB, free: 6.375 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 2.905e-06/0.5701, allocations: 0 / 0.4952 GB, free: 6.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=63): time 0.001147/0.5712, allocations: 0.5859 MB / 0.4957 GB, free: 5.777 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.485e-05/0.5713, allocations: 145.1 kB / 0.4959 GB, free: 5.605 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006737/0.572, allocations: 415.9 kB / 0.4963 GB, free: 5.191 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.033e-05/0.5721, allocations: 45.7 kB / 0.4963 GB, free: 5.141 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003284/0.5724, allocations: 344.2 kB / 0.4967 GB, free: 4.801 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.5727, allocations: 193.3 kB / 0.4968 GB, free: 4.609 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.5727, allocations: 12 kB / 0.4969 GB, free: 4.598 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.5729, allocations: 374.7 kB / 0.4972 GB, free: 4.223 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003671/0.5733, allocations: 201.5 kB / 0.4974 GB, free: 4.027 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005128/0.5738, allocations: 374 kB / 0.4978 GB, free: 3.594 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004523/0.5743, allocations: 223.2 kB / 0.498 GB, free: 3.375 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.5743, allocations: 0 / 0.498 GB, free: 3.375 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001368/0.5757, allocations: 0.7267 MB / 0.4987 GB, free: 2.633 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008254/0.5765, allocations: 1.582 MB / 0.5002 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.5765, allocations: 4 kB / 0.5002 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005241/0.5771, allocations: 157.6 kB / 0.5004 GB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004683/0.5775, allocations: 107.8 kB / 0.5005 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004162/0.5817, allocations: 3.598 MB / 0.504 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006407/0.5824, allocations: 87.55 kB / 0.5041 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.749e-05/0.5825, allocations: 28.05 kB / 0.5041 GB, free: 12.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.5825, allocations: 4 kB / 0.5041 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001137/0.5836, allocations: 0.6514 MB / 0.5047 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.5837, allocations: 4 kB / 0.5048 GB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004272/0.5841, allocations: 161.8 kB / 0.5049 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/0.5845, allocations: 107.8 kB / 0.505 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003711/0.5882, allocations: 3.592 MB / 0.5085 GB, free: 7.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006376/0.5889, allocations: 79.58 kB / 0.5086 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.194e-05/0.589, allocations: 28 kB / 0.5086 GB, free: 7.777 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * 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 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002705/0.5893, allocations: 164.7 kB / 0.5088 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.5895, allocations: 55.34 kB / 0.5088 GB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.5897, allocations: 69.64 kB / 0.5089 GB, free: 7.484 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.5897, allocations: 11.98 kB / 0.5089 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.5897, allocations: 4 kB / 0.5089 GB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.5897, allocations: 0 / 0.5089 GB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002562/0.5923, allocations: 1.489 MB / 0.5104 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5923, allocations: 0 / 0.5104 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000367/0.5927, allocations: 79.91 kB / 0.5104 GB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004217/0.5931, allocations: 157.6 kB / 0.5106 GB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.247e-05/0.5932, allocations: 20.02 kB / 0.5106 GB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003601/0.5968, allocations: 3.515 MB / 0.514 GB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5968, allocations: 0 / 0.514 GB, free: 1.871 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.5985, allocations: 1.007 MB / 0.515 GB, free: 0.832 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003523/0.5989, allocations: 196.4 kB / 0.5152 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.599, allocations: 19.98 kB / 0.5152 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/0.5995, allocations: 51.95 kB / 0.5153 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/0.5997, allocations: 80.39 kB / 0.5154 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/0.5997, allocations: 23.98 kB / 0.5154 GB, free: 460 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004586/0.6002, allocations: 321.6 kB / 0.5157 GB, free: 140 kB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6002, allocations: 0 / 0.5157 GB, free: 140 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.001398/0.6016, allocations: 367 kB / 0.516 GB, free: 15.77 MB / 410.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: 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 40 * 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 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001922/0.6035, allocations: 1.675 MB / 0.5177 GB, free: 14.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002271/0.6058, allocations: 1.442 MB / 0.5191 GB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.6059, allocations: 4 kB / 0.5191 GB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007882/0.6067, allocations: 0.5703 MB / 0.5196 GB, free: 11.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006531/0.6073, allocations: 110.7 kB / 0.5197 GB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.6102, allocations: 1.213 MB / 0.5209 GB, free: 10.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006171/0.6108, allocations: 0.9788 MB / 0.5219 GB, free: 9.598 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004995/0.6114, allocations: 124.9 kB / 0.522 GB, free: 9.477 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/0.6117, allocations: 243.3 kB / 0.5222 GB, free: 9.238 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.6117, allocations: 4 kB / 0.5222 GB, free: 9.234 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04047/0.6522, allocations: 17.04 MB / 0.5389 GB, free: 8.539 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002665/0.6525, allocations: 250.3 kB / 0.5391 GB, free: 8.207 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.439/3.091, allocations: 0 / 0.5391 GB, free: 8.207 MB / 426.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