Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001202/0.001202, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009059/0.0009059, allocations: 99.8 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.938e-05/1.929e-05, allocations: 4 kB / 343.8 MB, free: 8.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.107, allocations: 51.5 MB / 395.3 MB, free: 4.652 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3679/0.4749, allocations: 90.07 MB / 485.4 MB, free: 2.867 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.4752, allocations: 83.2 kB / 485.4 MB, free: 2.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03869/0.5139, allocations: 15.26 MB / 0.489 GB, free: 6.219 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.5139, allocations: 0 / 0.489 GB, free: 6.219 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.91e-05/0.514, allocations: 16 kB / 0.489 GB, free: 6.203 MB / 362.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.001684/0.5157, allocations: 0.9517 MB / 0.4899 GB, free: 5.254 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.5157, allocations: 8.031 kB / 0.4899 GB, free: 5.246 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000268/0.516, allocations: 103.8 kB / 0.49 GB, free: 5.145 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008359/0.5168, allocations: 0.5219 MB / 0.4905 GB, free: 4.676 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.599e-05/0.5169, allocations: 28 kB / 0.4906 GB, free: 4.648 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.933e-05/0.517, allocations: 47.25 kB / 0.4906 GB, free: 4.605 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009467/0.518, allocations: 0.4947 MB / 0.4911 GB, free: 4.305 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.5191, allocations: 0.6557 MB / 0.4917 GB, free: 3.801 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/0.5192, allocations: 17.7 kB / 0.4917 GB, free: 3.789 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.068e-05/0.5192, allocations: 3.984 kB / 0.4917 GB, free: 3.785 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.5193, allocations: 20 kB / 0.4918 GB, free: 3.766 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003944/0.5232, allocations: 2.627 MB / 0.4943 GB, free: 1.598 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.5244, allocations: 0.6385 MB / 0.495 GB, free: 1.188 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006749/0.5251, allocations: 386.7 kB / 0.4953 GB, free: 0.918 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.024e-05/0.5251, allocations: 12.5 kB / 0.4953 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005972/0.5257, allocations: 358.4 kB / 0.4957 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 1.964e-06/0.5257, allocations: 0 / 0.4957 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of matching and sorting (n=63): time 0.0009635/0.5267, allocations: 0.5461 MB / 0.4962 GB, free: 232 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.867e-05/0.5268, allocations: 156.1 kB / 0.4964 GB, free: 48 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004729/0.5273, allocations: 369.5 kB / 0.4967 GB, free: 15.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.429e-05/0.5274, allocations: 29.7 kB / 0.4967 GB, free: 15.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000254/0.5276, allocations: 346.3 kB / 0.4971 GB, free: 15.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.5278, allocations: 180.3 kB / 0.4972 GB, free: 15.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.5278, allocations: 3.875 kB / 0.4972 GB, free: 15.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.528, allocations: 365.8 kB / 0.4976 GB, free: 14.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.5283, allocations: 194.1 kB / 0.4978 GB, free: 14.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004206/0.5287, allocations: 361 kB / 0.4981 GB, free: 14.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003162/0.5291, allocations: 206.5 kB / 0.4983 GB, free: 14.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.5291, allocations: 4 kB / 0.4983 GB, free: 14.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001124/0.5302, allocations: 0.6557 MB / 0.499 GB, free: 13.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006957/0.5309, allocations: 1.575 MB / 0.5005 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.5309, allocations: 4 kB / 0.5005 GB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004611/0.5314, allocations: 156.3 kB / 0.5007 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004423/0.5318, allocations: 115.2 kB / 0.5008 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003541/0.5354, allocations: 3.496 MB / 0.5042 GB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000562/0.536, allocations: 67.62 kB / 0.5042 GB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.472e-05/0.536, allocations: 24 kB / 0.5043 GB, free: 8.441 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.5361, allocations: 4 kB / 0.5043 GB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009744/0.537, allocations: 0.5731 MB / 0.5048 GB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.5371, allocations: 4 kB / 0.5048 GB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003985/0.5375, allocations: 155.9 kB / 0.505 GB, free: 7.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/0.5379, allocations: 103.8 kB / 0.5051 GB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003473/0.5413, allocations: 3.506 MB / 0.5085 GB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005186/0.5419, allocations: 63.61 kB / 0.5086 GB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.407e-05/0.5419, allocations: 28 kB / 0.5086 GB, free: 3.77 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 () * 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.0002507/0.5422, allocations: 142 kB / 0.5087 GB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009672/0.5432, allocations: 0.5471 MB / 0.5093 GB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.344e-05/0.5433, allocations: 63.25 kB / 0.5093 GB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.5435, allocations: 65.78 kB / 0.5094 GB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.5435, allocations: 4 kB / 0.5094 GB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.5435, allocations: 4 kB / 0.5094 GB, free: 2.934 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.5435, allocations: 7.938 kB / 0.5094 GB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/0.5456, allocations: 1.336 MB / 0.5107 GB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.5456, allocations: 0 / 0.5107 GB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003751/0.546, allocations: 79.88 kB / 0.5108 GB, free: 1.461 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003936/0.5464, allocations: 145.6 kB / 0.5109 GB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.832e-05/0.5465, allocations: 8 kB / 0.5109 GB, free: 1.305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003542/0.55, allocations: 3.386 MB / 0.5142 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.5501, allocations: 4 kB / 0.5142 GB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/0.5515, allocations: 0.9453 MB / 0.5152 GB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002876/0.5518, allocations: 192.2 kB / 0.5153 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.938e-05/0.5519, allocations: 16.02 kB / 0.5154 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.5523, allocations: 43.89 kB / 0.5154 GB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/0.5525, allocations: 80.44 kB / 0.5155 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/0.5526, allocations: 23.98 kB / 0.5155 GB, free: 12.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003887/0.553, allocations: 275 kB / 0.5158 GB, free: 12.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.553, allocations: 0 / 0.5158 GB, free: 12.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001411/0.5544, allocations: 330.9 kB / 0.5161 GB, free: 11.76 MB / 394.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) * 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.001846/0.5563, allocations: 1.52 MB / 0.5176 GB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00216/0.5584, allocations: 1.355 MB / 0.5189 GB, free: 8.816 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5585, allocations: 0.75 kB / 0.5189 GB, free: 8.816 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006964/0.5592, allocations: 0.5334 MB / 0.5194 GB, free: 8.266 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006397/0.5598, allocations: 94.56 kB / 0.5195 GB, free: 8.172 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.5628, allocations: 1.157 MB / 0.5206 GB, free: 6.977 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007419/0.5635, allocations: 0.9827 MB / 0.5216 GB, free: 5.965 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004962/0.564, allocations: 124.7 kB / 0.5217 GB, free: 5.844 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003357/0.5644, allocations: 243.4 kB / 0.5219 GB, free: 5.605 MB / 394.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5644, allocations: 0 / 0.5219 GB, free: 5.605 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04278/0.6072, allocations: 15.49 MB / 0.5371 GB, free: 6.336 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002396/0.6075, allocations: 220.9 kB / 0.5373 GB, free: 6.047 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.448/3.056, allocations: 0 / 0.5373 GB, free: 6.047 MB / 410.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat