Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_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.002206/0.002205, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.232/2.232, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001156, allocations: 92.16 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 3.056e-05/3.06e-05, allocations: 4 kB / 314.9 MB, free: 9.047 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3471, allocations: 47.56 MB / 362.4 MB, free: 45.88 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1445/0.4917, allocations: 87.19 MB / 449.6 MB, free: 15.08 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003552/0.4921, allocations: 87.94 kB / 449.7 MB, free: 15 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05849/0.5506, allocations: 13.23 MB / 463 MB, free: 1.797 MB / 347.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.5507, allocations: 0 / 463 MB, free: 1.797 MB / 347.1 MB Notification: Performance of Transformations before backend: time 7.736e-05/0.5508, allocations: 15.94 kB / 463 MB, free: 1.781 MB / 347.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002836/0.5536, allocations: 0.882 MB / 463.9 MB, free: 0.8477 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.5537, allocations: 8.031 kB / 463.9 MB, free: 0.8398 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003544/0.5541, allocations: 91.36 kB / 463.9 MB, free: 0.75 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/0.5555, allocations: 476.2 kB / 464.4 MB, free: 244 kB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.013e-05/0.5556, allocations: 27.92 kB / 464.4 MB, free: 216 kB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.5557, allocations: 47.91 kB / 464.5 MB, free: 168 kB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001516/0.5573, allocations: 411.5 kB / 464.9 MB, free: 15.76 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.5591, allocations: 0.5378 MB / 465.4 MB, free: 15.2 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.549e-05/0.5592, allocations: 0 / 465.4 MB, free: 15.2 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-05/0.5592, allocations: 4 kB / 465.4 MB, free: 15.2 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.087e-05/0.5593, allocations: 12 kB / 465.4 MB, free: 15.19 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006214/0.5655, allocations: 2.218 MB / 467.7 MB, free: 12.87 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.5673, allocations: 490.2 kB / 468.1 MB, free: 12.38 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007887/0.5681, allocations: 249.3 kB / 468.4 MB, free: 12.13 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.702e-05/0.5682, allocations: 13.39 kB / 468.4 MB, free: 12.12 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007928/0.569, allocations: 315.5 kB / 468.7 MB, free: 11.79 MB / 363.1 MB Notification: Performance of pre-optimization done (n=50): time 3.467e-06/0.569, allocations: 0 / 468.7 MB, free: 11.79 MB / 363.1 MB Notification: Performance of matching and sorting (n=50): time 0.001326/0.5704, allocations: 408.4 kB / 469.1 MB, free: 11.38 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.5705, allocations: 141 kB / 469.2 MB, free: 11.21 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006858/0.5712, allocations: 349.2 kB / 469.6 MB, free: 10.87 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 9.102e-05/0.5713, allocations: 29.7 kB / 469.6 MB, free: 10.83 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/0.5717, allocations: 358.6 kB / 470 MB, free: 10.48 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.5719, allocations: 149.8 kB / 470.1 MB, free: 10.33 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.5719, allocations: 1.312 kB / 470.1 MB, free: 10.33 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.5721, allocations: 326.8 kB / 470.4 MB, free: 10 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004244/0.5725, allocations: 153 kB / 470.6 MB, free: 9.852 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005666/0.5731, allocations: 295.5 kB / 470.9 MB, free: 9.5 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/0.5736, allocations: 172.7 kB / 471 MB, free: 9.332 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.5736, allocations: 0 / 471 MB, free: 9.332 MB / 363.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001354/0.575, allocations: 480.9 kB / 471.5 MB, free: 8.852 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008355/0.5758, allocations: 1.653 MB / 473.2 MB, free: 7.066 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/0.5759, allocations: 14.2 kB / 473.2 MB, free: 7.055 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004942/0.5764, allocations: 84.8 kB / 473.3 MB, free: 6.969 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007927/0.5772, allocations: 99.83 kB / 473.4 MB, free: 6.871 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/0.5798, allocations: 1.694 MB / 475 MB, free: 5.055 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008291/0.5807, allocations: 64.66 kB / 475.1 MB, free: 4.992 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-05/0.5808, allocations: 27.98 kB / 475.1 MB, free: 4.965 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.5808, allocations: 0 / 475.1 MB, free: 4.965 MB / 363.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001212/0.5821, allocations: 422.9 kB / 475.5 MB, free: 4.551 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.5821, allocations: 4 kB / 475.6 MB, free: 4.547 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000363/0.5825, allocations: 85.34 kB / 475.6 MB, free: 4.461 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007242/0.5832, allocations: 103.8 kB / 475.7 MB, free: 4.359 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002458/0.5857, allocations: 1.686 MB / 477.4 MB, free: 2.562 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006427/0.5864, allocations: 63.58 kB / 477.5 MB, free: 2.5 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.508e-05/0.5865, allocations: 24.06 kB / 477.5 MB, free: 2.477 MB / 363.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($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_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 (63): * Single equations (assignments): 62 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003227/0.5868, allocations: 132.4 kB / 477.6 MB, free: 2.34 MB / 363.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0012/0.588, allocations: 416.4 kB / 478 MB, free: 1.922 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.5882, allocations: 55.28 kB / 478.1 MB, free: 1.867 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.5884, allocations: 52.92 kB / 478.2 MB, free: 1.812 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.5884, allocations: 11.98 kB / 478.2 MB, free: 1.801 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5884, allocations: 4.031 kB / 478.2 MB, free: 1.797 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.5884, allocations: 0 / 478.2 MB, free: 1.797 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002722/0.5912, allocations: 1.164 MB / 479.3 MB, free: 0.5859 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.5912, allocations: 4.062 kB / 479.3 MB, free: 0.582 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006299/0.5919, allocations: 79.88 kB / 479.4 MB, free: 0.5039 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003616/0.5922, allocations: 72.81 kB / 479.5 MB, free: 440 kB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.181e-05/0.5923, allocations: 0 / 479.5 MB, free: 440 kB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002344/0.5947, allocations: 1.596 MB / 481.1 MB, free: 14.71 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.5947, allocations: 0 / 481.1 MB, free: 14.71 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.5966, allocations: 0.7403 MB / 481.8 MB, free: 13.95 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000373/0.597, allocations: 172.4 kB / 482 MB, free: 13.76 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.5971, allocations: 3.984 kB / 482 MB, free: 13.76 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006644/0.5978, allocations: 47.95 kB / 482 MB, free: 13.71 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/0.598, allocations: 52.36 kB / 482.1 MB, free: 13.66 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.559e-05/0.5981, allocations: 19.98 kB / 482.1 MB, free: 13.64 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.0004775/0.5986, allocations: 258.9 kB / 482.4 MB, free: 13.39 MB / 379.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5986, allocations: 0 / 482.4 MB, free: 13.39 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.001522/0.6001, allocations: 270.9 kB / 482.6 MB, free: 13.12 MB / 379.1 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: 18 (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_p.off,rectifier.thyristor_n.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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 37 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002326/0.6025, allocations: 1.382 MB / 484 MB, free: 11.71 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.002177/0.6047, allocations: 0.8759 MB / 484.9 MB, free: 10.81 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.6048, allocations: 0 / 484.9 MB, free: 10.81 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007658/0.6056, allocations: 336.9 kB / 485.2 MB, free: 10.47 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007853/0.6064, allocations: 74.12 kB / 485.3 MB, free: 10.4 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003362/0.6097, allocations: 0.9906 MB / 486.3 MB, free: 9.359 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007133/0.6105, allocations: 0.9296 MB / 487.2 MB, free: 8.402 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005852/0.6111, allocations: 223.4 kB / 487.4 MB, free: 8.184 MB / 379.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6111, allocations: 3.938 kB / 487.4 MB, free: 8.18 MB / 379.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.079/3.69, allocations: 12.39 MB / 499.8 MB, free: 11.8 MB / 395.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat