Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001565/0.001564, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.032/2.032, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001081/0.001081, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.981e-05/3.998e-05, allocations: 7.984 kB / 321.6 MB, free: 17.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1001, allocations: 47.57 MB / 369.2 MB, free: 2.082 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4667/0.5669, allocations: 88.53 MB / 457.7 MB, free: 4.711 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003403/0.5673, allocations: 90.19 kB / 457.8 MB, free: 4.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06189/0.6293, allocations: 14.44 MB / 472.3 MB, free: 7.973 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6293, allocations: 0 / 472.3 MB, free: 7.973 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.671e-05/0.6294, allocations: 19.94 kB / 472.3 MB, free: 7.953 MB / 346.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.002558/0.632, allocations: 0.9206 MB / 473.2 MB, free: 6.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.632, allocations: 8.031 kB / 473.2 MB, free: 6.973 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000212/0.6322, allocations: 114.5 kB / 473.3 MB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000224/0.6325, allocations: 91.3 kB / 473.4 MB, free: 6.762 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.6337, allocations: 0.5101 MB / 473.9 MB, free: 6.207 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.927e-05/0.6338, allocations: 65.94 kB / 474 MB, free: 6.145 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.634, allocations: 68 kB / 474.1 MB, free: 6.078 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/0.6359, allocations: 0.711 MB / 474.8 MB, free: 5.336 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.636, allocations: 4 kB / 474.8 MB, free: 5.332 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.6361, allocations: 35.92 kB / 474.8 MB, free: 5.297 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.6361, allocations: 20 kB / 474.8 MB, free: 5.277 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00154/0.6377, allocations: 0.505 MB / 475.3 MB, free: 4.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006221/0.6439, allocations: 2.694 MB / 478 MB, free: 1.957 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002027/0.646, allocations: 0.6361 MB / 478.7 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/0.6474, allocations: 434.2 kB / 479.1 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.284e-05/0.6475, allocations: 12.56 kB / 479.1 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009459/0.6485, allocations: 361.8 kB / 479.4 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of pre-optimization done (n=61): time 3.697e-06/0.6485, allocations: 0 / 479.4 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.001743/0.6503, allocations: 0.5743 MB / 480 MB, free: 15.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.217e-05/0.6504, allocations: 119.2 kB / 480.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008054/0.6512, allocations: 407.9 kB / 480.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.515e-05/0.6513, allocations: 49.69 kB / 480.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003373/0.6516, allocations: 362.6 kB / 480.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.6519, allocations: 189.3 kB / 481.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.652, allocations: 12 kB / 481.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.6521, allocations: 342.8 kB / 481.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006179/0.6528, allocations: 193.5 kB / 481.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007468/0.6535, allocations: 349.5 kB / 482 MB, free: 13.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000604/0.6541, allocations: 207.2 kB / 482.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.6542, allocations: 0 / 482.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001927/0.6561, allocations: 0.6719 MB / 482.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007774/0.6569, allocations: 1.57 MB / 484.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.6569, allocations: 4 kB / 484.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008262/0.6578, allocations: 161.6 kB / 484.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008351/0.6586, allocations: 111.8 kB / 484.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005666/0.6643, allocations: 3.595 MB / 488.3 MB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.6654, allocations: 87.55 kB / 488.4 MB, free: 7.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.454e-05/0.6655, allocations: 24 kB / 488.4 MB, free: 6.992 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.6655, allocations: 4 kB / 488.4 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001854/0.6674, allocations: 0.6236 MB / 489 MB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.6675, allocations: 4 kB / 489.1 MB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007029/0.6682, allocations: 154.2 kB / 489.2 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008149/0.669, allocations: 103.8 kB / 489.3 MB, free: 6.094 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005601/0.6746, allocations: 3.584 MB / 492.9 MB, free: 2.238 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007247/0.6754, allocations: 71.72 kB / 493 MB, free: 2.168 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.218e-05/0.6755, allocations: 24.38 kB / 493 MB, free: 2.145 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * 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.0003123/0.6758, allocations: 156.8 kB / 493.1 MB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.6761, allocations: 71.19 kB / 493.2 MB, free: 1.914 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.6763, allocations: 73.58 kB / 493.3 MB, free: 1.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.6763, allocations: 11.89 kB / 493.3 MB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.6764, allocations: 0 / 493.3 MB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.6764, allocations: 7.984 kB / 493.3 MB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003729/0.6801, allocations: 1.43 MB / 494.7 MB, free: 332 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.6802, allocations: 3.953 kB / 494.7 MB, free: 328 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006879/0.6809, allocations: 71.89 kB / 494.8 MB, free: 256 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007191/0.6816, allocations: 149.7 kB / 494.9 MB, free: 100 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-05/0.6817, allocations: 15.98 kB / 495 MB, free: 84 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005368/0.6871, allocations: 3.51 MB / 498.5 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6872, allocations: 0 / 498.5 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002598/0.6898, allocations: 0.968 MB / 499.4 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004575/0.6903, allocations: 184.3 kB / 499.6 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.6904, allocations: 20 kB / 499.6 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007276/0.6912, allocations: 51.95 kB / 499.7 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003189/0.6915, allocations: 84.39 kB / 499.8 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-05/0.6916, allocations: 19.98 kB / 499.8 MB, free: 10.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006469/0.6922, allocations: 309.6 kB / 0.4884 GB, free: 10.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6922, allocations: 3.938 kB / 0.4884 GB, free: 10.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001803/0.6941, allocations: 359 kB / 0.4887 GB, free: 10.28 MB / 378.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,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * 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.003067/0.6971, allocations: 1.607 MB / 0.4903 GB, free: 8.629 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003335/0.7005, allocations: 1.392 MB / 0.4916 GB, free: 7.184 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.7006, allocations: 0 / 0.4916 GB, free: 7.184 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.7019, allocations: 0.5556 MB / 0.4922 GB, free: 6.602 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00098/0.7029, allocations: 113.5 kB / 0.4923 GB, free: 6.492 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00389/0.7068, allocations: 1.183 MB / 0.4935 GB, free: 5.266 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007506/0.7076, allocations: 0.9584 MB / 0.4944 GB, free: 4.281 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005467/0.7082, allocations: 243.4 kB / 0.4946 GB, free: 4.043 MB / 378.7 MB Notification: Performance of SimCode: time 1.272e-06/0.7082, allocations: 0 / 0.4946 GB, free: 4.043 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.137/3.845, allocations: 16.94 MB / 0.5112 GB, free: 3.078 MB / 394.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic.fmu > Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat