Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,fileNamePrefix="Modelica_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 175.2 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 221.3 MB / 235.5 MB, free: 2.965 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008751/0.0008751, allocations: 87.86 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.15e-05/2.153e-05, allocations: 0 / 344 MB, free: 4.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09655/0.09659, allocations: 50.41 MB / 394.4 MB, free: 1.742 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3663/0.463, allocations: 88.37 MB / 482.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004261/0.4634, allocations: 91.94 kB / 482.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06279/0.5263, allocations: 13.42 MB / 496.2 MB, free: 1.512 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5263, allocations: 0 / 496.2 MB, free: 1.512 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.729e-05/0.5264, allocations: 20 kB / 496.3 MB, free: 1.492 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002922/0.5294, allocations: 0.8365 MB / 497.1 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.262e-05/0.5295, allocations: 12.03 kB / 497.1 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003491/0.5298, allocations: 106.5 kB / 497.2 MB, free: 488 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003642/0.5302, allocations: 75.16 kB / 497.3 MB, free: 412 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.5315, allocations: 489.9 kB / 497.8 MB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.988e-05/0.5316, allocations: 53.27 kB / 497.8 MB, free: 15.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.5318, allocations: 63.91 kB / 497.9 MB, free: 15.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.5336, allocations: 0.6232 MB / 498.5 MB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.142e-05/0.5336, allocations: 0 / 498.5 MB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.5337, allocations: 32 kB / 498.5 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.5338, allocations: 12 kB / 498.5 MB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.535, allocations: 445.1 kB / 499 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005428/0.5404, allocations: 2.283 MB / 0.4895 GB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.5416, allocations: 411.8 kB / 0.4899 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007114/0.5423, allocations: 246.5 kB / 0.4901 GB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.874e-05/0.5424, allocations: 7.781 kB / 0.4901 GB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008157/0.5432, allocations: 309.2 kB / 0.4904 GB, free: 11.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 6.261e-06/0.5432, allocations: 0 / 0.4904 GB, free: 11.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.001336/0.5445, allocations: 437.7 kB / 0.4909 GB, free: 10.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/0.5447, allocations: 166.2 kB / 0.491 GB, free: 10.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008714/0.5456, allocations: 415 kB / 0.4914 GB, free: 10.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.203e-05/0.5457, allocations: 45.64 kB / 0.4915 GB, free: 10.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/0.5461, allocations: 316.4 kB / 0.4918 GB, free: 9.852 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.5463, allocations: 134.2 kB / 0.4919 GB, free: 9.719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-05/0.5463, allocations: 12 kB / 0.4919 GB, free: 9.707 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002357/0.5466, allocations: 366.7 kB / 0.4922 GB, free: 9.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004376/0.547, allocations: 157.1 kB / 0.4924 GB, free: 9.184 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006324/0.5477, allocations: 317 kB / 0.4927 GB, free: 8.809 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004874/0.5482, allocations: 179.7 kB / 0.4929 GB, free: 8.633 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.5482, allocations: 4 kB / 0.4929 GB, free: 8.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001458/0.5496, allocations: 0.5633 MB / 0.4934 GB, free: 8.055 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008609/0.5505, allocations: 1.651 MB / 0.495 GB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.5505, allocations: 8 kB / 0.495 GB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005062/0.5511, allocations: 96.75 kB / 0.4951 GB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005182/0.5516, allocations: 83.83 kB / 0.4952 GB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002873/0.5545, allocations: 1.854 MB / 0.497 GB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008207/0.5553, allocations: 83.64 kB / 0.4971 GB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.008e-05/0.5554, allocations: 27.98 kB / 0.4971 GB, free: 3.988 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.5554, allocations: 5.562 kB / 0.4971 GB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001267/0.5567, allocations: 488.3 kB / 0.4976 GB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.5567, allocations: 8 kB / 0.4976 GB, free: 3.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003694/0.5571, allocations: 96.75 kB / 0.4977 GB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004453/0.5576, allocations: 71.89 kB / 0.4978 GB, free: 3.328 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002729/0.5603, allocations: 1.842 MB / 0.4996 GB, free: 1.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006763/0.561, allocations: 75.7 kB / 0.4996 GB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/0.5611, allocations: 20 kB / 0.4997 GB, free: 1.25 MB / 378.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (58): * Single equations (assignments): 57 * 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.0002621/0.5614, allocations: 152 kB / 0.4998 GB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.5616, allocations: 59.72 kB / 0.4999 GB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.5618, allocations: 60.88 kB / 0.4999 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.5618, allocations: 4 kB / 0.4999 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5618, allocations: 0 / 0.4999 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.5619, allocations: 11.88 kB / 0.4999 GB, free: 0.957 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00296/0.5648, allocations: 1.291 MB / 0.5012 GB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.5648, allocations: 0 / 0.5012 GB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003368/0.5652, allocations: 39.92 kB / 0.5012 GB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000378/0.5656, allocations: 84.75 kB / 0.5013 GB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.419e-05/0.5657, allocations: 11.98 kB / 0.5013 GB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00277/0.5684, allocations: 1.753 MB / 0.503 GB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.5685, allocations: 4.031 kB / 0.503 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.5704, allocations: 0.7575 MB / 0.5038 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005018/0.5709, allocations: 172.4 kB / 0.5039 GB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/0.5711, allocations: 16.06 kB / 0.504 GB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006247/0.5718, allocations: 43.95 kB / 0.504 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002161/0.572, allocations: 52.02 kB / 0.5041 GB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-05/0.5721, allocations: 12 kB / 0.5041 GB, free: 12.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007777/0.5729, allocations: 325.2 kB / 0.5044 GB, free: 12.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5729, allocations: 0 / 0.5044 GB, free: 12.17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001888/0.5748, allocations: 283.1 kB / 0.5046 GB, free: 11.89 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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 (37): * Single equations (assignments): 31 * 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.002608/0.5774, allocations: 1.432 MB / 0.506 GB, free: 10.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002594/0.58, allocations: 0.9566 MB / 0.507 GB, free: 9.445 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.5801, allocations: 0 / 0.507 GB, free: 9.445 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008502/0.5809, allocations: 367 kB / 0.5073 GB, free: 9.074 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008319/0.5818, allocations: 94.92 kB / 0.5074 GB, free: 8.984 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003519/0.5853, allocations: 0.9196 MB / 0.5083 GB, free: 8.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008138/0.5861, allocations: 0.927 MB / 0.5092 GB, free: 7.062 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007906/0.5869, allocations: 120.7 kB / 0.5093 GB, free: 6.945 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/0.5874, allocations: 215.4 kB / 0.5095 GB, free: 6.734 MB / 394.7 MB Notification: Performance of SimCode: time 8.22e-07/0.5874, allocations: 0 / 0.5095 GB, free: 6.734 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04283/0.6302, allocations: 13.17 MB / 0.5224 GB, free: 9.902 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003507/0.6307, allocations: 239.1 kB / 0.5226 GB, free: 9.586 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/2.967, allocations: 3.938 kB / 0.5226 GB, free: 9.582 MB / 410.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat does not exist to compare? outputFormat=mat