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_R.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_R,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R",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.001467/0.001467, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.951/1.951, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001189/0.001188, allocations: 92.11 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004077/0.0004078, allocations: 15.98 kB / 327.1 MB, free: 84 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3352, allocations: 47.57 MB / 374.7 MB, free: 45.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1437/0.479, allocations: 87.16 MB / 461.8 MB, free: 9.457 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003509/0.4794, allocations: 91.94 kB / 461.9 MB, free: 9.367 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05389/0.5333, allocations: 12.66 MB / 474.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5334, allocations: 0 / 474.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.705e-05/0.5335, allocations: 12 kB / 474.6 MB, free: 12.63 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.002619/0.5361, allocations: 0.8985 MB / 475.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/0.5362, allocations: 12.03 kB / 475.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002575/0.5364, allocations: 102.5 kB / 475.6 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.5366, allocations: 71.16 kB / 475.7 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/0.5378, allocations: 470 kB / 476.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.858e-05/0.5379, allocations: 45.31 kB / 476.2 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.538, allocations: 56 kB / 476.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.5399, allocations: 0.6184 MB / 476.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.695e-05/0.5399, allocations: 11.84 kB / 476.8 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.813e-05/0.54, allocations: 23.98 kB / 476.9 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.5401, allocations: 12 kB / 476.9 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001584/0.5417, allocations: 480.9 kB / 477.4 MB, free: 9.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005613/0.5473, allocations: 2.222 MB / 479.6 MB, free: 7.398 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.549, allocations: 460.2 kB / 480 MB, free: 6.938 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.699e-05/0.549, allocations: 12.27 kB / 480 MB, free: 6.926 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008229/0.5499, allocations: 305.1 kB / 480.3 MB, free: 6.609 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 3.166e-06/0.5499, allocations: 4 kB / 480.3 MB, free: 6.605 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.003787/0.5537, allocations: 0.7223 MB / 481.1 MB, free: 5.855 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/0.5539, allocations: 118.8 kB / 481.2 MB, free: 5.715 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.5555, allocations: 417 kB / 481.6 MB, free: 5.305 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002277/0.5558, allocations: 45.64 kB / 481.6 MB, free: 5.254 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006326/0.5565, allocations: 347.3 kB / 482 MB, free: 4.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003334/0.5568, allocations: 122.3 kB / 482.1 MB, free: 4.789 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-05/0.557, allocations: 12 kB / 482.1 MB, free: 4.777 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002289/0.5572, allocations: 334.8 kB / 482.4 MB, free: 4.441 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.5582, allocations: 173 kB / 482.6 MB, free: 4.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.5597, allocations: 322.8 kB / 482.9 MB, free: 3.895 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.561, allocations: 200.2 kB / 483.1 MB, free: 3.699 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.5611, allocations: 0 / 483.1 MB, free: 3.699 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002801/0.5639, allocations: 0.5529 MB / 483.7 MB, free: 3.137 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009405/0.5649, allocations: 1.58 MB / 485.2 MB, free: 1.434 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/0.5649, allocations: 8 kB / 485.2 MB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007408/0.5657, allocations: 84.81 kB / 485.3 MB, free: 1.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006599/0.5664, allocations: 79.83 kB / 485.4 MB, free: 1.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/0.5695, allocations: 1.862 MB / 487.3 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008679/0.5704, allocations: 83.55 kB / 487.4 MB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.523e-05/0.5705, allocations: 20 kB / 487.4 MB, free: 15.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.5705, allocations: 4 kB / 487.4 MB, free: 15.16 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00148/0.572, allocations: 492.8 kB / 487.9 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.5721, allocations: 4 kB / 487.9 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003925/0.5725, allocations: 84.75 kB / 487.9 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005339/0.573, allocations: 83.83 kB / 488 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002917/0.576, allocations: 1.842 MB / 489.9 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005945/0.5766, allocations: 63.66 kB / 489.9 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/0.5767, allocations: 20 kB / 489.9 MB, free: 12.45 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: 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 55 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005811/0.5773, allocations: 305 kB / 490.2 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.5774, allocations: 55.28 kB / 490.3 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.5776, allocations: 57.03 kB / 490.4 MB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.5776, allocations: 4 kB / 490.4 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.5777, allocations: 3.953 kB / 490.4 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.5777, allocations: 0 / 490.4 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/0.5805, allocations: 1.151 MB / 491.5 MB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.5806, allocations: 3.984 kB / 491.5 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003978/0.581, allocations: 35.98 kB / 491.6 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004167/0.5814, allocations: 85.03 kB / 491.6 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.358e-05/0.5815, allocations: 19.92 kB / 491.7 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002851/0.5844, allocations: 1.769 MB / 493.4 MB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5844, allocations: 0.625 kB / 493.4 MB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002148/0.5866, allocations: 0.7476 MB / 494.2 MB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003919/0.587, allocations: 164.3 kB / 494.3 MB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.5872, allocations: 15.98 kB / 494.3 MB, free: 7.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005745/0.5877, allocations: 47.92 kB / 494.4 MB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/0.588, allocations: 51.92 kB / 494.4 MB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.724e-05/0.588, allocations: 11.98 kB / 494.5 MB, free: 7.691 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007009/0.5887, allocations: 327.1 kB / 494.8 MB, free: 7.371 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5887, allocations: 0 / 494.8 MB, free: 7.371 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001387/0.5901, allocations: 279.2 kB / 495.1 MB, free: 7.098 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.002687/0.5928, allocations: 1.314 MB / 496.4 MB, free: 5.754 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00275/0.5956, allocations: 0.9716 MB / 497.3 MB, free: 4.758 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.5957, allocations: 4.938 kB / 497.3 MB, free: 4.754 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009092/0.5966, allocations: 366.4 kB / 497.7 MB, free: 4.383 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007985/0.5974, allocations: 84.92 kB / 497.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.279/0.8765, allocations: 4.308 MB / 0.4903 GB, free: 106.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005772/0.8771, allocations: 0.915 MB / 0.4912 GB, free: 105.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005714/0.8777, allocations: 208.9 kB / 0.4914 GB, free: 105.6 MB / 378.7 MB Notification: Performance of SimCode: time 1.373e-06/0.8777, allocations: 0 / 0.4914 GB, free: 105.6 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.743/3.621, allocations: 11.74 MB / 0.5029 GB, free: 104.3 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.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_R_res.mat does not exist to compare? outputFormat=mat