Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.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.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001977/0.001977, allocations: 195.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 225.4 MB / 240.1 MB, free: 15.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008806/0.0008806, allocations: 92.34 kB / 292.1 MB, free: 5.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.436e-05/4.447e-05, allocations: 8 kB / 350.7 MB, free: 2.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1162, allocations: 51.48 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3556/0.4718, allocations: 86.37 MB / 488.5 MB, free: 3.137 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/0.4722, allocations: 84.81 kB / 488.6 MB, free: 3.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05507/0.5273, allocations: 20.95 MB / 0.4976 GB, free: 15.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5274, allocations: 0 / 0.4976 GB, free: 15.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001389/0.5275, allocations: 31.94 kB / 0.4976 GB, free: 15.66 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.00337/0.5309, allocations: 1.303 MB / 0.4989 GB, free: 14.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.531, allocations: 12.03 kB / 0.4989 GB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005159/0.5315, allocations: 160.2 kB / 0.4991 GB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008872/0.5324, allocations: 170.3 kB / 0.4992 GB, free: 13.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004968/0.5374, allocations: 1.682 MB / 0.5009 GB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.156e-05/0.5375, allocations: 74 kB / 0.5009 GB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003694/0.5379, allocations: 101.6 kB / 0.501 GB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003346/0.5412, allocations: 1.388 MB / 0.5024 GB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.265e-05/0.5413, allocations: 7.859 kB / 0.5024 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/0.5414, allocations: 40 kB / 0.5024 GB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-05/0.5415, allocations: 42 kB / 0.5025 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002277/0.5438, allocations: 1.179 MB / 0.5036 GB, free: 9.359 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0075/0.5513, allocations: 4.359 MB / 0.5079 GB, free: 4.898 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.5533, allocations: 1.939 MB / 0.5098 GB, free: 2.738 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.5545, allocations: 0.724 MB / 0.5105 GB, free: 2.012 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.117e-05/0.5545, allocations: 12.77 kB / 0.5105 GB, free: 2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008439/0.5554, allocations: 0.5762 MB / 0.5111 GB, free: 1.402 MB / 378.7 MB Notification: Performance of pre-optimization done (n=75): time 3.477e-06/0.5554, allocations: 0 / 0.5111 GB, free: 1.402 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.00207/0.5575, allocations: 1.222 MB / 0.5123 GB, free: 172 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/0.5576, allocations: 114.3 kB / 0.5124 GB, free: 36 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.5588, allocations: 0.738 MB / 0.5131 GB, free: 15.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.883e-05/0.5589, allocations: 41.69 kB / 0.5131 GB, free: 15.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004721/0.5593, allocations: 495.8 kB / 0.5136 GB, free: 14.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/0.5596, allocations: 236.6 kB / 0.5138 GB, free: 14.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/0.5596, allocations: 16 kB / 0.5138 GB, free: 14.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.5598, allocations: 337.9 kB / 0.5142 GB, free: 14.17 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005438/0.5603, allocations: 377.4 kB / 0.5145 GB, free: 13.8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006556/0.561, allocations: 0.5152 MB / 0.515 GB, free: 13.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005912/0.5616, allocations: 415 kB / 0.5154 GB, free: 12.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.5616, allocations: 4 kB / 0.5154 GB, free: 12.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001896/0.5635, allocations: 1.256 MB / 0.5167 GB, free: 11.56 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.5635, allocations: 8 kB / 0.5167 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.5636, allocations: 4.438 kB / 0.5167 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.5646, allocations: 460.5 kB / 0.5171 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003698/0.565, allocations: 95.89 kB / 0.5172 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006633/0.5717, allocations: 5.1 MB / 0.5222 GB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007582/0.5725, allocations: 87.33 kB / 0.5223 GB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.5726, allocations: 28 kB / 0.5223 GB, free: 5.648 MB / 394.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 () * 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.0002568/0.5729, allocations: 150.6 kB / 0.5224 GB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002501/0.5731, allocations: 82.97 kB / 0.5225 GB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003536/0.5735, allocations: 116.6 kB / 0.5226 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.5735, allocations: 8 kB / 0.5226 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5735, allocations: 0 / 0.5226 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.5735, allocations: 7.938 kB / 0.5226 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004751/0.5783, allocations: 2.58 MB / 0.5252 GB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.5783, allocations: 4 kB / 0.5252 GB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.5786, allocations: 67.91 kB / 0.5252 GB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/0.5797, allocations: 461.1 kB / 0.5257 GB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.951e-05/0.5798, allocations: 19.64 kB / 0.5257 GB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007063/0.5869, allocations: 5.052 MB / 0.5306 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5869, allocations: 0 / 0.5306 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002839/0.5898, allocations: 1.861 MB / 0.5324 GB, free: 11.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006201/0.5904, allocations: 275.9 kB / 0.5327 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/0.5907, allocations: 12 kB / 0.5327 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005104/0.5912, allocations: 51.95 kB / 0.5328 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002084/0.5914, allocations: 68.67 kB / 0.5328 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.429e-05/0.5915, allocations: 23.98 kB / 0.5328 GB, free: 10.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009666/0.5924, allocations: 0.5811 MB / 0.5334 GB, free: 10.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5925, allocations: 0 / 0.5334 GB, free: 10.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001382/0.5938, allocations: 351 kB / 0.5337 GB, free: 9.664 MB / 410.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) * 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.003186/0.597, allocations: 2.437 MB / 0.5361 GB, free: 7.199 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002226/0.5993, allocations: 1.233 MB / 0.5373 GB, free: 5.953 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5993, allocations: 0 / 0.5373 GB, free: 5.953 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.6005, allocations: 0.7961 MB / 0.5381 GB, free: 5.145 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.6018, allocations: 242.4 kB / 0.5383 GB, free: 4.914 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004388/0.6062, allocations: 2.14 MB / 0.5404 GB, free: 2.727 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/0.6073, allocations: 1.353 MB / 0.5418 GB, free: 1.348 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004997/0.6078, allocations: 139.2 kB / 0.5419 GB, free: 1.207 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005514/0.6083, allocations: 379.3 kB / 0.5422 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6083, allocations: 3.938 kB / 0.5423 GB, free: 0.832 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05252/0.6609, allocations: 26.6 MB / 0.5682 GB, free: 6.652 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/0.6611, allocations: 223.3 kB / 0.5684 GB, free: 6.422 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.523/3.184, allocations: 0 / 0.5684 GB, free: 6.422 MB / 442.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat does not exist to compare? outputFormat=mat