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.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,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV",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.002182/0.002182, allocations: 181.4 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.334/2.334, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001101/0.001101, allocations: 82.66 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.054e-05/3.068e-05, allocations: 4 kB / 321.6 MB, free: 17.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1072, allocations: 47.57 MB / 369.2 MB, free: 2.082 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4897/0.5969, allocations: 87.62 MB / 456.8 MB, free: 5.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/0.5973, allocations: 86.44 kB / 456.9 MB, free: 5.613 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05899/0.6563, allocations: 13.24 MB / 470.1 MB, free: 10.13 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.6564, allocations: 0 / 470.1 MB, free: 10.13 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.859e-05/0.6565, allocations: 16 kB / 470.2 MB, free: 10.12 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002614/0.6591, allocations: 0.8611 MB / 471 MB, free: 9.203 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/0.6592, allocations: 12.03 kB / 471 MB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003089/0.6595, allocations: 106.5 kB / 471.1 MB, free: 9.078 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002746/0.6598, allocations: 91.33 kB / 471.2 MB, free: 8.988 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.6611, allocations: 482 kB / 471.7 MB, free: 8.477 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.971e-05/0.6613, allocations: 45.31 kB / 471.7 MB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001671/0.6614, allocations: 67.94 kB / 471.8 MB, free: 8.363 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.6632, allocations: 0.6263 MB / 472.4 MB, free: 7.715 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.643e-05/0.6633, allocations: 3.984 kB / 472.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-05/0.6634, allocations: 20 kB / 472.5 MB, free: 7.691 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.6635, allocations: 16 kB / 472.5 MB, free: 7.676 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.6648, allocations: 441.1 kB / 472.9 MB, free: 7.242 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006163/0.671, allocations: 2.344 MB / 475.2 MB, free: 4.781 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.6726, allocations: 471.8 kB / 475.7 MB, free: 4.309 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007759/0.6734, allocations: 232.8 kB / 475.9 MB, free: 4.078 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.325e-05/0.6734, allocations: 8.469 kB / 475.9 MB, free: 4.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007626/0.6742, allocations: 304.3 kB / 476.2 MB, free: 3.746 MB / 346.7 MB Notification: Performance of pre-optimization done (n=47): time 3.006e-06/0.6742, allocations: 0 / 476.2 MB, free: 3.746 MB / 346.7 MB Notification: Performance of matching and sorting (n=47): time 0.001314/0.6756, allocations: 428.6 kB / 476.7 MB, free: 3.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.6757, allocations: 144.5 kB / 476.8 MB, free: 3.148 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008466/0.6765, allocations: 431.7 kB / 477.2 MB, free: 2.723 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.154e-05/0.6766, allocations: 37.7 kB / 477.3 MB, free: 2.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/0.677, allocations: 354.8 kB / 477.6 MB, free: 2.332 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/0.6773, allocations: 138.1 kB / 477.7 MB, free: 2.195 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.6773, allocations: 12 kB / 477.8 MB, free: 2.184 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.6775, allocations: 330.8 kB / 478.1 MB, free: 1.852 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004564/0.6779, allocations: 157.1 kB / 478.2 MB, free: 1.695 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006011/0.6786, allocations: 308.6 kB / 478.5 MB, free: 1.332 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004997/0.6791, allocations: 173.6 kB / 478.7 MB, free: 1.164 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.6791, allocations: 0 / 478.7 MB, free: 1.164 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001403/0.6805, allocations: 0.5198 MB / 479.2 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008565/0.6814, allocations: 1.668 MB / 480.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.6814, allocations: 4 kB / 480.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005302/0.682, allocations: 80.81 kB / 481 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007385/0.6827, allocations: 99.83 kB / 481.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002637/0.6854, allocations: 1.733 MB / 482.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009496/0.6864, allocations: 99.42 kB / 482.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.336e-05/0.6865, allocations: 20 kB / 482.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.6865, allocations: 4 kB / 482.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00137/0.6879, allocations: 483.4 kB / 483.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.6879, allocations: 4 kB / 483.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003783/0.6883, allocations: 88.78 kB / 483.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/0.6889, allocations: 83.89 kB / 483.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002529/0.6915, allocations: 1.726 MB / 485.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006448/0.6922, allocations: 67.72 kB / 485.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-05/0.6922, allocations: 20.12 kB / 485.4 MB, free: 10.07 MB / 362.7 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 (62): * Single equations (assignments): 61 * 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.0002804/0.6925, allocations: 156 kB / 485.5 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.6927, allocations: 55.34 kB / 485.6 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.693, allocations: 60.97 kB / 485.6 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.693, allocations: 8 kB / 485.7 MB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.693, allocations: 4 kB / 485.7 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.693, allocations: 3.984 kB / 485.7 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002919/0.696, allocations: 1.264 MB / 486.9 MB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.696, allocations: 8.031 kB / 486.9 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004811/0.6965, allocations: 47.97 kB / 487 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003643/0.6969, allocations: 76.75 kB / 487.1 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/0.6969, allocations: 7.984 kB / 487.1 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002542/0.6995, allocations: 1.644 MB / 488.7 MB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.6995, allocations: 3.953 kB / 488.7 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/0.7015, allocations: 0.742 MB / 489.4 MB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003807/0.7019, allocations: 176.3 kB / 489.6 MB, free: 5.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.7021, allocations: 15.98 kB / 489.6 MB, free: 5.555 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006502/0.7027, allocations: 47.97 kB / 489.7 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/0.703, allocations: 52 kB / 489.7 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.635e-05/0.703, allocations: 15.98 kB / 489.8 MB, free: 5.441 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006891/0.7038, allocations: 321.6 kB / 490.1 MB, free: 5.129 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7038, allocations: 0 / 490.1 MB, free: 5.129 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001515/0.7053, allocations: 291 kB / 490.3 MB, free: 4.844 MB / 362.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: 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 (40): * Single equations (assignments): 34 * 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.002433/0.7078, allocations: 1.394 MB / 491.7 MB, free: 3.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002351/0.7102, allocations: 0.9201 MB / 492.7 MB, free: 2.469 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/0.7102, allocations: 3.938 kB / 492.7 MB, free: 2.465 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008261/0.711, allocations: 342.5 kB / 493 MB, free: 2.117 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000857/0.7119, allocations: 87.69 kB / 493.1 MB, free: 2.035 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003412/0.7154, allocations: 1.004 MB / 494.1 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006909/0.7161, allocations: 0.9262 MB / 495 MB, free: 24 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005586/0.7167, allocations: 219.4 kB / 495.2 MB, free: 15.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.653e-06/0.7167, allocations: 0 / 495.2 MB, free: 15.8 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.923/3.639, allocations: 12.54 MB / 0.4959 GB, free: 3.246 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.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_res.mat does not exist to compare? outputFormat=mat