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_RLV_Characteristic.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_RLV_Characteristic,fileNamePrefix="Modelica_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 221.5 MB / 230.3 MB, free: 7.531 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.0008672/0.0008672, allocations: 91.17 kB / 281.2 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.157e-05/2.201e-05, allocations: 4 kB / 337.2 MB, free: 9.891 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1271, allocations: 50.42 MB / 387.6 MB, free: 7.434 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3464/0.4735, allocations: 88.54 MB / 476.1 MB, free: 6.121 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/0.4739, allocations: 79.95 kB / 476.2 MB, free: 6.043 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03795/0.5118, allocations: 14.07 MB / 490.3 MB, free: 7.914 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.5119, allocations: 0 / 490.3 MB, free: 7.914 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.485e-05/0.512, allocations: 20 kB / 490.3 MB, free: 7.895 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001594/0.5136, allocations: 0.8926 MB / 491.2 MB, free: 6.949 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.5136, allocations: 11.98 kB / 491.2 MB, free: 6.938 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.5138, allocations: 98.94 kB / 491.3 MB, free: 6.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007701/0.5146, allocations: 496.4 kB / 491.8 MB, free: 6.312 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.5146, allocations: 20 kB / 491.8 MB, free: 6.293 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.253e-05/0.5147, allocations: 43.94 kB / 491.8 MB, free: 6.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007878/0.5155, allocations: 442.5 kB / 492.3 MB, free: 5.816 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009972/0.5165, allocations: 0.5738 MB / 492.8 MB, free: 5.219 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.5165, allocations: 7.906 kB / 492.8 MB, free: 5.211 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.402e-05/0.5166, allocations: 0 / 492.8 MB, free: 5.211 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.5166, allocations: 16 kB / 492.9 MB, free: 5.195 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003477/0.5201, allocations: 2.277 MB / 495.1 MB, free: 2.816 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009841/0.5211, allocations: 0.5158 MB / 495.7 MB, free: 2.289 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004806/0.5216, allocations: 258 kB / 495.9 MB, free: 2.035 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/0.5217, allocations: 8.438 kB / 495.9 MB, free: 2.027 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005106/0.5222, allocations: 320.6 kB / 496.2 MB, free: 1.695 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 2.524e-06/0.5222, allocations: 0 / 496.2 MB, free: 1.695 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.0008409/0.523, allocations: 440.2 kB / 496.7 MB, free: 1.254 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.5232, allocations: 170.6 kB / 496.8 MB, free: 1.051 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004235/0.5236, allocations: 353.1 kB / 497.2 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/0.5237, allocations: 33.7 kB / 497.2 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.5239, allocations: 324 kB / 497.5 MB, free: 348 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.5241, allocations: 157.8 kB / 497.7 MB, free: 188 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.5241, allocations: 0 / 497.7 MB, free: 188 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.5243, allocations: 366.8 kB / 498 MB, free: 15.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.5246, allocations: 149.5 kB / 498.2 MB, free: 15.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/0.5249, allocations: 318 kB / 498.5 MB, free: 15.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.5252, allocations: 176.7 kB / 498.7 MB, free: 15.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.5252, allocations: 0 / 498.7 MB, free: 15.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008703/0.5261, allocations: 0.5272 MB / 499.2 MB, free: 14.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007052/0.5268, allocations: 1.659 MB / 0.4891 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.5268, allocations: 4 kB / 0.4891 GB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003152/0.5272, allocations: 88.89 kB / 0.4892 GB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004299/0.5276, allocations: 103.8 kB / 0.4893 GB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.5294, allocations: 1.69 MB / 0.4909 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005195/0.5299, allocations: 75.61 kB / 0.491 GB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.911e-05/0.5299, allocations: 20 kB / 0.491 GB, free: 10.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.53, allocations: 4 kB / 0.491 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007738/0.5307, allocations: 443 kB / 0.4915 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5308, allocations: 7.984 kB / 0.4915 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002068/0.531, allocations: 72.98 kB / 0.4915 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.5314, allocations: 112.2 kB / 0.4916 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001551/0.5329, allocations: 1.698 MB / 0.4933 GB, free: 8.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004544/0.5334, allocations: 67.52 kB / 0.4934 GB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.5334, allocations: 20 kB / 0.4934 GB, free: 8.172 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 (65): * Single equations (assignments): 64 * 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.0002171/0.5337, allocations: 147.9 kB / 0.4935 GB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007534/0.5344, allocations: 432.4 kB / 0.4939 GB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.117e-05/0.5345, allocations: 55.34 kB / 0.494 GB, free: 7.535 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001718/0.5347, allocations: 57 kB / 0.494 GB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.5347, allocations: 7.953 kB / 0.4941 GB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.5347, allocations: 0 / 0.4941 GB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.5347, allocations: 7.984 kB / 0.4941 GB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.5365, allocations: 1.218 MB / 0.4953 GB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.5365, allocations: 0 / 0.4953 GB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003624/0.5369, allocations: 83.91 kB / 0.4953 GB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002129/0.5371, allocations: 72.72 kB / 0.4954 GB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.322e-05/0.5372, allocations: 4 kB / 0.4954 GB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/0.5387, allocations: 1.588 MB / 0.497 GB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5387, allocations: 0 / 0.497 GB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.5399, allocations: 0.7876 MB / 0.4977 GB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/0.5401, allocations: 176.4 kB / 0.4979 GB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.217e-05/0.5402, allocations: 4 kB / 0.4979 GB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/0.5406, allocations: 48.05 kB / 0.4979 GB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.5407, allocations: 56.34 kB / 0.498 GB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.709e-05/0.5408, allocations: 19.98 kB / 0.498 GB, free: 3.188 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003267/0.5411, allocations: 263 kB / 0.4983 GB, free: 2.934 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5411, allocations: 0 / 0.4983 GB, free: 2.934 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001049/0.5422, allocations: 278.9 kB / 0.4985 GB, free: 2.66 MB / 378.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_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 (45): * Single equations (assignments): 39 * 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.001546/0.5437, allocations: 1.431 MB / 0.4999 GB, free: 1.191 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.5452, allocations: 0.9173 MB / 0.5008 GB, free: 260 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5452, allocations: 0 / 0.5008 GB, free: 260 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004546/0.5457, allocations: 355.1 kB / 0.5012 GB, free: 15.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005518/0.5462, allocations: 78.83 kB / 0.5012 GB, free: 15.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.5485, allocations: 1.021 MB / 0.5022 GB, free: 14.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005369/0.5491, allocations: 0.9538 MB / 0.5032 GB, free: 13.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004571/0.5495, allocations: 116.7 kB / 0.5033 GB, free: 13.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/0.5498, allocations: 215.4 kB / 0.5035 GB, free: 13.45 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5498, allocations: 0 / 0.5035 GB, free: 13.45 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04584/0.5957, allocations: 12.1 MB / 0.5153 GB, free: 1.477 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003614/0.5961, allocations: 228.7 kB / 0.5155 GB, free: 1.191 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.252/2.849, allocations: 0 / 0.5155 GB, free: 1.191 MB / 394.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.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_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat