Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.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.HalfControlledBridge2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse",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.0013/0.0013, 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.358/1.358, allocations: 221.5 MB / 230.3 MB, free: 7.52 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.0008587/0.0008586, allocations: 97.84 kB / 281.2 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.747e-05/1.75e-05, allocations: 4 kB / 337.2 MB, free: 9.902 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08689/0.08692, allocations: 50.43 MB / 387.6 MB, free: 7.438 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2856/0.3726, allocations: 88.26 MB / 475.8 MB, free: 6.406 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.3729, allocations: 79.95 kB / 475.9 MB, free: 6.328 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02882/0.4018, allocations: 11.3 MB / 487.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4018, allocations: 0 / 487.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.544e-05/0.4019, allocations: 20 kB / 487.2 MB, free: 10.95 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001472/0.4034, allocations: 0.8842 MB / 488.1 MB, free: 10 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.4034, allocations: 8.031 kB / 488.1 MB, free: 9.996 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.4035, allocations: 86.97 kB / 488.2 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007216/0.4043, allocations: 0.4923 MB / 488.7 MB, free: 9.375 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.937e-05/0.4043, allocations: 27.94 kB / 488.7 MB, free: 9.348 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.487e-05/0.4044, allocations: 47.89 kB / 488.8 MB, free: 9.301 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008823/0.4053, allocations: 478.5 kB / 489.3 MB, free: 8.832 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009795/0.4063, allocations: 0.5989 MB / 489.9 MB, free: 8.207 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.4063, allocations: 7.938 kB / 489.9 MB, free: 8.199 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.779e-05/0.4064, allocations: 4 kB / 489.9 MB, free: 8.195 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.4064, allocations: 19.94 kB / 489.9 MB, free: 8.176 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003588/0.41, allocations: 2.532 MB / 492.4 MB, free: 5.539 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008269/0.4109, allocations: 0.4895 MB / 492.9 MB, free: 5.039 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003813/0.4113, allocations: 258.5 kB / 493.2 MB, free: 4.781 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.03e-05/0.4113, allocations: 4.438 kB / 493.2 MB, free: 4.777 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005012/0.4118, allocations: 338.3 kB / 493.5 MB, free: 4.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 2.464e-06/0.4118, allocations: 0 / 493.5 MB, free: 4.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.0008072/0.4126, allocations: 0.4914 MB / 494 MB, free: 3.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.4127, allocations: 137.1 kB / 494.1 MB, free: 3.762 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004289/0.4132, allocations: 373.1 kB / 494.5 MB, free: 3.395 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.634e-05/0.4132, allocations: 37.69 kB / 494.5 MB, free: 3.352 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.4134, allocations: 320.2 kB / 494.8 MB, free: 3.031 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.4135, allocations: 165.6 kB / 495 MB, free: 2.867 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.4136, allocations: 0 / 495 MB, free: 2.867 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.4137, allocations: 362.8 kB / 495.3 MB, free: 2.504 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.414, allocations: 177.5 kB / 495.5 MB, free: 2.332 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/0.4143, allocations: 329.5 kB / 495.8 MB, free: 1.945 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.4146, allocations: 190 kB / 496 MB, free: 1.762 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.4146, allocations: 8 kB / 496 MB, free: 1.754 MB / 362.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0008827/0.4155, allocations: 0.5888 MB / 496.6 MB, free: 1.156 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005218/0.416, allocations: 1.567 MB / 498.2 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.416, allocations: 7.984 kB / 498.2 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000452/0.4165, allocations: 150.1 kB / 498.3 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.4169, allocations: 87.89 kB / 498.4 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002504/0.4194, allocations: 2.265 MB / 0.489 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005509/0.42, allocations: 67.66 kB / 0.489 GB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.783e-05/0.42, allocations: 23.98 kB / 0.489 GB, free: 12.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.717e-06/0.42, allocations: 4 kB / 0.4891 GB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008648/0.4209, allocations: 0.5057 MB / 0.4895 GB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.4209, allocations: 4 kB / 0.4895 GB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003782/0.4213, allocations: 150.9 kB / 0.4897 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003041/0.4216, allocations: 83.83 kB / 0.4898 GB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.4239, allocations: 2.26 MB / 0.492 GB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004255/0.4243, allocations: 55.64 kB / 0.492 GB, free: 9.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.4244, allocations: 24 kB / 0.4921 GB, free: 9.555 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: 27 ($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,rectifier.diode_n1.off,rectifier.diode_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 (61): * Single equations (assignments): 60 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001934/0.4246, allocations: 141.6 kB / 0.4922 GB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007549/0.4254, allocations: 0.4914 MB / 0.4927 GB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.836e-05/0.4254, allocations: 55.34 kB / 0.4927 GB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.4256, allocations: 61.58 kB / 0.4928 GB, free: 8.797 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.4256, allocations: 12.08 kB / 0.4928 GB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.4256, allocations: 0 / 0.4928 GB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.4256, allocations: 0 / 0.4928 GB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.4273, allocations: 1.242 MB / 0.494 GB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4273, allocations: 0 / 0.494 GB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002352/0.4276, allocations: 43.92 kB / 0.494 GB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003431/0.4279, allocations: 138.3 kB / 0.4942 GB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.6e-05/0.428, allocations: 11.98 kB / 0.4942 GB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002348/0.4303, allocations: 2.219 MB / 0.4964 GB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4303, allocations: 0 / 0.4964 GB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.4317, allocations: 0.8624 MB / 0.4972 GB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002487/0.432, allocations: 184.3 kB / 0.4974 GB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.579e-05/0.4321, allocations: 4 kB / 0.4974 GB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004291/0.4325, allocations: 39.97 kB / 0.4974 GB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.4327, allocations: 60.42 kB / 0.4975 GB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.85e-05/0.4327, allocations: 19.98 kB / 0.4975 GB, free: 3.762 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003554/0.4331, allocations: 275 kB / 0.4978 GB, free: 3.496 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4331, allocations: 4 kB / 0.4978 GB, free: 3.492 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001175/0.4343, allocations: 295.1 kB / 0.498 GB, free: 3.203 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: 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.diode_n1.off,rectifier.diode_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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.001836/0.4361, allocations: 1.445 MB / 0.4995 GB, free: 1.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001935/0.4381, allocations: 1.111 MB / 0.5005 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4381, allocations: 0.6875 kB / 0.5005 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005314/0.4387, allocations: 419.5 kB / 0.5009 GB, free: 184 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/0.4392, allocations: 85.92 kB / 0.501 GB, free: 96 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.4411, allocations: 0.9985 MB / 0.502 GB, free: 15.06 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004582/0.4416, allocations: 0.955 MB / 0.5029 GB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003856/0.442, allocations: 112.9 kB / 0.503 GB, free: 13.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.4423, allocations: 219.4 kB / 0.5032 GB, free: 13.75 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.4423, allocations: 0 / 0.5032 GB, free: 13.75 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03692/0.4792, allocations: 14.29 MB / 0.5172 GB, free: 15.63 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/0.4795, allocations: 198.2 kB / 0.5174 GB, free: 15.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.31/2.789, allocations: 0 / 0.5174 GB, free: 15.37 MB / 410.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat does not exist to compare? outputFormat=mat