Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001031/0.001031, allocations: 198.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.226/1.226, allocations: 227.2 MB / 245 MB, free: 5.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008305/0.0008306, allocations: 109.9 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000198/0.0001981, allocations: 8 kB / 358 MB, free: 9.203 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1971, allocations: 51.48 MB / 409.5 MB, free: 26.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1009/0.2981, allocations: 89.83 MB / 499.3 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.2984, allocations: 87.94 kB / 499.4 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0292/0.3276, allocations: 11.58 MB / 0.499 GB, free: 5.008 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3276, allocations: 0 / 0.499 GB, free: 5.008 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.896e-05/0.3277, allocations: 19.98 kB / 0.499 GB, free: 4.988 MB / 378.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.001647/0.3293, allocations: 0.981 MB / 0.5 GB, free: 3.945 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.3294, allocations: 12.03 kB / 0.5 GB, free: 3.934 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000125/0.3295, allocations: 106.5 kB / 0.5001 GB, free: 3.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002317/0.3297, allocations: 103 kB / 0.5002 GB, free: 3.719 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007426/0.3305, allocations: 0.494 MB / 0.5007 GB, free: 3.184 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.569e-05/0.3306, allocations: 53.31 kB / 0.5007 GB, free: 3.133 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-05/0.3307, allocations: 64 kB / 0.5008 GB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.3318, allocations: 0.7263 MB / 0.5015 GB, free: 2.312 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.3318, allocations: 0 / 0.5015 GB, free: 2.312 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.304e-05/0.3319, allocations: 28 kB / 0.5015 GB, free: 2.285 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.3319, allocations: 16 kB / 0.5016 GB, free: 2.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009822/0.3329, allocations: 0.5517 MB / 0.5021 GB, free: 1.715 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1675/0.5004, allocations: 2.675 MB / 0.5047 GB, free: 89.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.5015, allocations: 0.5466 MB / 0.5052 GB, free: 89.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/0.5016, allocations: 6.25 kB / 0.5053 GB, free: 89.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006179/0.5022, allocations: 358.2 kB / 0.5056 GB, free: 89.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 2.615e-06/0.5022, allocations: 5.062 kB / 0.5056 GB, free: 89.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.00253/0.5047, allocations: 1.015 MB / 0.5066 GB, free: 89.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.5048, allocations: 138.9 kB / 0.5067 GB, free: 89.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005899/0.5054, allocations: 458.7 kB / 0.5072 GB, free: 89.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.665e-05/0.5055, allocations: 44.59 kB / 0.5072 GB, free: 89.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.5057, allocations: 329.4 kB / 0.5075 GB, free: 89.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/0.5058, allocations: 170.9 kB / 0.5077 GB, free: 89.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.5058, allocations: 10.62 kB / 0.5077 GB, free: 89.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.609e-05/0.5059, allocations: 372.8 kB / 0.508 GB, free: 88.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/0.5063, allocations: 206.5 kB / 0.5082 GB, free: 88.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/0.5068, allocations: 376.3 kB / 0.5086 GB, free: 88.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004023/0.5072, allocations: 230.5 kB / 0.5088 GB, free: 88.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.5072, allocations: 1.531 kB / 0.5088 GB, free: 88.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00118/0.5084, allocations: 0.7122 MB / 0.5095 GB, free: 88.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002747/0.5087, allocations: 1.568 MB / 0.511 GB, free: 86.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.5087, allocations: 7.578 kB / 0.5111 GB, free: 86.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004881/0.5092, allocations: 149.2 kB / 0.5112 GB, free: 86.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003632/0.5096, allocations: 94.88 kB / 0.5113 GB, free: 86.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002452/0.512, allocations: 2.374 MB / 0.5136 GB, free: 85.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000455/0.5125, allocations: 94.58 kB / 0.5137 GB, free: 85.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.5125, allocations: 21.5 kB / 0.5137 GB, free: 85.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.632e-06/0.5126, allocations: 3.875 kB / 0.5137 GB, free: 85.29 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008082/0.5134, allocations: 0.614 MB / 0.5143 GB, free: 85.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.5134, allocations: 3.844 kB / 0.5143 GB, free: 85.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003228/0.5137, allocations: 150.1 kB / 0.5145 GB, free: 85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.514, allocations: 87.22 kB / 0.5145 GB, free: 84.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002011/0.516, allocations: 2.363 MB / 0.5169 GB, free: 83.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003869/0.5164, allocations: 75.39 kB / 0.5169 GB, free: 83.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.348e-05/0.5165, allocations: 24.5 kB / 0.517 GB, free: 83.09 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 () * Number of clocked 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.0003214/0.5168, allocations: 319.9 kB / 0.5173 GB, free: 82.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.147e-05/0.5169, allocations: 67.77 kB / 0.5173 GB, free: 82.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.517, allocations: 72.08 kB / 0.5174 GB, free: 82.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.517, allocations: 3.812 kB / 0.5174 GB, free: 82.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.517, allocations: 0 / 0.5174 GB, free: 82.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.517, allocations: 0 / 0.5174 GB, free: 82.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.5188, allocations: 1.409 MB / 0.5188 GB, free: 82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5188, allocations: 0 / 0.5188 GB, free: 82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/0.519, allocations: 50.16 kB / 0.5188 GB, free: 81.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000341/0.5193, allocations: 143.2 kB / 0.519 GB, free: 81.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/0.5194, allocations: 11.72 kB / 0.519 GB, free: 81.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/0.5215, allocations: 2.37 MB / 0.5213 GB, free: 80.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.5215, allocations: 3.281 kB / 0.5213 GB, free: 80.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.5227, allocations: 0.9417 MB / 0.5222 GB, free: 79.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.523, allocations: 190.3 kB / 0.5224 GB, free: 79.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.325e-05/0.523, allocations: 20.11 kB / 0.5224 GB, free: 79.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/0.5234, allocations: 42.09 kB / 0.5224 GB, free: 79.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.5235, allocations: 67.16 kB / 0.5225 GB, free: 79.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.5236, allocations: 22.08 kB / 0.5225 GB, free: 79.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000351/0.5239, allocations: 360.5 kB / 0.5229 GB, free: 79.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5239, allocations: 0 / 0.5229 GB, free: 79.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009396/0.5249, allocations: 339.9 kB / 0.5232 GB, free: 79.12 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) * Number of clocked states: 0 () * 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.001419/0.5263, allocations: 1.518 MB / 0.5247 GB, free: 78.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.5279, allocations: 1.217 MB / 0.5259 GB, free: 77.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5279, allocations: 1 kB / 0.5259 GB, free: 77.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005184/0.5284, allocations: 468.8 kB / 0.5263 GB, free: 77.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000489/0.5289, allocations: 109.8 kB / 0.5264 GB, free: 77.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.5317, allocations: 4.564 MB / 0.5309 GB, free: 73.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.5321, allocations: 0.9622 MB / 0.5318 GB, free: 72.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000317/0.5324, allocations: 97.97 kB / 0.5319 GB, free: 72.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.5327, allocations: 231.1 kB / 0.5321 GB, free: 72.38 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5327, allocations: 4 kB / 0.5321 GB, free: 72.37 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02635/0.5591, allocations: 15.45 MB / 0.5472 GB, free: 60.66 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/0.5592, allocations: 268.7 kB / 0.5475 GB, free: 60.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.202/2.761, allocations: 0 / 0.5475 GB, free: 60.3 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat does not exist to compare? outputFormat=mat