Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",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.00119/0.00119, allocations: 180.8 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009069/0.0009068, allocations: 93.5 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002535/0.0002537, allocations: 8 kB / 351.2 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2255, allocations: 50.4 MB / 401.6 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09475/0.3203, allocations: 85.62 MB / 487.2 MB, free: 10.83 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.3206, allocations: 84.48 kB / 487.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0524/0.373, allocations: 20.8 MB / 0.4962 GB, free: 5.777 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.373, allocations: 0 / 0.4962 GB, free: 5.777 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.216e-05/0.3731, allocations: 28 kB / 0.4962 GB, free: 5.75 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002718/0.3759, allocations: 1.446 MB / 0.4976 GB, free: 4.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.3759, allocations: 15.97 kB / 0.4976 GB, free: 4.234 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000213/0.3761, allocations: 164.2 kB / 0.4978 GB, free: 4.066 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.3764, allocations: 138.4 kB / 0.4979 GB, free: 3.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004005/0.3804, allocations: 1.686 MB / 0.4996 GB, free: 2.199 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.463e-05/0.3804, allocations: 77.94 kB / 0.4997 GB, free: 2.125 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.3806, allocations: 96 kB / 0.4997 GB, free: 2.031 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/0.383, allocations: 1.425 MB / 0.5011 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/0.3831, allocations: 11.94 kB / 0.5011 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.3832, allocations: 40 kB / 0.5012 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.609e-05/0.3832, allocations: 42 kB / 0.5012 GB, free: 468 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1947/0.5779, allocations: 1.223 MB / 0.5024 GB, free: 91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006597/0.5846, allocations: 4.35 MB / 0.5067 GB, free: 89.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.5863, allocations: 1.967 MB / 0.5086 GB, free: 88.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.377e-05/0.5863, allocations: 8.797 kB / 0.5086 GB, free: 88.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000741/0.5871, allocations: 0.5966 MB / 0.5092 GB, free: 88.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=75): time 2.365e-06/0.5871, allocations: 0 / 0.5092 GB, free: 88.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.005958/0.5931, allocations: 2.825 MB / 0.5119 GB, free: 88.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.5931, allocations: 110.3 kB / 0.512 GB, free: 88.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008778/0.594, allocations: 0.737 MB / 0.5128 GB, free: 88.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.562e-05/0.5941, allocations: 44 kB / 0.5128 GB, free: 88.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003171/0.5944, allocations: 481.9 kB / 0.5133 GB, free: 87.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.5946, allocations: 237.8 kB / 0.5135 GB, free: 87.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.5946, allocations: 19.22 kB / 0.5135 GB, free: 87.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.5947, allocations: 397.2 kB / 0.5139 GB, free: 87.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004972/0.5952, allocations: 394.5 kB / 0.5143 GB, free: 87.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005543/0.5958, allocations: 0.5424 MB / 0.5148 GB, free: 86.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000537/0.5964, allocations: 444.3 kB / 0.5152 GB, free: 86.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.5964, allocations: 0 / 0.5152 GB, free: 86.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001681/0.5981, allocations: 1.308 MB / 0.5165 GB, free: 86.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.5981, allocations: 10.5 kB / 0.5165 GB, free: 86.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.5981, allocations: 0 / 0.5165 GB, free: 86.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009298/0.599, allocations: 469.2 kB / 0.517 GB, free: 86.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.5994, allocations: 100.2 kB / 0.5171 GB, free: 86.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005351/0.6048, allocations: 5.283 MB / 0.5222 GB, free: 83.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006393/0.6054, allocations: 92.02 kB / 0.5223 GB, free: 83.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.877e-05/0.6055, allocations: 23.06 kB / 0.5223 GB, free: 83.05 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.0007314/0.6062, allocations: 473.4 kB / 0.5228 GB, free: 82.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.6064, allocations: 85.06 kB / 0.5229 GB, free: 82.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.6066, allocations: 111.4 kB / 0.523 GB, free: 82.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.6066, allocations: 7.844 kB / 0.523 GB, free: 82.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.6066, allocations: 0 / 0.523 GB, free: 82.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.6066, allocations: 3.938 kB / 0.523 GB, free: 82.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003438/0.61, allocations: 2.633 MB / 0.5255 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.6101, allocations: 0 / 0.5255 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.6103, allocations: 57.34 kB / 0.5256 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008319/0.6112, allocations: 466.4 kB / 0.526 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.583e-05/0.6112, allocations: 11.5 kB / 0.5261 GB, free: 81.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005462/0.6167, allocations: 5.254 MB / 0.5312 GB, free: 77.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6167, allocations: 4 kB / 0.5312 GB, free: 77.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/0.619, allocations: 1.929 MB / 0.5331 GB, free: 75.56 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004346/0.6195, allocations: 270 kB / 0.5333 GB, free: 75.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.6196, allocations: 15.7 kB / 0.5333 GB, free: 75.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000392/0.62, allocations: 51.2 kB / 0.5334 GB, free: 75.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.6202, allocations: 71.73 kB / 0.5335 GB, free: 75.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.266e-05/0.6202, allocations: 25.5 kB / 0.5335 GB, free: 75.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006142/0.6208, allocations: 0.5845 MB / 0.5341 GB, free: 74.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6208, allocations: 3.391 kB / 0.5341 GB, free: 74.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009356/0.6218, allocations: 343 kB / 0.5344 GB, free: 74.37 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: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.002327/0.6241, allocations: 2.507 MB / 0.5368 GB, free: 72.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00172/0.6259, allocations: 1.287 MB / 0.5381 GB, free: 70.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6259, allocations: 0 / 0.5381 GB, free: 70.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009677/0.6269, allocations: 0.8298 MB / 0.5389 GB, free: 70.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009683/0.6278, allocations: 247.7 kB / 0.5391 GB, free: 70.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004213/0.6321, allocations: 5.638 MB / 0.5446 GB, free: 64.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007036/0.6328, allocations: 1.349 MB / 0.546 GB, free: 63.22 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004059/0.6332, allocations: 142.9 kB / 0.5461 GB, free: 63.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003822/0.6336, allocations: 375.3 kB / 0.5465 GB, free: 62.71 MB / 378.7 MB Notification: Performance of SimCode: time 1.433e-06/0.6336, allocations: 0 / 0.5465 GB, free: 62.71 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03735/0.671, allocations: 26.1 MB / 0.5719 GB, free: 37.25 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.6712, allocations: 260.7 kB / 0.5722 GB, free: 36.9 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.636/3.307, allocations: 0 / 0.5722 GB, free: 36.9 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat does not exist to compare? outputFormat=mat