Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001303/0.001303, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008163/0.0008162, allocations: 94.36 kB / 262.5 MB, free: 1.676 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.779e-05/1.783e-05, allocations: 4 kB / 315.6 MB, free: 22.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09655/0.09659, allocations: 47.58 MB / 363.2 MB, free: 6.965 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3221/0.4188, allocations: 83.53 MB / 446.7 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.4191, allocations: 88 kB / 446.8 MB, free: 11.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05137/0.4705, allocations: 20.92 MB / 467.7 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4705, allocations: 0 / 467.7 MB, free: 10.47 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.504e-05/0.4706, allocations: 31.94 kB / 467.7 MB, free: 10.44 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.002317/0.4729, allocations: 1.369 MB / 469.1 MB, free: 9.098 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.473, allocations: 8.031 kB / 469.1 MB, free: 9.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.4732, allocations: 154.2 kB / 469.3 MB, free: 8.938 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.4746, allocations: 0.9505 MB / 470.2 MB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.643e-05/0.4746, allocations: 35.5 kB / 470.3 MB, free: 8.117 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.4748, allocations: 60 kB / 470.3 MB, free: 8.059 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001675/0.4765, allocations: 1.218 MB / 471.5 MB, free: 7.316 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001822/0.4783, allocations: 1.331 MB / 472.9 MB, free: 6.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.4783, allocations: 7.938 kB / 472.9 MB, free: 6.312 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.881e-05/0.4784, allocations: 7.938 kB / 472.9 MB, free: 6.305 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.785e-05/0.4785, allocations: 45.78 kB / 472.9 MB, free: 6.262 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005955/0.4844, allocations: 4.765 MB / 477.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.4857, allocations: 1.377 MB / 479.1 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009083/0.4866, allocations: 0.6803 MB / 479.8 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.684e-05/0.4867, allocations: 8.516 kB / 479.8 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007744/0.4875, allocations: 0.5503 MB / 480.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 2.364e-06/0.4875, allocations: 0 / 480.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.001712/0.4892, allocations: 1.129 MB / 481.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.4893, allocations: 97.83 kB / 481.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009083/0.4902, allocations: 0.7577 MB / 482.3 MB, free: 13.78 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.286e-05/0.4903, allocations: 29.69 kB / 482.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004398/0.4907, allocations: 0.5191 MB / 482.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.4909, allocations: 212.7 kB / 483 MB, free: 13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.491, allocations: 4 kB / 483.1 MB, free: 13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.4911, allocations: 333.9 kB / 483.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004745/0.4916, allocations: 369.4 kB / 483.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005345/0.4922, allocations: 497.2 kB / 484.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004921/0.4927, allocations: 405.9 kB / 484.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.4927, allocations: 0 / 484.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001526/0.4942, allocations: 1.132 MB / 485.8 MB, free: 10.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.4943, allocations: 12.39 kB / 485.8 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.4943, allocations: 8 kB / 485.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000817/0.4951, allocations: 379.2 kB / 486.1 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004921/0.4956, allocations: 115.8 kB / 486.3 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00478/0.5004, allocations: 4.005 MB / 490.3 MB, free: 5.602 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007122/0.5011, allocations: 67.48 kB / 490.3 MB, free: 5.535 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.874e-05/0.5012, allocations: 28.05 kB / 490.4 MB, free: 5.508 MB / 362.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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.0002085/0.5014, allocations: 134.7 kB / 490.5 MB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001694/0.5031, allocations: 1.132 MB / 491.6 MB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.5032, allocations: 86.97 kB / 491.7 MB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003179/0.5036, allocations: 112.5 kB / 491.8 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.5036, allocations: 12 kB / 491.8 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.5036, allocations: 0 / 491.8 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.5036, allocations: 7.922 kB / 491.8 MB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003478/0.5071, allocations: 2.327 MB / 494.2 MB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.5071, allocations: 0 / 494.2 MB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004464/0.5076, allocations: 83.88 kB / 494.2 MB, free: 1.547 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007896/0.5084, allocations: 380.6 kB / 494.6 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.941e-05/0.5084, allocations: 7.984 kB / 494.6 MB, free: 1.164 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004652/0.5131, allocations: 3.96 MB / 498.6 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.5132, allocations: 128 / 498.6 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/0.5156, allocations: 1.799 MB / 0.4887 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005045/0.5161, allocations: 283.8 kB / 0.4889 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.5162, allocations: 0 / 0.4889 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000437/0.5167, allocations: 43.95 kB / 0.489 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/0.5169, allocations: 72.66 kB / 0.489 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/0.5169, allocations: 19.98 kB / 0.4891 GB, free: 10.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008114/0.5177, allocations: 0.5967 MB / 0.4896 GB, free: 10.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5178, allocations: 0 / 0.4896 GB, free: 10.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001028/0.5188, allocations: 322.9 kB / 0.4899 GB, free: 9.93 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: 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,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.002581/0.5214, allocations: 2.363 MB / 0.4922 GB, free: 7.531 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001726/0.5231, allocations: 1.145 MB / 0.4934 GB, free: 6.371 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5231, allocations: 0 / 0.4934 GB, free: 6.371 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009533/0.5241, allocations: 0.731 MB / 0.4941 GB, free: 5.629 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009371/0.525, allocations: 205 kB / 0.4943 GB, free: 5.434 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004422/0.5295, allocations: 2.367 MB / 0.4966 GB, free: 3.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000916/0.5304, allocations: 1.407 MB / 0.498 GB, free: 1.586 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004989/0.5309, allocations: 162.9 kB / 0.4981 GB, free: 1.422 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005054/0.5314, allocations: 411.3 kB / 0.4985 GB, free: 1.02 MB / 378.7 MB Notification: Performance of SimCode: time 8.21e-07/0.5314, allocations: 0 / 0.4985 GB, free: 1.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05253/0.584, allocations: 23.2 MB / 0.5212 GB, free: 9.781 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/0.5843, allocations: 198.8 kB / 0.5214 GB, free: 9.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.437/3.021, allocations: 0 / 0.5214 GB, free: 9.52 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse.fmu > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat does not exist to compare? outputFormat=mat