Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",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.00134/0.00134, allocations: 177.1 kB / 8.35 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.344/1.344, allocations: 221.5 MB / 230.3 MB, free: 7.523 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.0008877/0.0008876, allocations: 90.98 kB / 281.2 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.497e-05/1.501e-05, allocations: 0 / 337.1 MB, free: 9.906 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08179/0.08182, allocations: 50.43 MB / 387.6 MB, free: 7.438 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3083/0.3902, allocations: 83.68 MB / 471.3 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.3905, allocations: 83.95 kB / 471.3 MB, free: 10.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03504/0.4255, allocations: 13.69 MB / 485 MB, free: 13.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4255, allocations: 3.938 kB / 485 MB, free: 13.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.991e-05/0.4256, allocations: 16 kB / 485 MB, free: 13.09 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001458/0.4271, allocations: 0.9525 MB / 486 MB, free: 12.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.4271, allocations: 12.03 kB / 486 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.4273, allocations: 90.88 kB / 486.1 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009782/0.4282, allocations: 0.6131 MB / 486.7 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.4283, allocations: 20 kB / 486.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.582e-05/0.4284, allocations: 43.98 kB / 486.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001034/0.4294, allocations: 0.6742 MB / 487.5 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.4306, allocations: 0.7957 MB / 488.2 MB, free: 9.766 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.4306, allocations: 0 / 488.2 MB, free: 9.766 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.622e-05/0.4307, allocations: 0 / 488.2 MB, free: 9.766 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.654e-05/0.4307, allocations: 37.3 kB / 488.3 MB, free: 9.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003717/0.4345, allocations: 2.712 MB / 491 MB, free: 6.922 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007169/0.4352, allocations: 0.6904 MB / 491.7 MB, free: 6.168 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004403/0.4356, allocations: 320 kB / 492 MB, free: 5.855 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.4357, allocations: 4.328 kB / 492 MB, free: 5.852 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004804/0.4362, allocations: 342 kB / 492.3 MB, free: 5.496 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.334e-06/0.4362, allocations: 0 / 492.3 MB, free: 5.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.001044/0.4372, allocations: 0.622 MB / 493 MB, free: 4.863 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/0.4373, allocations: 114.8 kB / 493.1 MB, free: 4.727 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005018/0.4378, allocations: 469.2 kB / 493.5 MB, free: 4.262 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.4379, allocations: 29.73 kB / 493.6 MB, free: 4.227 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002276/0.4381, allocations: 351.8 kB / 493.9 MB, free: 3.879 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.4382, allocations: 134.1 kB / 494 MB, free: 3.746 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/0.4383, allocations: 0 / 494 MB, free: 3.746 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4384, allocations: 366.8 kB / 494.4 MB, free: 3.379 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/0.4387, allocations: 189 kB / 494.6 MB, free: 3.195 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003293/0.439, allocations: 319.8 kB / 494.9 MB, free: 2.828 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002837/0.4393, allocations: 215.7 kB / 495.1 MB, free: 2.617 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/0.4393, allocations: 4 kB / 495.1 MB, free: 2.613 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009161/0.4402, allocations: 0.6456 MB / 495.7 MB, free: 1.957 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.4403, allocations: 17.59 kB / 495.8 MB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.4403, allocations: 8 kB / 495.8 MB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000493/0.4408, allocations: 192.7 kB / 496 MB, free: 1.742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.4411, allocations: 75.89 kB / 496 MB, free: 1.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002671/0.4438, allocations: 2.577 MB / 498.6 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/0.4441, allocations: 47.7 kB / 498.7 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.306e-05/0.4442, allocations: 16 kB / 498.7 MB, free: 14.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 12 ($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.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.4443, allocations: 124.8 kB / 498.8 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009836/0.4453, allocations: 0.626 MB / 499.4 MB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.42e-05/0.4454, allocations: 59.33 kB / 499.5 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.4456, allocations: 57.3 kB / 499.5 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.4456, allocations: 8 kB / 499.5 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.4456, allocations: 3.938 kB / 499.5 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.4456, allocations: 7.969 kB / 499.6 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.4475, allocations: 1.452 MB / 0.4893 GB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4475, allocations: 3.953 kB / 0.4893 GB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.4478, allocations: 55.94 kB / 0.4893 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003831/0.4482, allocations: 192.7 kB / 0.4895 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.4482, allocations: 0 / 0.4895 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002609/0.4508, allocations: 2.56 MB / 0.492 GB, free: 9.586 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4508, allocations: 3.938 kB / 0.492 GB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.4521, allocations: 1.015 MB / 0.493 GB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/0.4523, allocations: 188.4 kB / 0.4932 GB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.001e-05/0.4524, allocations: 8 kB / 0.4932 GB, free: 8.324 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.4527, allocations: 27.91 kB / 0.4932 GB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.829e-05/0.4528, allocations: 43.89 kB / 0.4933 GB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.4529, allocations: 15.98 kB / 0.4933 GB, free: 8.238 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004153/0.4533, allocations: 366.9 kB / 0.4936 GB, free: 7.883 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4533, allocations: 0 / 0.4936 GB, free: 7.883 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006624/0.454, allocations: 195.2 kB / 0.4938 GB, free: 7.691 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001548/0.4555, allocations: 1.651 MB / 0.4954 GB, free: 6.004 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009072/0.4565, allocations: 0.6492 MB / 0.4961 GB, free: 5.344 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.4565, allocations: 0 / 0.4961 GB, free: 5.344 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005269/0.457, allocations: 430.3 kB / 0.4965 GB, free: 4.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005318/0.4575, allocations: 117.4 kB / 0.4966 GB, free: 4.793 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002056/0.4596, allocations: 1.26 MB / 0.4978 GB, free: 3.488 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006094/0.4602, allocations: 1.089 MB / 0.4989 GB, free: 2.367 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002326/0.4605, allocations: 92.64 kB / 0.499 GB, free: 2.273 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/0.4608, allocations: 239.4 kB / 0.4992 GB, free: 2.039 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4608, allocations: 0 / 0.4992 GB, free: 2.039 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03317/0.494, allocations: 13.2 MB / 0.5121 GB, free: 4.969 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/0.4942, allocations: 196.1 kB / 0.5123 GB, free: 4.77 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.172/2.666, allocations: 4 kB / 0.5123 GB, free: 4.766 MB / 394.7 MB (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse.fmu > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat does not exist to compare? outputFormat=mat