Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.531/1.531, allocations: 205.4 MB / 223.1 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000992/0.0009919, allocations: 94.59 kB / 271.5 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002746/0.0002746, allocations: 4 kB / 328.4 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2368, allocations: 47.58 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1025/0.3393, allocations: 88.63 MB / 464.6 MB, free: 8.008 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/0.3396, allocations: 91.94 kB / 464.7 MB, free: 7.918 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03595/0.3756, allocations: 14.44 MB / 479.1 MB, free: 9.402 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3756, allocations: 0 / 479.1 MB, free: 9.402 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.086e-05/0.3757, allocations: 20 kB / 479.1 MB, free: 9.383 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002067/0.3778, allocations: 1.014 MB / 480.1 MB, free: 8.312 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3778, allocations: 8.031 kB / 480.1 MB, free: 8.305 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002169/0.3781, allocations: 114.5 kB / 480.2 MB, free: 8.184 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.3783, allocations: 87.31 kB / 480.3 MB, free: 8.098 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008488/0.3791, allocations: 0.5102 MB / 480.8 MB, free: 7.543 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.685e-05/0.3792, allocations: 54 kB / 480.9 MB, free: 7.492 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.3793, allocations: 75.98 kB / 481 MB, free: 7.418 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.3806, allocations: 0.7576 MB / 481.7 MB, free: 6.629 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.3807, allocations: 3.984 kB / 481.7 MB, free: 6.625 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-05/0.3807, allocations: 28 kB / 481.8 MB, free: 6.598 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.3807, allocations: 16 kB / 481.8 MB, free: 6.582 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.3819, allocations: 0.5984 MB / 482.4 MB, free: 5.984 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003689/0.3856, allocations: 2.686 MB / 485.1 MB, free: 3.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.3869, allocations: 0.7059 MB / 485.8 MB, free: 2.465 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.92e-05/0.3869, allocations: 4.562 kB / 485.8 MB, free: 2.461 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000675/0.3876, allocations: 409.7 kB / 486.2 MB, free: 2.043 MB / 362.7 MB Notification: Performance of pre-optimization done (n=61): time 1.993e-06/0.3876, allocations: 4 kB / 486.2 MB, free: 2.039 MB / 362.7 MB Notification: Performance of matching and sorting (n=61): time 0.002325/0.39, allocations: 1.12 MB / 487.3 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.3901, allocations: 123.4 kB / 487.4 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004528/0.3905, allocations: 413.2 kB / 487.8 MB, free: 320 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.663e-05/0.3906, allocations: 45.7 kB / 487.9 MB, free: 268 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.3908, allocations: 320.3 kB / 488.2 MB, free: 15.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.391, allocations: 189.4 kB / 488.4 MB, free: 15.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.391, allocations: 16 kB / 488.4 MB, free: 15.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.3911, allocations: 370.7 kB / 488.7 MB, free: 15.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/0.3916, allocations: 229.9 kB / 489 MB, free: 15.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000516/0.3921, allocations: 395.5 kB / 489.3 MB, free: 14.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/0.3926, allocations: 242.1 kB / 489.6 MB, free: 14.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.3926, allocations: 0 / 489.6 MB, free: 14.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00125/0.3939, allocations: 0.7499 MB / 490.3 MB, free: 13.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005228/0.3944, allocations: 1.574 MB / 491.9 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.3944, allocations: 4 kB / 491.9 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004369/0.3949, allocations: 153.6 kB / 492.1 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003854/0.3953, allocations: 115.7 kB / 492.2 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003138/0.3984, allocations: 3.475 MB / 495.6 MB, free: 7.988 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004789/0.3989, allocations: 87.61 kB / 495.7 MB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.997e-05/0.399, allocations: 27.95 kB / 495.8 MB, free: 7.875 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/0.399, allocations: 0 / 495.8 MB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001119/0.4001, allocations: 0.6511 MB / 496.4 MB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.4001, allocations: 7.938 kB / 496.4 MB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004099/0.4005, allocations: 150.1 kB / 496.6 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/0.4009, allocations: 99.83 kB / 496.7 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002987/0.4039, allocations: 3.487 MB / 0.4884 GB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.4044, allocations: 75.62 kB / 0.4885 GB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/0.4044, allocations: 24 kB / 0.4885 GB, free: 3.102 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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 (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 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005182/0.405, allocations: 320.9 kB / 0.4888 GB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.4051, allocations: 59.25 kB / 0.4889 GB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.4053, allocations: 69.58 kB / 0.489 GB, free: 2.652 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.4053, allocations: 11.95 kB / 0.489 GB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4053, allocations: 0 / 0.489 GB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.4053, allocations: 3.984 kB / 0.489 GB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/0.4077, allocations: 1.468 MB / 0.4904 GB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.4077, allocations: 3.984 kB / 0.4904 GB, free: 1.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003232/0.408, allocations: 79.84 kB / 0.4905 GB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003721/0.4084, allocations: 137.6 kB / 0.4906 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.793e-05/0.4084, allocations: 8 kB / 0.4906 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1857/0.5941, allocations: 3.316 MB / 0.4939 GB, free: 102.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.5942, allocations: 0.5625 kB / 0.4939 GB, free: 102.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/0.5962, allocations: 1.044 MB / 0.4949 GB, free: 102.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/0.5965, allocations: 191.5 kB / 0.4951 GB, free: 102.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.759e-05/0.5966, allocations: 15.25 kB / 0.4951 GB, free: 102.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003736/0.5969, allocations: 50.59 kB / 0.4951 GB, free: 102.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.5971, allocations: 79.67 kB / 0.4952 GB, free: 102.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/0.5972, allocations: 19.36 kB / 0.4952 GB, free: 102.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003819/0.5976, allocations: 322.2 kB / 0.4955 GB, free: 102.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5976, allocations: 0 / 0.4955 GB, free: 102.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001215/0.5988, allocations: 355.2 kB / 0.4959 GB, free: 102.4 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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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 (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 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001846/0.6007, allocations: 1.624 MB / 0.4975 GB, free: 101.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002199/0.6029, allocations: 1.477 MB / 0.4989 GB, free: 101.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6029, allocations: 0 / 0.4989 GB, free: 101.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007188/0.6036, allocations: 0.5857 MB / 0.4995 GB, free: 101 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005224/0.6041, allocations: 98.27 kB / 0.4996 GB, free: 101 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/0.6076, allocations: 4.746 MB / 0.5042 GB, free: 97.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/0.6081, allocations: 0.9614 MB / 0.5051 GB, free: 96.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004172/0.6085, allocations: 91.48 kB / 0.5052 GB, free: 96.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.6088, allocations: 237.2 kB / 0.5054 GB, free: 96.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6088, allocations: 0 / 0.5054 GB, free: 96.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02902/0.6378, allocations: 15.59 MB / 0.5207 GB, free: 92.2 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002132/0.6381, allocations: 280.1 kB / 0.5209 GB, free: 91.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.24/2.878, allocations: 0 / 0.5209 GB, free: 91.84 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat