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.001508/0.001508, allocations: 180.2 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.347/1.347, allocations: 223.2 MB / 240.3 MB, free: 11.89 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.0008346/0.0008346, allocations: 88.17 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002628/0.0002628, allocations: 8 kB / 351.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2302, allocations: 50.41 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09853/0.3288, allocations: 84.42 MB / 486 MB, free: 12.01 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.3291, allocations: 85.05 kB / 486.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03625/0.3653, allocations: 13.8 MB / 499.9 MB, free: 14.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3654, allocations: 0 / 499.9 MB, free: 14.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.813e-05/0.3654, allocations: 20.16 kB / 499.9 MB, free: 14 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00216/0.3676, allocations: 1.061 MB / 0.4892 GB, free: 12.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.3676, allocations: 8.031 kB / 0.4892 GB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002342/0.3679, allocations: 110.5 kB / 0.4894 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.3681, allocations: 94.97 kB / 0.4894 GB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.3692, allocations: 0.6187 MB / 0.49 GB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.261e-05/0.3693, allocations: 49.25 kB / 0.4901 GB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.3694, allocations: 64 kB / 0.4902 GB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.3709, allocations: 0.9114 MB / 0.491 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.3709, allocations: 3.984 kB / 0.4911 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.182e-05/0.371, allocations: 28 kB / 0.4911 GB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.973e-05/0.3711, allocations: 33.23 kB / 0.4911 GB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.3724, allocations: 0.7663 MB / 0.4919 GB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004319/0.3768, allocations: 2.842 MB / 0.4946 GB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008944/0.3777, allocations: 0.7408 MB / 0.4954 GB, free: 6.367 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/0.3777, allocations: 4.328 kB / 0.4954 GB, free: 6.363 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006058/0.3783, allocations: 385 kB / 0.4957 GB, free: 5.969 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.074e-06/0.3783, allocations: 0 / 0.4957 GB, free: 5.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.002686/0.381, allocations: 1.236 MB / 0.4969 GB, free: 4.703 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.3811, allocations: 93.05 kB / 0.497 GB, free: 4.594 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006257/0.3817, allocations: 0.5089 MB / 0.4975 GB, free: 4.078 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.3818, allocations: 37.7 kB / 0.4976 GB, free: 4.035 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002646/0.3821, allocations: 359.9 kB / 0.4979 GB, free: 3.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.3822, allocations: 130.1 kB / 0.498 GB, free: 3.551 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.3822, allocations: 12 kB / 0.498 GB, free: 3.539 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3824, allocations: 362.8 kB / 0.4984 GB, free: 3.176 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/0.3828, allocations: 232.9 kB / 0.4986 GB, free: 2.949 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004397/0.3832, allocations: 348.1 kB / 0.4989 GB, free: 2.559 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004193/0.3836, allocations: 247.8 kB / 0.4992 GB, free: 2.316 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3837, allocations: 0 / 0.4992 GB, free: 2.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001286/0.385, allocations: 0.7631 MB / 0.4999 GB, free: 1.543 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.385, allocations: 8 kB / 0.4999 GB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.385, allocations: 7.984 kB / 0.4999 GB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005382/0.3856, allocations: 196.7 kB / 0.5001 GB, free: 1.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.3859, allocations: 75.89 kB / 0.5002 GB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2084/0.5944, allocations: 2.73 MB / 0.5029 GB, free: 95.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005639/0.5949, allocations: 57.78 kB / 0.5029 GB, free: 95.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-05/0.5951, allocations: 20.62 kB / 0.5029 GB, free: 95.19 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: 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 () * Number of clocked 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.0006683/0.5957, allocations: 322.4 kB / 0.5032 GB, free: 95.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.5959, allocations: 65.8 kB / 0.5033 GB, free: 95.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001942/0.5961, allocations: 66.02 kB / 0.5034 GB, free: 95.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.5961, allocations: 8.734 kB / 0.5034 GB, free: 95.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5962, allocations: 0 / 0.5034 GB, free: 95.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.5962, allocations: 1.922 kB / 0.5034 GB, free: 95.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00265/0.5988, allocations: 1.536 MB / 0.5049 GB, free: 94.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.5988, allocations: 0 / 0.5049 GB, free: 94.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.5991, allocations: 47.88 kB / 0.5049 GB, free: 94.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004887/0.5996, allocations: 196.1 kB / 0.5051 GB, free: 94.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-05/0.5997, allocations: 11.12 kB / 0.5051 GB, free: 94.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002915/0.6026, allocations: 2.725 MB / 0.5078 GB, free: 93.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6026, allocations: 0 / 0.5078 GB, free: 93.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.6041, allocations: 1.114 MB / 0.5089 GB, free: 93.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003071/0.6044, allocations: 194.8 kB / 0.5091 GB, free: 93.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.507e-05/0.6045, allocations: 11.72 kB / 0.5091 GB, free: 93.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/0.6048, allocations: 27.09 kB / 0.5091 GB, free: 93.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.6049, allocations: 46.53 kB / 0.5091 GB, free: 93.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/0.6049, allocations: 14.55 kB / 0.5092 GB, free: 93.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004342/0.6054, allocations: 416.4 kB / 0.5095 GB, free: 92.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6054, allocations: 1.312 kB / 0.5095 GB, free: 92.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007105/0.6061, allocations: 211.5 kB / 0.5098 GB, free: 92.95 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: 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) * Number of clocked states: 0 () * 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.001526/0.6076, allocations: 1.687 MB / 0.5114 GB, free: 91.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.6088, allocations: 0.7339 MB / 0.5121 GB, free: 91.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.6088, allocations: 0 / 0.5121 GB, free: 91.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005558/0.6093, allocations: 474.6 kB / 0.5126 GB, free: 91.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005581/0.6099, allocations: 134.4 kB / 0.5127 GB, free: 91.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003567/0.6135, allocations: 4.472 MB / 0.5171 GB, free: 87.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005604/0.6141, allocations: 1.084 MB / 0.5181 GB, free: 87.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002811/0.6143, allocations: 93.91 kB / 0.5182 GB, free: 87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000311/0.6147, allocations: 240.8 kB / 0.5184 GB, free: 86.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6147, allocations: 0 / 0.5184 GB, free: 86.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02667/0.6414, allocations: 14.64 MB / 0.5327 GB, free: 77.96 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/0.6416, allocations: 273 kB / 0.533 GB, free: 77.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.188/2.83, allocations: 3.938 kB / 0.533 GB, free: 77.59 MB / 378.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