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.002672/0.002678, allocations: 181.2 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.204/2.204, 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.001095/0.001094, allocations: 86.64 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.297e-05/3.3e-05, allocations: 3.938 kB / 321.6 MB, free: 17.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1024, allocations: 47.58 MB / 369.2 MB, free: 2.086 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.543/0.6455, allocations: 87.84 MB / 457 MB, free: 5.082 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003454/0.6459, allocations: 88.62 kB / 457.1 MB, free: 5.031 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05868/0.7046, allocations: 13.36 MB / 470.5 MB, free: 9.688 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.7046, allocations: 0 / 470.5 MB, free: 9.688 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.642e-05/0.7047, allocations: 20 kB / 470.5 MB, free: 9.668 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.00252/0.7072, allocations: 0.8808 MB / 471.4 MB, free: 8.734 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.7073, allocations: 12.03 kB / 471.4 MB, free: 8.723 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002368/0.7076, allocations: 102.5 kB / 471.5 MB, free: 8.613 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002507/0.7078, allocations: 87.34 kB / 471.6 MB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.7091, allocations: 478 kB / 472.1 MB, free: 8.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.49e-05/0.7092, allocations: 53.31 kB / 472.1 MB, free: 7.965 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.7093, allocations: 71.84 kB / 472.2 MB, free: 7.895 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001742/0.7111, allocations: 0.6224 MB / 472.8 MB, free: 7.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.244e-05/0.7112, allocations: 11.94 kB / 472.8 MB, free: 7.238 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-05/0.7113, allocations: 20 kB / 472.8 MB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.7113, allocations: 16 kB / 472.8 MB, free: 7.203 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.7127, allocations: 445.2 kB / 473.3 MB, free: 6.766 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005858/0.7185, allocations: 2.333 MB / 475.6 MB, free: 4.312 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/0.7204, allocations: 0.5041 MB / 476.1 MB, free: 3.793 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008075/0.7212, allocations: 261.5 kB / 476.4 MB, free: 3.535 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.719e-05/0.7213, allocations: 4.375 kB / 476.4 MB, free: 3.531 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008175/0.7221, allocations: 329.1 kB / 476.7 MB, free: 3.188 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 3.166e-06/0.7221, allocations: 0 / 476.7 MB, free: 3.188 MB / 346.7 MB Notification: Performance of matching and sorting (n=50): time 0.0014/0.7236, allocations: 460.2 kB / 477.1 MB, free: 2.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.7237, allocations: 140.9 kB / 477.3 MB, free: 2.562 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008144/0.7245, allocations: 395 kB / 477.7 MB, free: 2.176 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.016e-05/0.7246, allocations: 45.69 kB / 477.7 MB, free: 2.125 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/0.725, allocations: 342.9 kB / 478 MB, free: 1.785 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.7252, allocations: 153.9 kB / 478.2 MB, free: 1.633 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.7252, allocations: 12.03 kB / 478.2 MB, free: 1.621 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.7254, allocations: 338.8 kB / 478.5 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004648/0.7259, allocations: 157.1 kB / 478.7 MB, free: 1.125 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006227/0.7265, allocations: 316.5 kB / 479 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005098/0.7271, allocations: 181.6 kB / 479.2 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.7271, allocations: 0 / 479.2 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001458/0.7285, allocations: 0.5203 MB / 479.7 MB, free: 44 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008309/0.7294, allocations: 1.664 MB / 481.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.7294, allocations: 4 kB / 481.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004933/0.7299, allocations: 88.75 kB / 481.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007726/0.7307, allocations: 111.8 kB / 481.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002634/0.7334, allocations: 1.722 MB / 483.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008584/0.7343, allocations: 87.55 kB / 483.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-05/0.7344, allocations: 24 kB / 483.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.7344, allocations: 4 kB / 483.4 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001329/0.7357, allocations: 490.8 kB / 483.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.7358, allocations: 8 kB / 483.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003707/0.7361, allocations: 76.81 kB / 484 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006638/0.7368, allocations: 100.4 kB / 484.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/0.7393, allocations: 1.737 MB / 485.8 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006362/0.74, allocations: 71.66 kB / 485.9 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/0.7401, allocations: 20 kB / 485.9 MB, free: 9.453 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 (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.0002807/0.7404, allocations: 156 kB / 486 MB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001918/0.7406, allocations: 59.3 kB / 486.1 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.7408, allocations: 65.17 kB / 486.2 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.7408, allocations: 4 kB / 486.2 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.7408, allocations: 0 / 486.2 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.7409, allocations: 7.984 kB / 486.2 MB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002923/0.7438, allocations: 1.288 MB / 487.5 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.7438, allocations: 4 kB / 487.5 MB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000667/0.7445, allocations: 67.89 kB / 487.5 MB, free: 7.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003641/0.7449, allocations: 72.86 kB / 487.6 MB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.973e-05/0.745, allocations: 15.98 kB / 487.6 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002443/0.7474, allocations: 1.64 MB / 489.3 MB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.7475, allocations: 4.078 kB / 489.3 MB, free: 5.867 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/0.7495, allocations: 0.787 MB / 490 MB, free: 5.051 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003596/0.7499, allocations: 176.4 kB / 490.2 MB, free: 4.859 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.75, allocations: 12 kB / 490.2 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006669/0.7507, allocations: 47.95 kB / 490.3 MB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/0.751, allocations: 56.44 kB / 490.3 MB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.446e-05/0.751, allocations: 19.98 kB / 490.4 MB, free: 4.727 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000617/0.7517, allocations: 305.2 kB / 490.7 MB, free: 4.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.905e-06/0.7517, allocations: 0 / 490.7 MB, free: 4.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001376/0.7531, allocations: 295 kB / 490.9 MB, free: 4.141 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 (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.002484/0.7556, allocations: 1.43 MB / 492.4 MB, free: 2.676 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002414/0.758, allocations: 0.9347 MB / 493.3 MB, free: 1.715 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/0.7581, allocations: 4 kB / 493.3 MB, free: 1.711 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008165/0.7589, allocations: 356.9 kB / 493.7 MB, free: 1.352 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008339/0.7597, allocations: 95.59 kB / 493.8 MB, free: 1.266 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/0.7631, allocations: 1.041 MB / 494.8 MB, free: 184 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007463/0.7639, allocations: 0.9261 MB / 495.7 MB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005386/0.7645, allocations: 219.4 kB / 495.9 MB, free: 15.01 MB / 378.7 MB Notification: Performance of SimCode: time 1.232e-06/0.7645, allocations: 3.938 kB / 495.9 MB, free: 15.01 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.146/3.91, allocations: 12.71 MB / 0.4967 GB, free: 2.281 MB / 378.7 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