Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001567/0.001571, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.08/2.08, allocations: 205.2 MB / 219.4 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001104, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.162e-05, allocations: 4 kB / 321.6 MB, free: 17.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09532/0.09538, allocations: 47.57 MB / 369.2 MB, free: 2.102 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4165/0.5119, allocations: 87.62 MB / 456.8 MB, free: 5.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/0.5123, allocations: 93.8 kB / 456.9 MB, free: 5.605 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05227/0.5646, allocations: 10.91 MB / 467.8 MB, free: 12.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.5646, allocations: 0 / 467.8 MB, free: 12.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.148e-05/0.5647, allocations: 12 kB / 467.8 MB, free: 12.38 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.002521/0.5672, allocations: 0.8651 MB / 468.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.5673, allocations: 8.031 kB / 468.7 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002646/0.5676, allocations: 114.4 kB / 468.8 MB, free: 11.4 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002495/0.5678, allocations: 83.06 kB / 468.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.5691, allocations: 489.9 kB / 469.4 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.764e-05/0.5692, allocations: 53.3 kB / 469.4 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.5694, allocations: 60 kB / 469.5 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.5712, allocations: 0.6592 MB / 470.2 MB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.648e-05/0.5713, allocations: 0 / 470.2 MB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.5714, allocations: 31.94 kB / 470.2 MB, free: 9.965 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.5714, allocations: 16 kB / 470.2 MB, free: 9.949 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.5729, allocations: 477.1 kB / 470.7 MB, free: 9.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006484/0.5795, allocations: 2.596 MB / 473.3 MB, free: 6.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.5814, allocations: 0.5647 MB / 473.8 MB, free: 6.191 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009222/0.5824, allocations: 316.1 kB / 474.1 MB, free: 5.883 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.585e-05/0.5824, allocations: 8.391 kB / 474.1 MB, free: 5.871 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008225/0.5833, allocations: 329.8 kB / 474.5 MB, free: 5.531 MB / 346.7 MB Notification: Performance of pre-optimization done (n=55): time 3.306e-06/0.5833, allocations: 0 / 474.5 MB, free: 5.531 MB / 346.7 MB Notification: Performance of matching and sorting (n=55): time 0.00155/0.5849, allocations: 0.5109 MB / 475 MB, free: 5.008 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.585, allocations: 119.3 kB / 475.1 MB, free: 4.867 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008694/0.5859, allocations: 427.8 kB / 475.5 MB, free: 4.445 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.881e-05/0.586, allocations: 45.69 kB / 475.6 MB, free: 4.395 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003326/0.5863, allocations: 350.8 kB / 475.9 MB, free: 4.051 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001993/0.5865, allocations: 153.8 kB / 476 MB, free: 3.898 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.5866, allocations: 12 kB / 476.1 MB, free: 3.887 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.5868, allocations: 334.8 kB / 476.4 MB, free: 3.551 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005236/0.5873, allocations: 177.5 kB / 476.6 MB, free: 3.379 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006873/0.588, allocations: 325.5 kB / 476.9 MB, free: 2.996 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005511/0.5886, allocations: 191.2 kB / 477.1 MB, free: 2.809 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/0.5886, allocations: 0 / 477.1 MB, free: 2.809 MB / 346.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001803/0.5904, allocations: 0.6085 MB / 477.7 MB, free: 2.191 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007436/0.5912, allocations: 1.574 MB / 479.2 MB, free: 0.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.5912, allocations: 4 kB / 479.3 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008211/0.592, allocations: 148.8 kB / 479.4 MB, free: 356 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006528/0.5927, allocations: 87.83 kB / 479.5 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004453/0.5972, allocations: 2.324 MB / 481.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008976/0.5981, allocations: 87.5 kB / 481.9 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.226e-05/0.5982, allocations: 24 kB / 481.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.5982, allocations: 0 / 481.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001558/0.5998, allocations: 0.5604 MB / 482.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.5999, allocations: 4 kB / 482.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006513/0.6005, allocations: 152.8 kB / 482.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005843/0.6011, allocations: 88.27 kB / 482.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004267/0.6054, allocations: 2.294 MB / 485 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00067/0.6061, allocations: 75.61 kB / 485.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.767e-05/0.6062, allocations: 20 kB / 485.1 MB, free: 10.37 MB / 362.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.0002858/0.6065, allocations: 144 kB / 485.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/0.6067, allocations: 59.33 kB / 485.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.6069, allocations: 65.38 kB / 485.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.607, allocations: 8 kB / 485.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.607, allocations: 7.891 kB / 485.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.607, allocations: 8.062 kB / 485.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003276/0.6103, allocations: 1.317 MB / 486.7 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.6103, allocations: 7.984 kB / 486.7 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004001/0.6108, allocations: 39.95 kB / 486.8 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006785/0.6115, allocations: 144.7 kB / 486.9 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.398e-05/0.6115, allocations: 8 kB / 486.9 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004236/0.6158, allocations: 2.311 MB / 489.2 MB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6158, allocations: 0 / 489.2 MB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002352/0.6182, allocations: 0.8766 MB / 490.1 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004269/0.6186, allocations: 188.3 kB / 490.3 MB, free: 4.949 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.6188, allocations: 15.95 kB / 490.3 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006549/0.6195, allocations: 35.97 kB / 490.3 MB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002469/0.6197, allocations: 60.34 kB / 490.4 MB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.6198, allocations: 23.98 kB / 490.4 MB, free: 4.816 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006976/0.6206, allocations: 321.6 kB / 490.7 MB, free: 4.504 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6206, allocations: 0 / 490.7 MB, free: 4.504 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001697/0.6223, allocations: 327.1 kB / 491 MB, free: 4.184 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.004501/0.6268, allocations: 1.517 MB / 492.6 MB, free: 2.633 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004317/0.6312, allocations: 1.128 MB / 493.7 MB, free: 1.477 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/0.6313, allocations: 0.5625 kB / 493.7 MB, free: 1.477 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001532/0.6328, allocations: 440.9 kB / 494.1 MB, free: 1.031 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.6343, allocations: 103.5 kB / 494.2 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005403/0.6397, allocations: 1.015 MB / 495.2 MB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/0.6408, allocations: 0.9467 MB / 496.2 MB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007494/0.6416, allocations: 227.3 kB / 496.4 MB, free: 14.67 MB / 378.7 MB Notification: Performance of SimCode: time 1.943e-06/0.6416, allocations: 0 / 496.4 MB, free: 14.67 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.993/3.634, allocations: 13.29 MB / 0.4977 GB, free: 1.352 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse.fmu > Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat does not exist to compare? outputFormat=mat