Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",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.001303/0.001303, allocations: 180.6 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.284/1.284, allocations: 223.2 MB / 240.3 MB, free: 10.16 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.0009822/0.0009821, allocations: 101.2 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002919/0.000292, allocations: 8 kB / 351.2 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2354, allocations: 50.41 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1041/0.3396, allocations: 85.14 MB / 486.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/0.3399, allocations: 87.94 kB / 486.8 MB, free: 11.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05794/0.3979, allocations: 21.58 MB / 0.4965 GB, free: 5.441 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3979, allocations: 4 kB / 0.4965 GB, free: 5.438 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001233/0.3981, allocations: 24 kB / 0.4965 GB, free: 5.414 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.004164/0.4023, allocations: 1.564 MB / 0.498 GB, free: 3.797 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.4023, allocations: 8.031 kB / 0.498 GB, free: 3.789 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006384/0.403, allocations: 168.6 kB / 0.4982 GB, free: 3.613 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008188/0.4038, allocations: 150.2 kB / 0.4983 GB, free: 3.465 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00355/0.4074, allocations: 0.9493 MB / 0.4993 GB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.867e-05/0.4075, allocations: 86.05 kB / 0.4994 GB, free: 2.383 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003679/0.4079, allocations: 103.9 kB / 0.4995 GB, free: 2.281 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004331/0.4122, allocations: 1.533 MB / 0.501 GB, free: 0.668 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.348e-05/0.4123, allocations: 3.953 kB / 0.501 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/0.4125, allocations: 47.98 kB / 0.501 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/0.4126, allocations: 54.02 kB / 0.5011 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2228/0.6354, allocations: 1.37 MB / 0.5024 GB, free: 90.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01481/0.6503, allocations: 4.986 MB / 0.5073 GB, free: 89.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002593/0.6529, allocations: 1.454 MB / 0.5087 GB, free: 88.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.559e-05/0.653, allocations: 10.86 kB / 0.5087 GB, free: 88.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001488/0.6545, allocations: 0.6131 MB / 0.5093 GB, free: 88.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 4.839e-06/0.6545, allocations: 0 / 0.5093 GB, free: 88.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.00901/0.6636, allocations: 2.478 MB / 0.5117 GB, free: 88.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.6637, allocations: 85.95 kB / 0.5118 GB, free: 88.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/0.6656, allocations: 0.8447 MB / 0.5126 GB, free: 88.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000169/0.6658, allocations: 40.45 kB / 0.5127 GB, free: 88.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006042/0.6665, allocations: 0.5122 MB / 0.5132 GB, free: 87.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003152/0.6668, allocations: 236.2 kB / 0.5134 GB, free: 87.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.055e-05/0.6669, allocations: 15.25 kB / 0.5134 GB, free: 87.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.669e-05/0.667, allocations: 330.4 kB / 0.5137 GB, free: 87.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.668, allocations: 416.8 kB / 0.5141 GB, free: 87.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.6691, allocations: 0.5525 MB / 0.5146 GB, free: 87.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009738/0.6701, allocations: 455.3 kB / 0.5151 GB, free: 86.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.6701, allocations: 2.844 kB / 0.5151 GB, free: 86.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002841/0.673, allocations: 1.298 MB / 0.5164 GB, free: 86.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.673, allocations: 3.812 kB / 0.5164 GB, free: 86.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.6731, allocations: 3.688 kB / 0.5164 GB, free: 86.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/0.6745, allocations: 394.2 kB / 0.5167 GB, free: 86.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007905/0.6753, allocations: 116.1 kB / 0.5168 GB, free: 86.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006951/0.6823, allocations: 4.269 MB / 0.521 GB, free: 83.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.6834, allocations: 91.59 kB / 0.5211 GB, free: 83.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.6836, allocations: 22.75 kB / 0.5211 GB, free: 83.69 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 (58): * Single equations (assignments): 57 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.00114/0.6847, allocations: 495.6 kB / 0.5216 GB, free: 83.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003392/0.6851, allocations: 89.28 kB / 0.5217 GB, free: 83.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003999/0.6855, allocations: 118.6 kB / 0.5218 GB, free: 83.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.6855, allocations: 9.625 kB / 0.5218 GB, free: 83.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.6855, allocations: 0 / 0.5218 GB, free: 83.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.6855, allocations: 3.797 kB / 0.5218 GB, free: 83.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00567/0.6912, allocations: 2.589 MB / 0.5243 GB, free: 82.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.6913, allocations: 0 / 0.5243 GB, free: 82.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005927/0.6919, allocations: 89.06 kB / 0.5244 GB, free: 82.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00103/0.6929, allocations: 391.5 kB / 0.5248 GB, free: 82.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.311e-05/0.693, allocations: 11.88 kB / 0.5248 GB, free: 82.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006812/0.6998, allocations: 4.228 MB / 0.5289 GB, free: 79.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.6999, allocations: 0 / 0.5289 GB, free: 79.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004305/0.7042, allocations: 1.969 MB / 0.5309 GB, free: 77.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007005/0.7049, allocations: 289 kB / 0.5311 GB, free: 77.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002802/0.7052, allocations: 12 kB / 0.5311 GB, free: 77.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000853/0.7061, allocations: 50.48 kB / 0.5312 GB, free: 77.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002908/0.7064, allocations: 79.17 kB / 0.5313 GB, free: 77.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.74e-05/0.7065, allocations: 19.52 kB / 0.5313 GB, free: 77.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001381/0.7079, allocations: 0.6641 MB / 0.5319 GB, free: 76.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.014e-06/0.7079, allocations: 0 / 0.5319 GB, free: 76.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001724/0.7096, allocations: 362.4 kB / 0.5323 GB, free: 76.18 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 (45): * Single equations (assignments): 41 * 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 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.00457/0.7142, allocations: 2.557 MB / 0.5348 GB, free: 73.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00309/0.7173, allocations: 1.287 MB / 0.536 GB, free: 72.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.7173, allocations: 0 / 0.536 GB, free: 72.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001703/0.7191, allocations: 0.8116 MB / 0.5368 GB, free: 72.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/0.7208, allocations: 230.6 kB / 0.537 GB, free: 71.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009451/0.7303, allocations: 5.852 MB / 0.5428 GB, free: 66.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001561/0.7319, allocations: 1.417 MB / 0.5441 GB, free: 65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001269/0.7332, allocations: 170.7 kB / 0.5443 GB, free: 64.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009621/0.7342, allocations: 415.3 kB / 0.5447 GB, free: 64.43 MB / 378.7 MB Notification: Performance of SimCode: time 1.373e-06/0.7342, allocations: 3.938 kB / 0.5447 GB, free: 64.42 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05246/0.7867, allocations: 25.4 MB / 0.5695 GB, free: 39.69 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/0.7869, allocations: 260.4 kB / 0.5698 GB, free: 39.33 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.48/3.267, allocations: 3.281 kB / 0.5698 GB, free: 39.33 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat does not exist to compare? outputFormat=mat