Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV",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.001401/0.001401, allocations: 176.4 kB / 8.346 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.353/1.353, allocations: 221.5 MB / 230.3 MB, free: 7.59 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.0008436/0.0008436, allocations: 96.36 kB / 281.2 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.44e-05/2.443e-05, allocations: 4 kB / 337.2 MB, free: 9.941 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1085, allocations: 50.42 MB / 387.6 MB, free: 7.484 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3645/0.4731, allocations: 88.81 MB / 476.4 MB, free: 5.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.4734, allocations: 91.94 kB / 476.5 MB, free: 5.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03838/0.5119, allocations: 14.9 MB / 491.4 MB, free: 6.848 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5119, allocations: 0 / 491.4 MB, free: 6.848 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.344e-05/0.512, allocations: 16 kB / 491.4 MB, free: 6.832 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.001582/0.5135, allocations: 0.9174 MB / 492.3 MB, free: 5.863 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.5136, allocations: 11.97 kB / 492.3 MB, free: 5.852 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.5138, allocations: 94.88 kB / 492.4 MB, free: 5.758 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007661/0.5146, allocations: 0.5124 MB / 492.9 MB, free: 5.199 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/0.5146, allocations: 24 kB / 492.9 MB, free: 5.176 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-05/0.5147, allocations: 47.98 kB / 493 MB, free: 5.129 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008686/0.5156, allocations: 495.9 kB / 493.5 MB, free: 4.645 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.5166, allocations: 0.6506 MB / 494.1 MB, free: 3.965 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.5167, allocations: 3.906 kB / 494.1 MB, free: 3.961 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.759e-05/0.5167, allocations: 3.984 kB / 494.1 MB, free: 3.957 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.5168, allocations: 16 kB / 494.1 MB, free: 3.941 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003674/0.5204, allocations: 2.639 MB / 496.8 MB, free: 1.191 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007972/0.5213, allocations: 0.5302 MB / 497.3 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006393/0.5219, allocations: 376.9 kB / 497.7 MB, free: 296 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.024e-05/0.522, allocations: 4.562 kB / 497.7 MB, free: 292 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005036/0.5225, allocations: 348.8 kB / 498 MB, free: 15.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 2.004e-06/0.5225, allocations: 0 / 498 MB, free: 15.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.0008867/0.5234, allocations: 0.5235 MB / 498.6 MB, free: 15.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.401e-05/0.5235, allocations: 149.1 kB / 498.7 MB, free: 15.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004013/0.5239, allocations: 381 kB / 499.1 MB, free: 14.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/0.5239, allocations: 29.7 kB / 499.1 MB, free: 14.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.5242, allocations: 336 kB / 499.4 MB, free: 14.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.5243, allocations: 173.5 kB / 499.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.5243, allocations: 0 / 499.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5244, allocations: 370.7 kB / 500 MB, free: 13.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/0.5247, allocations: 189.5 kB / 0.4884 GB, free: 13.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000375/0.5251, allocations: 349.3 kB / 0.4888 GB, free: 13.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.5254, allocations: 210 kB / 0.489 GB, free: 13.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.5255, allocations: 0 / 0.489 GB, free: 13.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0009878/0.5264, allocations: 0.6523 MB / 0.4896 GB, free: 12.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005004/0.527, allocations: 1.574 MB / 0.4911 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.527, allocations: 4 kB / 0.4911 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004803/0.5275, allocations: 157.6 kB / 0.4913 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.5279, allocations: 99.81 kB / 0.4914 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003039/0.5309, allocations: 3.504 MB / 0.4948 GB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000475/0.5314, allocations: 75.56 kB / 0.4949 GB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-05/0.5314, allocations: 23.98 kB / 0.4949 GB, free: 6.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.813e-06/0.5315, allocations: 4 kB / 0.4949 GB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008665/0.5323, allocations: 0.5576 MB / 0.4954 GB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.5323, allocations: 4 kB / 0.4954 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003576/0.5327, allocations: 158 kB / 0.4956 GB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/0.5331, allocations: 100 kB / 0.4957 GB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002922/0.536, allocations: 3.504 MB / 0.4991 GB, free: 2.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/0.5364, allocations: 55.72 kB / 0.4992 GB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.642e-05/0.5364, allocations: 24 kB / 0.4992 GB, free: 2.008 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: 29 ($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_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.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 (68): * Single equations (assignments): 66 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001672/0.5366, allocations: 143.9 kB / 0.4993 GB, free: 1.867 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007821/0.5374, allocations: 0.5273 MB / 0.4998 GB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.349e-05/0.5375, allocations: 55.34 kB / 0.4999 GB, free: 1.273 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.5377, allocations: 65.66 kB / 0.5 GB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.5377, allocations: 8 kB / 0.5 GB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.5377, allocations: 0 / 0.5 GB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.5377, allocations: 7.969 kB / 0.5 GB, free: 1.195 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.5396, allocations: 1.336 MB / 0.5013 GB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5396, allocations: 0 / 0.5013 GB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002735/0.5399, allocations: 59.89 kB / 0.5013 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003578/0.5403, allocations: 149.6 kB / 0.5015 GB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.5403, allocations: 7.938 kB / 0.5015 GB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002836/0.5432, allocations: 3.383 MB / 0.5048 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5432, allocations: 0 / 0.5048 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.5446, allocations: 0.9491 MB / 0.5057 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/0.5448, allocations: 184.3 kB / 0.5059 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.601e-05/0.5449, allocations: 7.984 kB / 0.5059 GB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/0.5452, allocations: 31.97 kB / 0.5059 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.5454, allocations: 76.45 kB / 0.506 GB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.5454, allocations: 19.98 kB / 0.506 GB, free: 10.67 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003102/0.5458, allocations: 287 kB / 0.5063 GB, free: 10.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.753e-06/0.5458, allocations: 0 / 0.5063 GB, free: 10.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001167/0.5469, allocations: 330.8 kB / 0.5066 GB, free: 10.07 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 20 (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_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001695/0.5486, allocations: 1.508 MB / 0.5081 GB, free: 8.527 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00176/0.5504, allocations: 1.333 MB / 0.5094 GB, free: 7.148 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5504, allocations: 0.8125 kB / 0.5094 GB, free: 7.148 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000593/0.551, allocations: 0.5207 MB / 0.5099 GB, free: 6.609 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005431/0.5516, allocations: 104.3 kB / 0.51 GB, free: 6.508 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.5539, allocations: 1.115 MB / 0.5111 GB, free: 5.352 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005128/0.5544, allocations: 0.9748 MB / 0.512 GB, free: 4.352 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004157/0.5548, allocations: 112.7 kB / 0.5121 GB, free: 4.238 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/0.5552, allocations: 244.8 kB / 0.5124 GB, free: 4 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5552, allocations: 3.938 kB / 0.5124 GB, free: 3.996 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04676/0.6019, allocations: 14.99 MB / 0.527 GB, free: 5.188 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/0.6022, allocations: 201.1 kB / 0.5272 GB, free: 4.922 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.317/2.919, allocations: 0 / 0.5272 GB, free: 4.922 MB / 410.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat