Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 180.9 kB / 16.39 MB, free: 5.766 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.308/1.308, allocations: 223.2 MB / 240.3 MB, free: 10.17 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.0008901/0.0008901, allocations: 97.83 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002322/0.0002321, allocations: 8 kB / 351.2 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2248, allocations: 50.41 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09893/0.3237, allocations: 82.11 MB / 483.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.3241, allocations: 87.94 kB / 483.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0191/0.3432, allocations: 7.3 MB / 491.1 MB, free: 6.887 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3432, allocations: 4 kB / 491.1 MB, free: 6.883 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.471e-05/0.3432, allocations: 12 kB / 491.1 MB, free: 6.871 MB / 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.00118/0.3444, allocations: 0.7011 MB / 491.8 MB, free: 6.121 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3445, allocations: 8.031 kB / 491.8 MB, free: 6.113 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.3446, allocations: 82.52 kB / 491.9 MB, free: 6.023 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.3447, allocations: 59.28 kB / 492 MB, free: 5.965 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005063/0.3452, allocations: 351.1 kB / 492.3 MB, free: 5.582 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.3452, allocations: 36.98 kB / 492.3 MB, free: 5.547 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-05/0.3453, allocations: 40 kB / 492.4 MB, free: 5.508 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007614/0.3461, allocations: 457.5 kB / 492.8 MB, free: 5.039 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.3461, allocations: 3.953 kB / 492.8 MB, free: 5.035 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/0.3462, allocations: 20 kB / 492.8 MB, free: 5.016 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.3462, allocations: 11.98 kB / 492.9 MB, free: 5.004 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005919/0.3468, allocations: 332 kB / 493.2 MB, free: 4.676 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.3492, allocations: 1.868 MB / 495 MB, free: 2.703 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009007/0.3501, allocations: 0.6086 MB / 495.7 MB, free: 2.031 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/0.3502, allocations: 8.312 kB / 495.7 MB, free: 2.023 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004867/0.3507, allocations: 273.1 kB / 495.9 MB, free: 1.738 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.094e-06/0.3507, allocations: 4 kB / 495.9 MB, free: 1.734 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.002287/0.353, allocations: 0.8344 MB / 496.8 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.3531, allocations: 85.11 kB / 496.9 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.3534, allocations: 275.6 kB / 497.1 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.3534, allocations: 33.7 kB / 497.2 MB, free: 468 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.3536, allocations: 220.3 kB / 497.4 MB, free: 240 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.3537, allocations: 134 kB / 497.5 MB, free: 104 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/0.3537, allocations: 12 kB / 497.5 MB, free: 92 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.3539, allocations: 350.8 kB / 497.9 MB, free: 15.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.3541, allocations: 121.1 kB / 498 MB, free: 15.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.3544, allocations: 244.1 kB / 498.2 MB, free: 15.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.3547, allocations: 140 kB / 498.3 MB, free: 15.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3547, allocations: 0 / 498.3 MB, free: 15.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008576/0.3556, allocations: 0.5055 MB / 498.9 MB, free: 14.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.3556, allocations: 14.77 kB / 498.9 MB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3556, allocations: 0 / 498.9 MB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004686/0.3561, allocations: 157.1 kB / 499 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.3563, allocations: 59.91 kB / 499.1 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/0.3591, allocations: 2.35 MB / 0.4897 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.3594, allocations: 39.69 kB / 0.4897 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/0.3594, allocations: 16 kB / 0.4897 GB, free: 11.92 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.0002677/0.3597, allocations: 174.3 kB / 0.4899 GB, free: 11.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.498e-05/0.3598, allocations: 43.53 kB / 0.4899 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.3599, allocations: 52.3 kB / 0.49 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3599, allocations: 4 kB / 0.49 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3599, allocations: 0 / 0.49 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.3599, allocations: 3.984 kB / 0.49 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.3613, allocations: 1.014 MB / 0.491 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3613, allocations: 0 / 0.491 GB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.3615, allocations: 47.91 kB / 0.491 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003821/0.3619, allocations: 140.7 kB / 0.4912 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.362, allocations: 8 kB / 0.4912 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00269/0.3647, allocations: 2.328 MB / 0.4934 GB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3647, allocations: 0 / 0.4934 GB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.3658, allocations: 0.7194 MB / 0.4942 GB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.366, allocations: 148.6 kB / 0.4943 GB, free: 7.008 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.982e-05/0.366, allocations: 8 kB / 0.4943 GB, free: 7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.3663, allocations: 15.98 kB / 0.4943 GB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.389e-05/0.3664, allocations: 31.95 kB / 0.4943 GB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.3664, allocations: 15.98 kB / 0.4944 GB, free: 6.938 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002256/0.3666, allocations: 219.1 kB / 0.4946 GB, free: 6.727 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3666, allocations: 4 kB / 0.4946 GB, free: 6.723 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005899/0.3672, allocations: 143.7 kB / 0.4947 GB, free: 6.582 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.001438/0.3687, allocations: 1.286 MB / 0.496 GB, free: 5.266 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000953/0.3696, allocations: 0.5377 MB / 0.4965 GB, free: 4.715 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.3697, allocations: 7.922 kB / 0.4965 GB, free: 4.707 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005066/0.3702, allocations: 370.8 kB / 0.4969 GB, free: 4.332 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.3706, allocations: 80.89 kB / 0.4969 GB, free: 4.254 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002818/0.3734, allocations: 3.658 MB / 0.5005 GB, free: 500 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1748/0.5482, allocations: 0.8343 MB / 0.5013 GB, free: 99.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002616/0.5485, allocations: 35.33 kB / 0.5014 GB, free: 99.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003153/0.5488, allocations: 136.9 kB / 0.5015 GB, free: 99.25 MB / 378.7 MB Notification: Performance of SimCode: time 1.393e-06/0.5488, allocations: 0 / 0.5015 GB, free: 99.25 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.5745, allocations: 9.464 MB / 0.5107 GB, free: 98.1 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/0.5747, allocations: 254.6 kB / 0.511 GB, free: 97.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.17/2.744, allocations: 0 / 0.511 GB, free: 97.77 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat does not exist to compare? outputFormat=mat