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.001185/0.001185, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 221.5 MB / 230.3 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009459/0.0009458, allocations: 90.83 kB / 281.2 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.185e-05/2.187e-05, allocations: 4 kB / 337.1 MB, free: 9.91 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1065, allocations: 50.43 MB / 387.6 MB, free: 7.449 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.342/0.4486, allocations: 84.39 MB / 472 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.449, allocations: 83.95 kB / 472.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0632/0.5122, allocations: 21.4 MB / 493.5 MB, free: 4.699 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5123, allocations: 0 / 493.5 MB, free: 4.699 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.239e-05/0.5124, allocations: 27.94 kB / 493.5 MB, free: 4.672 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002842/0.5152, allocations: 1.39 MB / 494.9 MB, free: 3.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.5153, allocations: 12.03 kB / 494.9 MB, free: 3.219 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003168/0.5156, allocations: 150.2 kB / 495 MB, free: 3.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.5171, allocations: 0.9454 MB / 496 MB, free: 2.082 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/0.5172, allocations: 32 kB / 496 MB, free: 2.051 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.5173, allocations: 71.98 kB / 496.1 MB, free: 1.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002008/0.5194, allocations: 1.211 MB / 497.3 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.5215, allocations: 1.326 MB / 498.6 MB, free: 15.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.5215, allocations: 11.84 kB / 498.6 MB, free: 15.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.366e-05/0.5216, allocations: 3.984 kB / 498.6 MB, free: 15.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-05/0.5217, allocations: 42.05 kB / 498.7 MB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007939/0.5297, allocations: 4.789 MB / 0.4917 GB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.5313, allocations: 1.381 MB / 0.493 GB, free: 8.844 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.5324, allocations: 0.6769 MB / 0.4937 GB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.944e-05/0.5325, allocations: 4.562 kB / 0.4937 GB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008303/0.5333, allocations: 0.5579 MB / 0.4942 GB, free: 7.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=72): time 2.235e-06/0.5333, allocations: 0 / 0.4942 GB, free: 7.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=72): time 0.00203/0.5354, allocations: 1.133 MB / 0.4953 GB, free: 6.441 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.5355, allocations: 89.89 kB / 0.4954 GB, free: 6.336 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.5366, allocations: 0.7539 MB / 0.4961 GB, free: 5.578 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.626e-05/0.5366, allocations: 25.7 kB / 0.4962 GB, free: 5.547 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005288/0.5372, allocations: 0.5191 MB / 0.4967 GB, free: 5.016 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/0.5374, allocations: 224.7 kB / 0.4969 GB, free: 4.793 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.5375, allocations: 0 / 0.4969 GB, free: 4.793 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.5376, allocations: 334 kB / 0.4972 GB, free: 4.461 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004906/0.5381, allocations: 357.4 kB / 0.4976 GB, free: 4.109 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006226/0.5387, allocations: 0.4933 MB / 0.498 GB, free: 3.566 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000543/0.5393, allocations: 401.9 kB / 0.4984 GB, free: 3.176 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.5393, allocations: 3.953 kB / 0.4984 GB, free: 3.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001835/0.5411, allocations: 1.136 MB / 0.4995 GB, free: 2.027 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.5412, allocations: 8 kB / 0.4995 GB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.5412, allocations: 4 kB / 0.4995 GB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008962/0.5421, allocations: 391.1 kB / 0.4999 GB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005944/0.5427, allocations: 115.9 kB / 0.5 GB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005044/0.5478, allocations: 4.012 MB / 0.5039 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007577/0.5486, allocations: 67.48 kB / 0.504 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.633e-05/0.5487, allocations: 24.06 kB / 0.504 GB, free: 13.29 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 (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.0002445/0.5489, allocations: 134.5 kB / 0.5042 GB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001772/0.5507, allocations: 1.128 MB / 0.5053 GB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.5508, allocations: 90.92 kB / 0.5053 GB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003185/0.5512, allocations: 108.5 kB / 0.5055 GB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.5512, allocations: 12 kB / 0.5055 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.5512, allocations: 0 / 0.5055 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/0.5512, allocations: 7.922 kB / 0.5055 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003589/0.5548, allocations: 2.319 MB / 0.5077 GB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.5548, allocations: 4 kB / 0.5077 GB, free: 9.422 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000447/0.5553, allocations: 91.88 kB / 0.5078 GB, free: 9.332 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008308/0.5561, allocations: 384.5 kB / 0.5082 GB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-05/0.5562, allocations: 7.922 kB / 0.5082 GB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004862/0.5611, allocations: 3.972 MB / 0.5121 GB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5611, allocations: 0 / 0.5121 GB, free: 4.852 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002621/0.5637, allocations: 1.779 MB / 0.5138 GB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005846/0.5644, allocations: 287.8 kB / 0.5141 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.5645, allocations: 0 / 0.5141 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004526/0.5649, allocations: 39.95 kB / 0.5141 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/0.5652, allocations: 80.59 kB / 0.5142 GB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.404e-05/0.5652, allocations: 23.98 kB / 0.5142 GB, free: 2.613 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008558/0.5661, allocations: 0.5928 MB / 0.5148 GB, free: 2.023 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5661, allocations: 0 / 0.5148 GB, free: 2.023 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001106/0.5672, allocations: 322.9 kB / 0.5151 GB, free: 1.707 MB / 394.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 (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.0028/0.57, allocations: 2.377 MB / 0.5174 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001991/0.572, allocations: 1.145 MB / 0.5186 GB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5721, allocations: 256 / 0.5186 GB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.5732, allocations: 0.734 MB / 0.5193 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.5744, allocations: 204.8 kB / 0.5195 GB, free: 13.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004963/0.5794, allocations: 2.2 MB / 0.5216 GB, free: 10.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/0.5806, allocations: 1.403 MB / 0.523 GB, free: 9.523 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000584/0.5812, allocations: 162.9 kB / 0.5231 GB, free: 9.359 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005428/0.5817, allocations: 411.3 kB / 0.5235 GB, free: 8.957 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5817, allocations: 0 / 0.5235 GB, free: 8.957 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05252/0.6343, allocations: 23.2 MB / 0.5462 GB, free: 1.965 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/0.6345, allocations: 205.5 kB / 0.5464 GB, free: 1.695 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.369/3.003, allocations: 5.766 kB / 0.5464 GB, free: 1.695 MB / 426.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