Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.0009926/0.0009926, allocations: 177.7 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000824/0.0008241, allocations: 82.72 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.837e-05/1.84e-05, allocations: 0 / 315.6 MB, free: 22.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08021/0.08024, allocations: 47.59 MB / 363.2 MB, free: 6.961 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3058/0.386, allocations: 87.21 MB / 450.4 MB, free: 8.219 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.3863, allocations: 92.47 kB / 450.5 MB, free: 8.168 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02696/0.4133, allocations: 10.8 MB / 461.3 MB, free: 15.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4133, allocations: 4 kB / 461.3 MB, free: 15.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.234e-05/0.4134, allocations: 12 kB / 461.3 MB, free: 15.18 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001526/0.4149, allocations: 0.8672 MB / 462.2 MB, free: 14.31 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.415, allocations: 8.031 kB / 462.2 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.4151, allocations: 87.05 kB / 462.3 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007587/0.4159, allocations: 0.4892 MB / 462.8 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.14e-05/0.4159, allocations: 20 kB / 462.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.525e-05/0.416, allocations: 39.98 kB / 462.8 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000807/0.4168, allocations: 452 kB / 463.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009165/0.4178, allocations: 0.5629 MB / 463.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.4178, allocations: 4 kB / 463.8 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.503e-05/0.4179, allocations: 3.984 kB / 463.8 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.4179, allocations: 16 kB / 463.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003296/0.4212, allocations: 2.469 MB / 466.3 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000958/0.4222, allocations: 0.5303 MB / 466.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/0.4225, allocations: 243.6 kB / 467.1 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.4226, allocations: 4.438 kB / 467.1 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000473/0.423, allocations: 316.1 kB / 467.4 MB, free: 10.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=55): time 3.466e-06/0.4231, allocations: 0 / 467.4 MB, free: 10.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=55): time 0.0007746/0.4238, allocations: 490.5 kB / 467.9 MB, free: 9.836 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.4239, allocations: 115.1 kB / 468 MB, free: 9.699 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003693/0.4243, allocations: 364.6 kB / 468.3 MB, free: 9.418 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/0.4243, allocations: 33.2 kB / 468.4 MB, free: 9.383 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.4245, allocations: 309.6 kB / 468.7 MB, free: 9.152 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.4247, allocations: 157.7 kB / 468.8 MB, free: 9.016 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.396e-05/0.4247, allocations: 0 / 468.8 MB, free: 9.016 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.4248, allocations: 362.8 kB / 469.2 MB, free: 8.676 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.4251, allocations: 167.5 kB / 469.3 MB, free: 8.582 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/0.4254, allocations: 312.9 kB / 469.7 MB, free: 8.297 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.4257, allocations: 174.3 kB / 469.8 MB, free: 8.191 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4257, allocations: 0 / 469.8 MB, free: 8.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007963/0.4265, allocations: 0.5724 MB / 470.4 MB, free: 7.762 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005019/0.427, allocations: 1.578 MB / 472 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.427, allocations: 8 kB / 472 MB, free: 6.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004268/0.4275, allocations: 144.1 kB / 472.1 MB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.4278, allocations: 83.22 kB / 472.2 MB, free: 5.898 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/0.4301, allocations: 2.251 MB / 474.5 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004329/0.4305, allocations: 67.56 kB / 474.5 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.574e-05/0.4306, allocations: 27.05 kB / 474.5 MB, free: 3.879 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.4306, allocations: 7.953 kB / 474.6 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007082/0.4313, allocations: 489.2 kB / 475 MB, free: 3.539 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.4313, allocations: 4 kB / 475 MB, free: 3.535 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003384/0.4317, allocations: 141.9 kB / 475.2 MB, free: 3.434 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.432, allocations: 83.27 kB / 475.3 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002217/0.4342, allocations: 2.261 MB / 477.5 MB, free: 1.414 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004057/0.4346, allocations: 55.61 kB / 477.6 MB, free: 1.359 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.4347, allocations: 22.62 kB / 477.6 MB, free: 1.34 MB / 346.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 (59): * Single equations (assignments): 58 * 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.0001889/0.4349, allocations: 137.9 kB / 477.7 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007045/0.4356, allocations: 479.6 kB / 478.2 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-05/0.4357, allocations: 51.44 kB / 478.2 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.4358, allocations: 60.05 kB / 478.3 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.4358, allocations: 4 kB / 478.3 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.4358, allocations: 4 kB / 478.3 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.4358, allocations: 3.938 kB / 478.3 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/0.4374, allocations: 1.181 MB / 479.5 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4374, allocations: 0 / 479.5 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.4377, allocations: 46.97 kB / 479.5 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003424/0.438, allocations: 136.9 kB / 479.7 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.4381, allocations: 7.938 kB / 479.7 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/0.4402, allocations: 2.227 MB / 481.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4402, allocations: 0 / 481.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.4413, allocations: 0.8105 MB / 482.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.4415, allocations: 172.4 kB / 482.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.554e-05/0.4416, allocations: 15.98 kB / 482.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/0.4419, allocations: 31.97 kB / 482.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.4421, allocations: 64.41 kB / 483 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.4421, allocations: 16 kB / 483 MB, free: 12.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000287/0.4424, allocations: 271 kB / 483.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4424, allocations: 0 / 483.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001/0.4434, allocations: 295 kB / 483.6 MB, free: 12.17 MB / 362.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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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 (38): * Single equations (assignments): 32 * 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.001491/0.4449, allocations: 1.378 MB / 484.9 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.4465, allocations: 1.073 MB / 486 MB, free: 9.672 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4465, allocations: 4.062 kB / 486 MB, free: 9.668 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005154/0.4471, allocations: 403.6 kB / 486.4 MB, free: 9.266 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.4476, allocations: 87.05 kB / 486.5 MB, free: 9.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.4495, allocations: 0.9361 MB / 487.4 MB, free: 8.203 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/0.45, allocations: 0.9432 MB / 488.4 MB, free: 7.227 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003488/0.4503, allocations: 96.53 kB / 488.5 MB, free: 7.133 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/0.4506, allocations: 211.4 kB / 488.7 MB, free: 6.926 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.4506, allocations: 0 / 488.7 MB, free: 6.926 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03524/0.4858, allocations: 13.92 MB / 0.4908 GB, free: 8.98 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/0.4861, allocations: 196.4 kB / 0.491 GB, free: 8.719 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.259/2.745, allocations: 4 kB / 0.491 GB, free: 8.715 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat does not exist to compare? outputFormat=mat