Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001053/0.001053, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.227/1.227, allocations: 227.2 MB / 245 MB, free: 7.633 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008194/0.0008195, allocations: 102.9 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002077/0.0002077, allocations: 4 kB / 358 MB, free: 9.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2006, allocations: 51.49 MB / 409.5 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09355/0.2942, allocations: 82.93 MB / 492.4 MB, free: 7.676 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.2944, allocations: 88.84 kB / 492.5 MB, free: 7.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01866/0.3131, allocations: 7.465 MB / 0.4883 GB, free: 80 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3131, allocations: 0 / 0.4883 GB, free: 80 kB / 362.7 MB Notification: Performance of Transformations before backend: time 2.172e-05/0.3131, allocations: 12 kB / 0.4883 GB, free: 68 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001112/0.3142, allocations: 0.7128 MB / 0.489 GB, free: 15.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3143, allocations: 12.03 kB / 0.489 GB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.094e-05/0.3144, allocations: 86.47 kB / 0.4891 GB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.3146, allocations: 67.33 kB / 0.4891 GB, free: 15.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004612/0.315, allocations: 371.6 kB / 0.4895 GB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.3151, allocations: 29 kB / 0.4895 GB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.959e-05/0.3152, allocations: 44 kB / 0.4896 GB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007281/0.3159, allocations: 461.5 kB / 0.49 GB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.3159, allocations: 4 kB / 0.49 GB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.024e-05/0.316, allocations: 20 kB / 0.49 GB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.316, allocations: 8 kB / 0.49 GB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005966/0.3166, allocations: 323.8 kB / 0.4904 GB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002374/0.319, allocations: 1.888 MB / 0.4922 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007134/0.3197, allocations: 0.611 MB / 0.4928 GB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.3197, allocations: 4.328 kB / 0.4928 GB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004058/0.3201, allocations: 273.2 kB / 0.4931 GB, free: 10.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 3.607e-06/0.3202, allocations: 0 / 0.4931 GB, free: 10.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.002108/0.3223, allocations: 0.8432 MB / 0.4939 GB, free: 10.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.3223, allocations: 85.09 kB / 0.494 GB, free: 9.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.3226, allocations: 279.6 kB / 0.4942 GB, free: 9.629 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.3227, allocations: 41.69 kB / 0.4943 GB, free: 9.582 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.3228, allocations: 212.4 kB / 0.4945 GB, free: 9.367 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.999e-05/0.3229, allocations: 138 kB / 0.4946 GB, free: 9.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-05/0.323, allocations: 12 kB / 0.4946 GB, free: 9.219 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.3231, allocations: 346.8 kB / 0.4949 GB, free: 8.871 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.3233, allocations: 121.1 kB / 0.4951 GB, free: 8.754 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/0.3236, allocations: 252.1 kB / 0.4953 GB, free: 8.453 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/0.3239, allocations: 128 kB / 0.4954 GB, free: 8.328 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.3239, allocations: 4 kB / 0.4954 GB, free: 8.324 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008241/0.3247, allocations: 0.5211 MB / 0.4959 GB, free: 7.793 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3247, allocations: 7.938 kB / 0.4959 GB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.3248, allocations: 4 kB / 0.4959 GB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004317/0.3252, allocations: 148.9 kB / 0.4961 GB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.3254, allocations: 67.91 kB / 0.4962 GB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00261/0.3281, allocations: 2.344 MB / 0.4984 GB, free: 5.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.3283, allocations: 51.66 kB / 0.4985 GB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.3284, allocations: 16 kB / 0.4985 GB, free: 5.023 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: 13 ($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_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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.0001972/0.3286, allocations: 169.8 kB / 0.4987 GB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.567e-05/0.3286, allocations: 39.53 kB / 0.4987 GB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.917e-05/0.3287, allocations: 44.41 kB / 0.4987 GB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.3287, allocations: 8 kB / 0.4988 GB, free: 4.758 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3288, allocations: 7.953 kB / 0.4988 GB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.3288, allocations: 3.984 kB / 0.4988 GB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.3302, allocations: 1.015 MB / 0.4998 GB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3302, allocations: 0 / 0.4998 GB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.3304, allocations: 39.92 kB / 0.4998 GB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003693/0.3307, allocations: 148.7 kB / 0.4999 GB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.3308, allocations: 11.98 kB / 0.4999 GB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002498/0.3333, allocations: 2.322 MB / 0.5022 GB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3333, allocations: 0 / 0.5022 GB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.3344, allocations: 0.7156 MB / 0.5029 GB, free: 292 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.3345, allocations: 152.6 kB / 0.5031 GB, free: 120 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.046e-05/0.3346, allocations: 8 kB / 0.5031 GB, free: 112 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.3348, allocations: 15.98 kB / 0.5031 GB, free: 96 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.327e-05/0.3349, allocations: 35.91 kB / 0.5031 GB, free: 60 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.335, allocations: 12 kB / 0.5031 GB, free: 48 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.1628/0.4978, allocations: 222.2 kB / 0.5033 GB, free: 94.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4978, allocations: 0 / 0.5033 GB, free: 94.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008582/0.4987, allocations: 147.6 kB / 0.5035 GB, free: 94.65 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (26): * Single equations (assignments): 22 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.001468/0.5002, allocations: 1.269 MB / 0.5047 GB, free: 93.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.5012, allocations: 0.539 MB / 0.5052 GB, free: 93.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5013, allocations: 3.406 kB / 0.5053 GB, free: 93.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006093/0.5019, allocations: 379.7 kB / 0.5056 GB, free: 93.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.5023, allocations: 70.81 kB / 0.5057 GB, free: 93.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.5047, allocations: 3.679 MB / 0.5093 GB, free: 90.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.505, allocations: 0.8414 MB / 0.5101 GB, free: 89.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001464/0.5051, allocations: 36.84 kB / 0.5101 GB, free: 89.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.5053, allocations: 144.7 kB / 0.5103 GB, free: 89.95 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5053, allocations: 0 / 0.5103 GB, free: 89.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02131/0.5266, allocations: 9.626 MB / 0.5197 GB, free: 88.53 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/0.5268, allocations: 256.5 kB / 0.5199 GB, free: 88.2 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.03/2.557, allocations: 0 / 0.5199 GB, free: 88.2 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat does not exist to compare? outputFormat=mat